diff options
Diffstat (limited to 'kppp/connect.h')
-rw-r--r-- | kppp/connect.h | 58 |
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 |