summaryrefslogtreecommitdiffstats
path: root/kppp/kpppwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/kpppwidget.h')
-rw-r--r--kppp/kpppwidget.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/kppp/kpppwidget.h b/kppp/kpppwidget.h
index 9ca88990..55f5b84a 100644
--- a/kppp/kpppwidget.h
+++ b/kppp/kpppwidget.h
@@ -27,7 +27,7 @@
#ifndef __KPPPWIDGET_H__
#define __KPPPWIDGET_H__
-#include <qstring.h>
+#include <tqstring.h>
#include <dcopclient.h>
@@ -50,24 +50,24 @@ class PPPStats;
class KDialogBase;
class KPushButton;
-class SignalEvent : public QEvent {
+class SignalEvent : public TQEvent {
public:
- SignalEvent(int s) : QEvent(User), sig(s) { }
+ SignalEvent(int s) : TQEvent(User), sig(s) { }
int sigType() const { return sig; }
private:
int sig;
};
-class KPPPWidget : public QWidget, virtual public KpppIface {
+class KPPPWidget : public TQWidget, virtual public KpppIface {
Q_OBJECT
public:
- KPPPWidget( QWidget *parent=0, const char *name=0 );
+ KPPPWidget( TQWidget *parent=0, const char *name=0 );
~KPPPWidget();
- void setPW_Edit(const QString &);
- virtual bool eventFilter(QObject *, QEvent *);
+ void setPW_Edit(const TQString &);
+ virtual bool eventFilter(TQObject *, TQEvent *);
void setQuitOnDisconnect (bool b);
bool quitOnDisconnect () {return m_bQuitOnDisconnect;};
@@ -80,8 +80,8 @@ private slots:
void helpbutton();
void setup();
void rulesetLoadError();
- void usernameChanged(const QString &);
- void passwordChanged(const QString &);
+ void usernameChanged(const TQString &);
+ void passwordChanged(const TQString &);
void enterPressedInID();
void enterPressedInPW();
void saveMyself();
@@ -93,8 +93,8 @@ public slots:
void beginConnect();
void resetaccounts();
void resetmodems();
- void resetCosts(const QString &);
- void resetVolume(const QString &);
+ void resetCosts(const TQString &);
+ void resetVolume(const TQString &);
void disconnect();
void log_window_toggled(bool on);
void startAccounting();
@@ -106,10 +106,10 @@ signals:
void cmdl_start();
public:
- QCheckBox *log;
+ TQCheckBox *log;
bool connected;
DebugWidget *debugwindow;
- QString con_speed;
+ TQString con_speed;
ConnectWidget *con;
ConWindow *con_win;
PPPStatsDlg *statdlg;
@@ -122,32 +122,32 @@ private:
void interruptConnection();
void sigChld();
void sigPPPDDied();
- QString encodeWord(const QString &s);
+ TQString encodeWord(const TQString &s);
void showNews ();
void setButtons();
- QString ruleset_load_errmsg;
+ TQString ruleset_load_errmsg;
- QGridLayout *l1;
+ TQGridLayout *l1;
KPushButton *help_b;
KPushButton *setup_b;
- QFrame *fline;
- QFrame *fline1;
- QPushButton *connect_b;
- QComboBox *connectto_c;
- QComboBox *modem_c;
- QLabel *ID_Label;
- QLabel *PW_Label;
- QLineEdit *ID_Edit;
- QLineEdit *PW_Edit;
- QLabel *label1;
- QLabel *label2;
- QLabel *label3;
- QLabel *label4;
- QLabel *label5;
- QLabel *label6;
- QLabel *label7;
- QLabel *radio_label;
+ TQFrame *fline;
+ TQFrame *fline1;
+ TQPushButton *connect_b;
+ TQComboBox *connectto_c;
+ TQComboBox *modem_c;
+ TQLabel *ID_Label;
+ TQLabel *PW_Label;
+ TQLineEdit *ID_Edit;
+ TQLineEdit *PW_Edit;
+ TQLabel *label1;
+ TQLabel *label2;
+ TQLabel *label3;
+ TQLabel *label4;
+ TQLabel *label5;
+ TQLabel *label6;
+ TQLabel *label7;
+ TQLabel *radio_label;
KDialogBase *tabWindow;
@@ -158,15 +158,15 @@ private:
AboutWidget *about;
- QString m_strCmdlAccount;
- QString m_strCmdlModem;
+ TQString m_strCmdlAccount;
+ TQString m_strCmdlModem;
bool m_bQuitOnDisconnect;
bool m_bCmdlAccount;
bool m_bCmdlModem;
bool m_bModemCShown;
- QTimer *disconnectTimer;
+ TQTimer *disconnectTimer;
};