summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqlistbox.h
diff options
context:
space:
mode:
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