summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqlistbox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-16 19:58:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-16 19:58:48 +0000
commitce4313a6257fee35d97e07d22956f42916d4905c (patch)
treebaf76860a0acd59250cb72aae8b6c6f43e8c14f0 /qtinterface/tqlistbox.h
parent6eb5cba499c3324183b0f9292d6873c0501a78b2 (diff)
downloadtqtinterface-ce4313a6257fee35d97e07d22956f42916d4905c.tar.gz
tqtinterface-ce4313a6257fee35d97e07d22956f42916d4905c.zip
Initial code finished. Now comes the fun part...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1150797 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqlistbox.h')
-rw-r--r--qtinterface/tqlistbox.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/qtinterface/tqlistbox.h b/qtinterface/tqlistbox.h
index 2d3d9ca..29d7045 100644
--- a/qtinterface/tqlistbox.h
+++ b/qtinterface/tqlistbox.h
@@ -36,9 +36,14 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
// Reimplement the QListBox class
-// For Qt4, no changes are needed
+// For Qt4, some changes are needed
-#include <qlistbox.h>
+#include <Qt/q3listbox.h>
+
+#define QListBox Q3ListBox
+#define QListBoxItem Q3ListBoxItem
+#define QListBoxText Q3ListBoxText
+#define QListBoxPixmap Q3ListBoxPixmap
#endif // USE_QT4