Menu

[04607a]: / doorclient.h  Maximize  Restore  History

Download this file

34 lines (19 with data), 514 Bytes

 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
27
28
29
30
31
32
33
#ifndef HTTPWIDGETCLIENT_H
#define HTTPWIDGETCLIENT_H
#include <QTcpSocket>
class DoorClient : QObject {
Q_OBJECT
protected:
QTcpSocket* m_socket;
QTcpSocket m_redirectPort;
static int m_instanceCount;
public:
DoorClient( QTcpSocket* , QString redirectHost , int redirectPort );
virtual ~DoorClient();
public slots:
void fromArrived();
void fromDisconnected();
void toArrived();
void toDisconnected();
};
#endif // HTTPWIDGETCLIENT_H