15
15
* (at your option) any later version. *
17
17
***************************************************************************/
18
/* $Id: qgshelpserver.h 4234 2005-11-19 23:35:22Z gsherman $ */
19
19
#ifndef QGSHELPSERVER_H
20
20
#define QGSHELPSERVER_H
21
#include <q3serversocket.h>
25
25
* \class QgsHelpContextServer
26
26
* \brief Listens for localhost connection and creates socket.
28
class QgsHelpContextServer : public Q3ServerSocket
28
class QgsHelpContextServer : public QTcpServer
32
QgsHelpContextServer(QObject* parent = 0);
33
~QgsHelpContextServer();
34
virtual void newConnection(int socket);
37
void setContext(const QString&);
32
QgsHelpContextServer( QObject *parent = 0 );
33
~QgsHelpContextServer();
36
void incomingConnection( int socket );
39
void setContext( const QString& );
41
43
* \class QgsHelpContextSocket
42
44
* \brief Receives and passes context numbers to viewer.
44
class QgsHelpContextSocket : public Q3Socket
46
class QgsHelpContextSocket : public QTcpSocket
48
QgsHelpContextSocket(int socket, QObject *parent = 0);
49
~QgsHelpContextSocket();
52
void setContext(const QString&);
50
QgsHelpContextSocket( int socket, QObject *parent = 0 );
51
~QgsHelpContextSocket();
54
void setContext( const QString& );
58
60
#endif // QGSHELPSERVER_H