diff options
Diffstat (limited to 'ksirc/chanButtons.h')
-rw-r--r-- | ksirc/chanButtons.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ksirc/chanButtons.h b/ksirc/chanButtons.h index c9eab5d5..092a9afd 100644 --- a/ksirc/chanButtons.h +++ b/ksirc/chanButtons.h @@ -16,12 +16,13 @@ class TQLineEdit; class KSircProcess; class KPushButton; -class chanButtons : public QWidget +class chanButtons : public TQWidget { Q_OBJECT + TQ_OBJECT friend class KSircTopLevel; public: - chanButtons(KSircProcess *proc, TQWidget* parent=0, const char* name=0); + chanButtons(KSircProcess *proc, TQWidget* tqparent=0, const char* name=0); ~chanButtons() {}; void setProtectMode(bool value) { protectButton->setOn(value); } @@ -31,7 +32,7 @@ class chanButtons : public QWidget void setMenuItemMode(int, bool); signals: - void mode(TQString, int, TQString nick = TQString::null); /// int == 0 channel mode, int == 1 user nick mode + void mode(TQString, int, TQString nick = TQString()); /// int == 0 channel mode, int == 1 user nick mode private slots: void protectMode(); @@ -47,7 +48,7 @@ class chanButtons : public QWidget private: int toggleMenu[7]; - TQHBoxLayout *layout; + TQHBoxLayout *tqlayout; TQPushButton *protectButton; TQPushButton *moderateButton; TQPushButton *outsideButton; @@ -60,10 +61,11 @@ class chanButtons : public QWidget class chanbuttonsDialog : public KDialog { Q_OBJECT + TQ_OBJECT friend class chanButtons; public: enum type { limited, key }; - chanbuttonsDialog(const type &modeType, TQWidget *parent=0, const char *name=0, bool modal=true); + chanbuttonsDialog(const type &modeType, TQWidget *tqparent=0, const char *name=0, bool modal=true); ~chanbuttonsDialog() {}; private slots: |