summaryrefslogtreecommitdiffstats
path: root/src/openvpnmanagementhandler.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
commit1b89319fd93b88313cab40f1e9de24c067b04efb (patch)
tree80132996de993c3dcab4040864d7729842875b2d /src/openvpnmanagementhandler.h
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
Diffstat (limited to 'src/openvpnmanagementhandler.h')
-rw-r--r--src/openvpnmanagementhandler.h19
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();