summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/kernel.pri
diff options
context:
space:
mode:
authorMorten Johan Sorvig <morten.sorvig@nokia.com>2012-05-21 15:33:42 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-23 10:02:11 +0200
commit98dbaecf7f9c16be82b895a75ff02e89ff1f3269 (patch)
tree5f5039bc15c5afd1afc1842ab47415492e57cca8 /src/gui/kernel/kernel.pri
parent62fafaf16a972337fb3d6540889efc7cbf56ba7c (diff)
Minor QPlatformMenu API cleanup.
Make the QPlatformMenu* classes abstract with pure virtual functions. Delete qplatformmenu_qpa.cpp. QtGui no longer has to carry the empty implementations. Change the inheritance tree - Make QPlatformMenu and QPlatformMenuBar inherit QObject instead of QMenuItem. Add (now) missing virtual functions to QPlatformMenu. The effect of this change is to reduce the number of pure virtuals the platform has to implement. Change QPlatformMenuBar::syncMenu to take a QPlatformMenu pointer instead of a QPlatformMenuItem* pointer. Fix a couple of header/unused variable compiler warnings. Change-Id: I77450e40c6aae26f3e1aca204603acebd242c036 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/gui/kernel/kernel.pri')
-rw-r--r--src/gui/kernel/kernel.pri1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/kernel.pri b/src/gui/kernel/kernel.pri
index 0f46a8df52..9ea2d76aea 100644
--- a/src/gui/kernel/kernel.pri
+++ b/src/gui/kernel/kernel.pri
@@ -80,7 +80,6 @@ SOURCES += \
kernel/qplatformcursor_qpa.cpp \
kernel/qplatformclipboard_qpa.cpp \
kernel/qplatformnativeinterface_qpa.cpp \
- kernel/qplatformmenu_qpa.cpp \
kernel/qsessionmanager_qpa.cpp \
kernel/qsurfaceformat.cpp \
kernel/qguiapplication.cpp \