From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kiconedit/knew.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'kiconedit/knew.h') diff --git a/kiconedit/knew.h b/kiconedit/knew.h index a2d5dc7e..4bfb7086 100644 --- a/kiconedit/knew.h +++ b/kiconedit/knew.h @@ -64,8 +64,9 @@ private: class KIconListBox : public TQListBox { Q_OBJECT + TQ_OBJECT public: - KIconListBox( TQWidget *parent ) : TQListBox(parent) {} ; + KIconListBox( TQWidget *tqparent ) : TQListBox(tqparent) {} ; const TQString path(int idx) { return ((KIconListBoxItem*)item(idx))->path(); } KIconTemplate& iconTemplate(int idx) { return ((KIconListBoxItem*)item(idx))->iconTemplate(); } @@ -93,11 +94,12 @@ private: ~KIconTemplateContainer(); }; -class NewSelect : public QWidget +class NewSelect : public TQWidget { Q_OBJECT + TQ_OBJECT public: - NewSelect(TQWidget *parent); + NewSelect(TQWidget *tqparent); ~NewSelect(); signals: @@ -112,11 +114,12 @@ protected: TQRadioButton *rbscratch, *rbtempl; }; -class NewFromTemplate : public QWidget +class NewFromTemplate : public TQWidget { Q_OBJECT + TQ_OBJECT public: - NewFromTemplate(TQWidget *parent); + NewFromTemplate(TQWidget *tqparent); ~NewFromTemplate(); const TQString path() { return TQString(templates->path(templates->currentItem())); } @@ -133,8 +136,9 @@ protected: class KNewIcon : public KWizard { Q_OBJECT + TQ_OBJECT public: - KNewIcon(TQWidget *parent); + KNewIcon(TQWidget *tqparent); ~KNewIcon(); enum { Blank = 0, Template = 1}; -- cgit v1.2.3