diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/chanButtons.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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 'ksirc/chanButtons.h')
-rw-r--r-- | ksirc/chanButtons.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ksirc/chanButtons.h b/ksirc/chanButtons.h index 2b7edc3a..a7000361 100644 --- a/ksirc/chanButtons.h +++ b/ksirc/chanButtons.h @@ -3,8 +3,8 @@ #ifndef CHANBUTTONS_H #define CHANBUTTONS_H -#include <qwidget.h> -#include <qpushbutton.h> +#include <tqwidget.h> +#include <tqpushbutton.h> #include <kdialog.h> class QHBoxLayout; @@ -21,7 +21,7 @@ class chanButtons : public QWidget Q_OBJECT friend class KSircTopLevel; public: - chanButtons(KSircProcess *proc, QWidget* parent=0, const char* name=0); + chanButtons(KSircProcess *proc, TQWidget* parent=0, const char* name=0); ~chanButtons() {}; void setProtectMode(bool value) { protectButton->setOn(value); } @@ -31,7 +31,7 @@ class chanButtons : public QWidget void setMenuItemMode(int, bool); signals: - void mode(QString, int, QString nick = QString::null); /// int == 0 channel mode, int == 1 user nick mode + void mode(TQString, int, TQString nick = TQString::null); /// int == 0 channel mode, int == 1 user nick mode private slots: void protectMode(); @@ -47,11 +47,11 @@ class chanButtons : public QWidget private: int toggleMenu[7]; - QHBoxLayout *layout; - QPushButton *protectButton; - QPushButton *moderateButton; - QPushButton *outsideButton; - QPushButton *menuButton; + TQHBoxLayout *layout; + TQPushButton *protectButton; + TQPushButton *moderateButton; + TQPushButton *outsideButton; + TQPushButton *menuButton; KPopupMenu *Popupmenu; chanbuttonsDialog *chanDialog; KSircProcess *m_proc; @@ -63,22 +63,22 @@ class chanbuttonsDialog : public KDialog friend class chanButtons; public: enum type { limited, key }; - chanbuttonsDialog(const type &modeType, QWidget *parent=0, const char *name=0, bool modal=true); + chanbuttonsDialog(const type &modeType, TQWidget *parent=0, const char *name=0, bool modal=true); ~chanbuttonsDialog() {}; private slots: void keyString(); void limitedUsers(); - QString sendKey() { return m_sendKey; } + TQString sendKey() { return m_sendKey; } int sendLimitedUsers() { return m_sendLimitedUsers; }; private: - QString m_sendKey; + TQString m_sendKey; int m_sendLimitedUsers; - QVBoxLayout *LimitedLayout; - QHBoxLayout *Layout; + TQVBoxLayout *LimitedLayout; + TQHBoxLayout *Layout; KIntSpinBox *SpinBox; - QLineEdit *EditBox; + TQLineEdit *EditBox; KPushButton *okButton; KPushButton *cancelButton; }; |