diff options
Diffstat (limited to 'examples/network/remotecontrol/remotectrlimpl.h')
-rw-r--r-- | examples/network/remotecontrol/remotectrlimpl.h | 26 |
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 |