summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/remotectrlimpl.h
blob: a48d5431f83157196d90fb7c4bf320b8c2b0d0b6 (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 TQSocket;

class RemoteCtrlImpl : public RemoteCtrl
{
    TQ_OBJECT

public:
    RemoteCtrlImpl( TQSocket * );

private slots:
    void sendImage();
    void sendText();
    void sendPalette();

private:
    void sendPacket( const TQVariant & );

    TQSocket *socket;
};

#endif // REMOTECTRLIMPL_H