aboutsummaryrefslogtreecommitdiff
path: root/xT/xTq.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-13 06:37:21 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-01-12 11:02:42 +0100
commitc1abf750bad9428b1b92fdcdd4691723916f805c (patch)
treeec71f04d968f37cde3f2bc2e7d3c88f58f554974 /xT/xTq.h
parentfd247d070ac4a5fe5d5e08a5529e907cf15dcdc4 (diff)
downloadxK-c1abf750bad9428b1b92fdcdd4691723916f805c.tar.gz
xK-c1abf750bad9428b1b92fdcdd4691723916f805c.tar.xz
xK-c1abf750bad9428b1b92fdcdd4691723916f805c.zip
WIP: Add a Qt Quick frontend for xCHEADmaster
We have to decouple the UI from the relay code.
Diffstat (limited to 'xT/xTq.h')
-rw-r--r--xT/xTq.h15
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