summaryrefslogtreecommitdiffstats
path: root/kppp/connect.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/connect.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/connect.h')
-rw-r--r--kppp/connect.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/kppp/connect.h b/kppp/connect.h
index d6008c15..c387a84b 100644
--- a/kppp/connect.h
+++ b/kppp/connect.h
@@ -29,10 +29,10 @@
#ifndef _CONNECT_H_
#define _CONNECT_H_
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kpushbutton.h>
-#include <qlabel.h>
-#include <qevent.h>
+#include <tqlabel.h>
+#include <tqevent.h>
#include "kpppconfig.h"
#include "pwentry.h"
@@ -43,15 +43,15 @@
class PPPStats;
-class ConnectWidget : public QWidget {
+class ConnectWidget : public TQWidget {
Q_OBJECT
public:
- ConnectWidget(QWidget *parent, const char *name, PPPStats *st);
+ ConnectWidget(TQWidget *parent, const char *name, PPPStats *st);
~ConnectWidget();
public:
void set_con_speed_string();
- void setMsg(const QString &);
+ void setMsg(const TQString &);
void pppdDied();
// these are only necessary to prevent the user from clicking in the cancel
@@ -60,8 +60,8 @@ public:
void enableButtons();
protected:
- void timerEvent(QTimerEvent *);
- void closeEvent( QCloseEvent *e );
+ void timerEvent(TQTimerEvent *);
+ void closeEvent( TQCloseEvent *e );
private slots:
void readChar(unsigned char);
@@ -77,7 +77,7 @@ public slots:
signals:
void if_waiting_signal();
- void debugMessage(const QString &);
+ void debugMessage(const TQString &);
void toggleDebugWindow();
void closeDebugWindow();
void debugPutChar(unsigned char);
@@ -85,43 +85,43 @@ signals:
void stopAccounting();
public:
- QString myreadbuffer; // we want to keep every thing in order to fish for the
+ TQString myreadbuffer; // we want to keep every thing in order to fish for the
// connection speed later on
- QPushButton *debug;
+ TQPushButton *debug;
int main_timer_ID;
private:
int vmain;
int substate;
int scriptindex;
- QString scriptCommand, scriptArgument;
- QStringList *comlist, *arglist;
+ TQString scriptCommand, scriptArgument;
+ TQStringList *comlist, *arglist;
// static const int maxloopnest=(MAX_SCRIPT_ENTRIES/2);
int loopnest;
int loopstartindex[MAXLOOPNEST];
bool loopend;
- QString loopstr[MAXLOOPNEST];
+ TQString loopstr[MAXLOOPNEST];
bool semaphore;
- QTimer *inittimer;
+ TQTimer *inittimer;
- QTimer *timeout_timer;
+ TQTimer *timeout_timer;
bool execppp();
- void writeline(const QString &);
+ void writeline(const TQString &);
void checkBuffers();
- void setExpect(const QString &);
+ void setExpect(const TQString &);
bool expecting;
- QString expectstr;
+ TQString expectstr;
- QString readbuffer;
+ TQString readbuffer;
- void setScan(const QString &);
- QString scanvar;
- QString scanstr;
- QString scanbuffer;
+ void setScan(const TQString &);
+ TQString scanvar;
+ TQString scanstr;
+ TQString scanbuffer;
bool scanning;
bool pausing;
@@ -129,11 +129,11 @@ private:
LoginTerm *termwindow;
int scriptTimeout;
- QTimer *pausetimer;
- QTimer *if_timer;
- QTimer *if_timeout_timer;
+ TQTimer *pausetimer;
+ TQTimer *if_timer;
+ TQTimer *if_timeout_timer;
- QLabel *messg;
+ TQLabel *messg;
KPushButton *cancel;
bool firstrunID;
@@ -150,7 +150,7 @@ extern void killppp();
void adddns();
void addpeerdns();
void removedns();
-void add_domain(const QString & newdomain);
+void add_domain(const TQString & newdomain);
void auto_hostname();
#endif