From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kppp/connect.h | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'kppp/connect.h') 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 +#include #include -#include -#include +#include +#include #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 -- cgit v1.2.1