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/general.h | 78 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'kppp/general.h') diff --git a/kppp/general.h b/kppp/general.h index 9fc22105..29d77738 100644 --- a/kppp/general.h +++ b/kppp/general.h @@ -25,22 +25,22 @@ #ifndef _GENERAL_H_ #define _GENERAL_H_ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include class QSlider; class KIntNumInput; class ModemCommands; -class GeneralWidget : public QWidget { +class GeneralWidget : public TQWidget { Q_OBJECT public: - GeneralWidget( QWidget *parent=0, const char *name=0 ); + GeneralWidget( TQWidget *parent=0, const char *name=0 ); private slots: void pppdtimeoutchanged(int); @@ -55,39 +55,39 @@ private slots: }; -class ModemWidget : public QWidget { +class ModemWidget : public TQWidget { Q_OBJECT public: - ModemWidget(QWidget *parent=0, bool isnewmodem=true, const char *name=0); + ModemWidget(TQWidget *parent=0, bool isnewmodem=true, const char *name=0); bool save(); - QLineEdit *connectName() { return connectname_l;} + TQLineEdit *connectName() { return connectname_l;} private slots: private: - QLineEdit *connectname_l; - QLabel *connect_label; + TQLineEdit *connectname_l; + TQLabel *connect_label; - QComboBox *enter; - QLabel *label1; - QLabel *label2; - QLabel *labeltmp; - QLabel *labelenter; - QComboBox *modemdevice; - QComboBox *flowcontrol; + TQComboBox *enter; + TQLabel *label1; + TQLabel *label2; + TQLabel *labeltmp; + TQLabel *labelenter; + TQComboBox *modemdevice; + TQComboBox *flowcontrol; - QComboBox *baud_c; - QLabel *baud_label; + TQComboBox *baud_c; + TQLabel *baud_label; KIntNumInput *modemtimeout; - QCheckBox *modemlockfile; - QStringList flowListItem; + TQCheckBox *modemlockfile; + TQStringList flowListItem; }; -class ModemWidget2 : public QWidget { +class ModemWidget2 : public TQWidget { Q_OBJECT public: - ModemWidget2(QWidget *parent=0, const char *name=0); + ModemWidget2(TQWidget *parent=0, const char *name=0); bool save(); private slots: @@ -97,33 +97,33 @@ private slots: void query_modem(); private: - QLabel *labeltmp; - QPushButton *modemcmds; - QPushButton *modeminfo_button; - QPushButton *terminal_button; - QFrame *fline; - QCheckBox *waitfordt; + TQLabel *labeltmp; + TQPushButton *modemcmds; + TQPushButton *modeminfo_button; + TQPushButton *terminal_button; + TQFrame *fline; + TQCheckBox *waitfordt; KIntNumInput *busywait; - QCheckBox *chkbox1; - QSlider *volume; + TQCheckBox *chkbox1; + TQSlider *volume; ModemCommands* mc; }; -class GraphSetup : public QWidget { +class GraphSetup : public TQWidget { Q_OBJECT public: - GraphSetup(QWidget *parent = 0, const char *name = 0); + GraphSetup(TQWidget *parent = 0, const char *name = 0); private slots: void enableToggled(bool); - void colorChanged(const QColor &); + void colorChanged(const TQColor &); private: void save(); - QGroupBox *grpColor; - QCheckBox *enable_check; + TQGroupBox *grpColor; + TQCheckBox *enable_check; KColorButton *bg_color; KColorButton *text_color; -- cgit v1.2.1