diff options
Diffstat (limited to 'lib/widgets/flagboxes.h')
-rw-r--r-- | lib/widgets/flagboxes.h | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/lib/widgets/flagboxes.h b/lib/widgets/flagboxes.h index e45d8230..a2193277 100644 --- a/lib/widgets/flagboxes.h +++ b/lib/widgets/flagboxes.h @@ -46,12 +46,12 @@ class TQPushButton; class KURLRequester; /**List item holding a compiler flag.*/ -class FlagListItem : public QCheckListItem +class FlagListItem : public TQCheckListItem { public: - FlagListItem(FlagListBox *parent, const TQString &flagstr, + FlagListItem(FlagListBox *tqparent, const TQString &flagstr, const TQString &description); - FlagListItem(FlagListBox *parent, const TQString &flagstr, + FlagListItem(FlagListBox *tqparent, const TQString &flagstr, const TQString &description, const TQString &offstr); ~FlagListItem() {} @@ -65,11 +65,12 @@ private: /**List box item holding a compiler flag.*/ -class FlagListBox : public QListView +class FlagListBox : public TQListView { Q_OBJECT + TQ_OBJECT public: - FlagListBox( TQWidget *parent=0, const char *name=0 ); + FlagListBox( TQWidget *tqparent=0, const char *name=0 ); ~FlagListBox() {} @@ -79,16 +80,17 @@ public: /**Check box item holding a compiler flag.*/ -class FlagCheckBox : public QCheckBox +class FlagCheckBox : public TQCheckBox { Q_OBJECT + TQ_OBJECT public: - FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description); - FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr); - FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr, const TQString &defstr); ~FlagCheckBox() @@ -105,11 +107,12 @@ private: }; /**Radiobutton item holding an option of a compiler flag.*/ -class FlagRadioButton : public QRadioButton +class FlagRadioButton : public TQRadioButton { Q_OBJECT + TQ_OBJECT public: - FlagRadioButton(TQWidget *parent, FlagRadioButtonController *controller, + FlagRadioButton(TQWidget *tqparent, FlagRadioButtonController *controller, const TQString &flagstr, const TQString &description); ~FlagRadioButton() {} @@ -120,12 +123,13 @@ private: }; /**Path editor if path is a compiler flag.*/ -class FlagPathEdit: public QWidget +class FlagPathEdit: public TQWidget { Q_OBJECT + TQ_OBJECT public: /**If the pathDelimiter is not empty then path edit can contain a list of paths*/ - FlagPathEdit(TQWidget *parent, TQString pathDelimiter, FlagPathEditController *controller, + FlagPathEdit(TQWidget *tqparent, TQString pathDelimiter, FlagPathEditController *controller, const TQString &flagstr, const TQString &description, KFile::Mode mode = KFile::Directory); ~FlagPathEdit() {} @@ -149,12 +153,13 @@ private: }; /**List editor if list is a compiler flag.*/ -class FlagListEdit: public QWidget +class FlagListEdit: public TQWidget { Q_OBJECT + TQ_OBJECT public: /**If the listDelimiter is not empty then list edit can contain a list of entries*/ - FlagListEdit(TQWidget *parent, TQString listDelimiter, FlagEditController *controller, + FlagListEdit(TQWidget *tqparent, TQString listDelimiter, FlagEditController *controller, const TQString &flagstr, const TQString &description); ~FlagListEdit() {} @@ -179,10 +184,10 @@ private: }; /**Spin editor of a compiler flag.*/ -class FlagSpinEdit: public QWidget +class FlagSpinEdit: public TQWidget { public: - FlagSpinEdit(TQWidget *parent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController *controller, + FlagSpinEdit(TQWidget *tqparent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController *controller, const TQString &flagstr, const TQString &description); ~FlagSpinEdit() {} |