Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
add visa card, start websocket inplementation
[staging/HomeScreen.git]
/
HomeScreen
/
src2
/
usermanagement.h
diff --git
a/HomeScreen/src2/usermanagement.h
b/HomeScreen/src2/usermanagement.h
index
804df22
..
099c991
100644
(file)
--- a/
HomeScreen/src2/usermanagement.h
+++ b/
HomeScreen/src2/usermanagement.h
@@
-4,6
+4,7
@@
#include <QObject>
#include "applicationmodel.h"
#include <QTimer>
#include <QObject>
#include "applicationmodel.h"
#include <QTimer>
+#include <QtWebSockets/QWebSocket>
class UserManagement : public QObject
{
Q_OBJECT
class UserManagement : public QObject
{
Q_OBJECT
@@
-14,6
+15,9
@@
signals:
public slots:
void slot_timerTest();
public slots:
void slot_timerTest();
+ void onConnected();
+ void onClosed();
+ void onTextMessageReceived(QString message);
private:
QObject *home;
QObject *shortcutArea;
private:
QObject *home;
QObject *shortcutArea;
@@
-21,6
+25,8
@@
private:
ApplicationModel *appModel;
QTimer timerTest;
QString currentLanguage;
ApplicationModel *appModel;
QTimer timerTest;
QString currentLanguage;
+ QWebSocket webSocket;
+ void connectWebsockets(const QUrl &url);
};
#endif // USERMANAGEMENT_H
};
#endif // USERMANAGEMENT_H