summaryrefslogtreecommitdiffstats
path: root/kppp/edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/edit.h')
-rw-r--r--kppp/edit.h160
1 files changed, 80 insertions, 80 deletions
diff --git a/kppp/edit.h b/kppp/edit.h
index 3b435c0b..b0412079 100644
--- a/kppp/edit.h
+++ b/kppp/edit.h
@@ -29,17 +29,17 @@
#ifndef _EDIT_H_
#define _EDIT_H_
-#include <qdialog.h>
-#include <qpushbutton.h>
-#include <qgroupbox.h>
-#include <qscrollbar.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
-#include <qlistbox.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
+#include <tqdialog.h>
+#include <tqpushbutton.h>
+#include <tqgroupbox.h>
+#include <tqscrollbar.h>
+#include <tqcombobox.h>
+#include <tqlineedit.h>
+#include <tqlistbox.h>
+#include <tqradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
#include <kdialogbase.h>
#include "scriptedit.h"
#include "kpppconfig.h"
@@ -47,10 +47,10 @@
class IPLineEdit;
-class DialWidget : public QWidget {
+class DialWidget : public TQWidget {
Q_OBJECT
public:
- DialWidget( QWidget *parent=0, bool isnewaccount = true, const char *name=0 );
+ DialWidget( TQWidget *parent=0, bool isnewaccount = true, const char *name=0 );
~DialWidget() {}
public slots:
@@ -65,22 +65,22 @@ public slots:
void downNumber();
private:
- QLineEdit *connectname_l;
- QLabel *connect_label;
- QLabel *number_label;
- QPushButton *pppdargs;
- QComboBox *auth;
- QLabel *auth_l;
- QCheckBox *store_password;
+ TQLineEdit *connectname_l;
+ TQLabel *connect_label;
+ TQLabel *number_label;
+ TQPushButton *pppdargs;
+ TQComboBox *auth;
+ TQLabel *auth_l;
+ TQCheckBox *store_password;
// callback support
- QComboBox *cbtype;
- QLabel *cbtype_l;
- QLineEdit *cbphone;
- QLabel *cbphone_l;
+ TQComboBox *cbtype;
+ TQLabel *cbtype_l;
+ TQLineEdit *cbphone;
+ TQLabel *cbphone_l;
// for the phonenumber selection
- QPushButton *add, *del, *up, *down;
- QListBox *numbers;
+ TQPushButton *add, *del, *up, *down;
+ TQListBox *numbers;
};
@@ -89,33 +89,33 @@ private:
// tab-window to select what to execute when
//
/////////////////////////////////////////////////////////////////////////////
-class ExecWidget : public QWidget {
+class ExecWidget : public TQWidget {
Q_OBJECT
public:
- ExecWidget(QWidget *parent=0, bool isnewaccount=true, const char *name=0);
+ ExecWidget(TQWidget *parent=0, bool isnewaccount=true, const char *name=0);
public slots:
bool save();
private:
- QLineEdit *before_connect;
- QLabel *before_connect_l;
+ TQLineEdit *before_connect;
+ TQLabel *before_connect_l;
- QLineEdit *command;
- QLabel *command_label;
+ TQLineEdit *command;
+ TQLabel *command_label;
- QLineEdit *predisconnect;
- QLabel *predisconnect_label;
+ TQLineEdit *predisconnect;
+ TQLabel *predisconnect_label;
- QLineEdit *discommand;
- QLabel *discommand_label;
+ TQLineEdit *discommand;
+ TQLabel *discommand_label;
};
-class IPWidget : public QWidget {
+class IPWidget : public TQWidget {
Q_OBJECT
public:
- IPWidget( QWidget *parent=0, bool isnewaccount = true, const char *name=0 );
+ IPWidget( TQWidget *parent=0, bool isnewaccount = true, const char *name=0 );
~IPWidget() {}
public slots:
@@ -126,26 +126,26 @@ protected slots:
void autoname_t(bool on);
private:
- QLabel *ipaddress_label;
- QLabel *sub_label;
- QGroupBox *box1;
- QVGroupBox *box;
+ TQLabel *ipaddress_label;
+ TQLabel *sub_label;
+ TQGroupBox *box1;
+ TQVGroupBox *box;
- QButtonGroup *rb;
- QRadioButton *dynamicadd_rb;
- QRadioButton *staticadd_rb;
+ TQButtonGroup *rb;
+ TQRadioButton *dynamicadd_rb;
+ TQRadioButton *staticadd_rb;
IPLineEdit *ipaddress_l;
IPLineEdit *subnetmask_l;
- QCheckBox *autoname;
+ TQCheckBox *autoname;
};
-class DNSWidget : public QWidget {
+class DNSWidget : public TQWidget {
Q_OBJECT
public:
- DNSWidget( QWidget *parent=0, bool isnewaccount = true, const char *name=0 );
+ DNSWidget( TQWidget *parent=0, bool isnewaccount = true, const char *name=0 );
~DNSWidget() {}
public slots:
@@ -154,30 +154,30 @@ public slots:
protected slots:
void adddns();
void removedns();
- void DNS_Edit_Changed(const QString &);
+ void DNS_Edit_Changed(const TQString &);
void DNS_Entry_Selected(int);
void DNS_Mode_Selected(int);
private:
- QLabel *conf_label;
- QButtonGroup *bg;
- QRadioButton *autodns, *mandns;
- QLabel *dns_label;
- QLabel *servers_label;
+ TQLabel *conf_label;
+ TQButtonGroup *bg;
+ TQRadioButton *autodns, *mandns;
+ TQLabel *dns_label;
+ TQLabel *servers_label;
IPLineEdit *dnsipaddr;
- QPushButton *add;
- QPushButton *remove;
- QListBox *dnsservers;
- QLineEdit *dnsdomain;
- QLabel *dnsdomain_label;
- QCheckBox *exdnsdisabled_toggle;
+ TQPushButton *add;
+ TQPushButton *remove;
+ TQListBox *dnsservers;
+ TQLineEdit *dnsdomain;
+ TQLabel *dnsdomain_label;
+ TQCheckBox *exdnsdisabled_toggle;
};
-class GatewayWidget : public QWidget {
+class GatewayWidget : public TQWidget {
Q_OBJECT
public:
- GatewayWidget( QWidget *parent=0, bool isnewaccount = true, const char *name=0 );
+ GatewayWidget( TQWidget *parent=0, bool isnewaccount = true, const char *name=0 );
~GatewayWidget() {}
public slots:
@@ -187,21 +187,21 @@ private slots:
void hitGatewaySelect( int );
private:
- QGroupBox *box;
- QLabel *gate_label;
- QGroupBox *box1;
- QButtonGroup *rb;
- QRadioButton *defaultgateway;
- QRadioButton *staticgateway;
+ TQGroupBox *box;
+ TQLabel *gate_label;
+ TQGroupBox *box1;
+ TQButtonGroup *rb;
+ TQRadioButton *defaultgateway;
+ TQRadioButton *staticgateway;
IPLineEdit *gatewayaddr;
- QCheckBox *defaultroute;
+ TQCheckBox *defaultroute;
};
-class ScriptWidget : public QWidget {
+class ScriptWidget : public TQWidget {
Q_OBJECT
public:
- ScriptWidget( QWidget *parent=0, bool isnewaccount = true, const char *name=0 );
+ ScriptWidget( TQWidget *parent=0, bool isnewaccount = true, const char *name=0 );
~ScriptWidget() {}
public slots:
@@ -224,12 +224,12 @@ private:
void adjustScrollBar();
ScriptEdit *se;
- QPushButton *add;
- QPushButton *remove;
- QPushButton *insert;
- QListBox *sl, *stl;
+ TQPushButton *add;
+ TQPushButton *remove;
+ TQPushButton *insert;
+ TQListBox *sl, *stl;
- QScrollBar *slb;
+ TQScrollBar *slb;
};
@@ -241,15 +241,15 @@ private:
class PhoneNumberDialog : public KDialogBase {
Q_OBJECT
public:
- PhoneNumberDialog(QWidget *parent = 0);
+ PhoneNumberDialog(TQWidget *parent = 0);
- QString phoneNumber();
+ TQString phoneNumber();
private slots:
- void textChanged(const QString &);
+ void textChanged(const TQString &);
private:
- QLineEdit *le;
+ TQLineEdit *le;
};