diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-12-13 06:37:21 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2025-07-09 22:15:14 +0200 |
commit | a3e06a1e186a134a541147403609f43daaf49a13 (patch) | |
tree | 5e993ba958c8012b07f1d9757fe6940dfa387bfa /xT/xTq.h | |
parent | f80f2d6162c87d1fda37f63d57ceac1a46ab4b22 (diff) | |
download | xK-a3e06a1e186a134a541147403609f43daaf49a13.tar.gz xK-a3e06a1e186a134a541147403609f43daaf49a13.tar.xz xK-a3e06a1e186a134a541147403609f43daaf49a13.zip |
We have to decouple the UI from the relay code.
Diffstat (limited to 'xT/xTq.h')
-rw-r--r-- | xT/xTq.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xT/xTq.h b/xT/xTq.h new file mode 100644 index 0000000..70a0374 --- /dev/null +++ b/xT/xTq.h @@ -0,0 +1,15 @@ +#ifndef XTQ_H +#define XTQ_H + +#include <QTcpSocket> +#include <QtQmlIntegration/qqmlintegration.h> + +class RelayConnection : public QObject { + Q_OBJECT + QML_ELEMENT + +public: + QTcpSocket *socket; ///< Buffered relay socket +}; + +#endif // XTQ_H |