diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/flagboxes.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() {} |