summaryrefslogtreecommitdiffstats
path: root/kppp/kpppwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/kpppwidget.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};