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/qeditlistbox.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'lib/widgets/propeditor/qeditlistbox.h') diff --git a/lib/widgets/propeditor/qeditlistbox.h b/lib/widgets/propeditor/qeditlistbox.h index 7a4a34a2..78a61bfc 100644 --- a/lib/widgets/propeditor/qeditlistbox.h +++ b/lib/widgets/propeditor/qeditlistbox.h @@ -17,8 +17,8 @@ Boston, MA 02110-1301, USA. */ -#ifndef QEDITLISTBOX_H -#define QEDITLISTBOX_H +#ifndef TQEDITLISTBOX_H +#define TQEDITLISTBOX_H #include #include @@ -42,11 +42,12 @@ class TQPushButton; class QEditListBoxPrivate; -class QEditListBox : public QGroupBox +class QEditListBox : public TQGroupBox { Q_OBJECT + TQ_OBJECT - Q_PROPERTY( TQStringList items READ items WRITE setItems ) + TQ_PROPERTY( TQStringList items READ items WRITE setItems ) public: // @since 3.1 @@ -100,7 +101,7 @@ public: * it will be checked if you press the Add-button. It is not * possible to enter items twice into the listbox. */ - QEditListBox(TQWidget *parent = 0, const char *name = 0, + QEditListBox(TQWidget *tqparent = 0, const char *name = 0, bool checkAtEntering=false, int buttons = All ); /** * Create an editable listbox. @@ -108,7 +109,7 @@ public: * The same as the other constructor, additionally it takes * @p title, which will be the title of the frame around the listbox. */ - QEditListBox(const TQString& title, TQWidget *parent = 0, + QEditListBox(const TQString& title, TQWidget *tqparent = 0, const char *name = 0, bool checkAtEntering=false, int buttons = All ); @@ -126,7 +127,7 @@ public: */ QEditListBox( const TQString& title, const CustomEditor &customEditor, - TQWidget *parent = 0, const char *name = 0, + TQWidget *tqparent = 0, const char *name = 0, bool checkAtEntering = false, int buttons = All ); virtual ~QEditListBox(); -- cgit v1.2.3