summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/remotectrlimpl.h
blob: 382c9df7fc56ed4f3518d4feb37ff99b184dfee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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