websocket outline
This commit is contained in:
@@ -93,8 +93,13 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
rpc = new RPC(this);
|
||||
|
||||
restoreSavedStates();
|
||||
|
||||
createWebsocket();
|
||||
}
|
||||
|
||||
void MainWindow::createWebsocket() {
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::restoreSavedStates() {
|
||||
QSettings s;
|
||||
|
||||
@@ -102,6 +102,8 @@ private:
|
||||
|
||||
void restoreSavedStates();
|
||||
|
||||
void createWebsocket();
|
||||
|
||||
RPC* rpc = nullptr;
|
||||
QCompleter* labelCompleter = nullptr;
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#include <QtNetwork/QNetworkRequest>
|
||||
#include <QtNetwork/QNetworkAccessManager>
|
||||
#include <QtNetwork/QNetworkReply>
|
||||
#include <QtWebSockets/QtWebSockets>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonArray>
|
||||
#include <QJsonObject>
|
||||
|
||||
Reference in New Issue
Block a user