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-12-26 21:08:11 +0100
commit21c3fdab6c786a150f027c5c7506258c94e75330 (patch)
tree1265130f203807234595b12e4d5c74d1c5fdf4e1 /xT/xTq.h
parent2f31e8b31fec6118d257b59a3c12c1f91f4fdd78 (diff)
downloadxK-21c3fdab6c786a150f027c5c7506258c94e75330.tar.gz
xK-21c3fdab6c786a150f027c5c7506258c94e75330.tar.xz
xK-21c3fdab6c786a150f027c5c7506258c94e75330.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