diff options
Diffstat (limited to 'src/openvpnmanagementhandler.h')
-rw-r--r-- | src/openvpnmanagementhandler.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/openvpnmanagementhandler.h b/src/openvpnmanagementhandler.h index 7f553ec..f074c90 100644 --- a/src/openvpnmanagementhandler.h +++ b/src/openvpnmanagementhandler.h @@ -21,25 +21,26 @@ #define OPENVPNMANAGEMENTHANDLER_H #include <stdlib.h> -#include <qsocket.h> -#include <qtimer.h> +#include <tqsocket.h> +#include <tqtimer.h> #include "kvpncconfig.h" -class QSocket; +class TQSocket; /** @author Christoph Thielecke <crissi99@gmx.de> */ -class OpenvpnManagementHandler : public QObject { +class OpenvpnManagementHandler : public TQObject { Q_OBJECT + TQ_OBJECT public: - OpenvpnManagementHandler(QObject *parent, KVpncConfig *GlobalConfig ); + OpenvpnManagementHandler(TQObject *parent, KVpncConfig *GlobalConfig ); ~OpenvpnManagementHandler(); void closeConnection(); bool isConnectedToManagementPort(); bool doConnect(); - QTimer greetingtimer; + TQTimer greetingtimer; bool socketReallyClosed; protected slots: @@ -52,15 +53,15 @@ class OpenvpnManagementHandler : public QObject { void greetingTimedOut(); public slots: - void sendToServer(QString cmd); + void sendToServer(TQString cmd); private: KVpncConfig *GlobalConfig; bool fInHold; bool gotGreeting; bool connectedToManagementPort; - QSocket *socket; - QString errormsg; + TQSocket *socket; + TQString errormsg; signals: void terminate_openvpn(); |