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> | 2024-12-19 05:15:00 +0100 |
commit | c8c3d8641f72e979cd7da11901b6a2ae0745de0b (patch) | |
tree | e8116fc4583a76f35d3a6b8bcf49e0d96b035b81 /xT/xTq.h | |
parent | e5f6ac40b7dd5c3b9b6d7fbc3e54d71126eda220 (diff) | |
download | xK-c8c3d8641f72e979cd7da11901b6a2ae0745de0b.tar.gz xK-c8c3d8641f72e979cd7da11901b6a2ae0745de0b.tar.xz xK-c8c3d8641f72e979cd7da11901b6a2ae0745de0b.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 |