summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpopupmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqpopupmenu.h')
-rw-r--r--qtinterface/tqpopupmenu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qtinterface/tqpopupmenu.h b/qtinterface/tqpopupmenu.h
index 4d0fd9a..1862306 100644
--- a/qtinterface/tqpopupmenu.h
+++ b/qtinterface/tqpopupmenu.h
@@ -36,9 +36,11 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
// Reimplement the QPopupMenu class
-// For Qt4, no changes are needed
+// For Qt4, some changes are needed
-#include <qpopupmenu.h>
+#include <Qt/q3popupmenu.h>
+
+#define QPopupMenu Q3PopupMenu
#endif // USE_QT4