summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/remotectrlimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/remotecontrol/remotectrlimpl.h')
-rw-r--r--examples/network/remotecontrol/remotectrlimpl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/network/remotecontrol/remotectrlimpl.h b/examples/network/remotecontrol/remotectrlimpl.h
new file mode 100644
index 0000000..382c9df
--- /dev/null
+++ b/examples/network/remotecontrol/remotectrlimpl.h
@@ -0,0 +1,26 @@
+#ifndef REMOTECTRLIMPL_H
+#define REMOTECTRLIMPL_H
+
+#include "remotectrl.h"
+
+class QSocket;
+
+class RemoteCtrlImpl : public RemoteCtrl
+{
+ Q_OBJECT
+
+public:
+ RemoteCtrlImpl( QSocket * );
+
+private slots:
+ void sendImage();
+ void sendText();
+ void sendPalette();
+
+private:
+ void sendPacket( const QVariant & );
+
+ QSocket *socket;
+};
+
+#endif // REMOTECTRLIMPL_H