diff options
author | Philippe Lelong <lelong.ph@meltemus.com> | 2016-12-14 16:56:14 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-12-20 13:28:35 +0100 |
commit | 29be7bef7c0bb700af8992c73ab7a3c6d1fbdfce (patch) | |
tree | 51f06a664d6da7fa3e6e27d9778670660c8b9b95 /HomeScreen/src2/usermanagement.h | |
parent | 15e7b5003a6590f780cb115fb2bdb526ce68defc (diff) |
add visa card, start websocket inplementation
Diffstat (limited to 'HomeScreen/src2/usermanagement.h')
-rw-r--r-- | HomeScreen/src2/usermanagement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/HomeScreen/src2/usermanagement.h b/HomeScreen/src2/usermanagement.h index 804df22..099c991 100644 --- a/HomeScreen/src2/usermanagement.h +++ b/HomeScreen/src2/usermanagement.h @@ -4,6 +4,7 @@ #include <QObject> #include "applicationmodel.h" #include <QTimer> +#include <QtWebSockets/QWebSocket> class UserManagement : public QObject { Q_OBJECT @@ -14,6 +15,9 @@ signals: public slots: void slot_timerTest(); + void onConnected(); + void onClosed(); + void onTextMessageReceived(QString message); private: QObject *home; QObject *shortcutArea; @@ -21,6 +25,8 @@ private: ApplicationModel *appModel; QTimer timerTest; QString currentLanguage; + QWebSocket webSocket; + void connectWebsockets(const QUrl &url); }; #endif // USERMANAGEMENT_H |