aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreen/src2/usermanagement.h
blob: 099c9917b4956cc359de9a3d57f4560be72e2fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef USERMANAGEMENT_H
#define USERMANAGEMENT_H

#include <QObject>
#include "applicationmodel.h"
#include <QTimer>
#include <QtWebSockets/QWebSocket>
class UserManagement : public QObject
{
    Q_OBJECT
public:
    explicit UserManagement(QObject *home, QObject *shortcutArea, QObject *statusArea);

signals:

public slots:
    void slot_timerTest();
    void onConnected();
    void onClosed();
    void onTextMessageReceived(QString message);
private:
    QObject *home;
    QObject *shortcutArea;
    QObject *statusArea;
    ApplicationModel *appModel;
    QTimer timerTest;
    QString currentLanguage;
    QWebSocket webSocket;
    void connectWebsockets(const QUrl &url);
};

#endif // USERMANAGEMENT_H