Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QWebSocket>
|
||||
|
||||
class WlsJsonclientTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
WlsJsonclientTest(const QString &hostname, unsigned short port);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void run();
|
||||
void onConnected();
|
||||
void onClosed();
|
||||
void onTextMessageReceived(const QString &msg);
|
||||
private:
|
||||
QWebSocket *m_socket;
|
||||
QString m_hostname;
|
||||
unsigned short m_port;
|
||||
};
|
||||
Reference in new issue
Block a user