From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: 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 --- lib/widgets/propeditor/propertyeditor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/widgets/propeditor/propertyeditor.h') diff --git a/lib/widgets/propeditor/propertyeditor.h b/lib/widgets/propeditor/propertyeditor.h index 6bdd3e32..ee868a55 100644 --- a/lib/widgets/propeditor/propertyeditor.h +++ b/lib/widgets/propeditor/propertyeditor.h @@ -24,8 +24,8 @@ #include #else #include -#define KListView QListView -#define KListViewItem QListViewItem +#define KListView TQListView +#define KListViewItem TQListViewItem #endif #include "propertylist.h" @@ -57,9 +57,10 @@ creation of property widgets from the machine factory. */ class PropertyEditor: public KListView{ Q_OBJECT + TQ_OBJECT public: /**Constructs the property editor.*/ - PropertyEditor(TQWidget *parent = 0, const char *name = 0); + PropertyEditor(TQWidget *tqparent = 0, const char *name = 0); ~PropertyEditor(); /**@return @ref Machine for given property. @@ -102,7 +103,7 @@ protected: void addGroup(const TQString &name); void addProperty(PropertyGroupItem *group, const TQString &name); void addProperty(const TQString &name); - void addChildProperties(PropertyItem *parent); + void addChildProperties(PropertyItem *tqparent); private: PropertyList *m_list; -- cgit v1.2.3