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/propertywidgetproxy.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/widgets/propeditor/propertywidgetproxy.h') diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h index 43ef3311..04a2503a 100644 --- a/lib/widgets/propeditor/propertywidgetproxy.h +++ b/lib/widgets/propeditor/propertywidgetproxy.h @@ -39,13 +39,14 @@ It is sometimes useful to create single property editor widgets instead of havin all in the property editor. Proxy creates an empty widget and shows the property editor depending on the property type. */ -class PropertyWidgetProxy: public QWidget +class PropertyWidgetProxy: public TQWidget { Q_OBJECT -Q_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true ) -Q_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false ) + TQ_OBJECT +TQ_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true ) +TQ_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false ) public: - PropertyWidgetProxy(TQWidget *parent = 0, const char *name = 0); + PropertyWidgetProxy(TQWidget *tqparent = 0, const char *name = 0); ~PropertyWidgetProxy(); /**Sets the type of a property editor to appear.*/ -- cgit v1.2.3