diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2012-02-07 14:23:50 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-07 20:04:44 +0100 |
commit | 194d2ca5c3bbf7e5c06a5f8e4fbbbc8e1247f549 (patch) | |
tree | 17d8244de34dbfe51fe44fee18630487face84ea /src/widgets/widgets/qmenu.h | |
parent | 3cb871241a727193b17b1e0f28a5a9ba87f61d36 (diff) |
Use Q_OS_WINCE instead of Q_WS_WINCE
Window system defines have been deprecated,
so use Q_OS_WINCE instead.
Change-Id: I52059d0f854fe783ac20610ab248800c3e1e827c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qmenu.h')
-rw-r--r-- | src/widgets/widgets/qmenu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qmenu.h b/src/widgets/widgets/qmenu.h index fa0542b6c2..182b0bc2b8 100644 --- a/src/widgets/widgets/qmenu.h +++ b/src/widgets/widgets/qmenu.h @@ -48,7 +48,7 @@ #include <QtWidgets/qaction.h> #include <QtWidgets/qplatformmenu_qpa.h> -#ifdef Q_WS_WINCE +#ifdef Q_OS_WINCE #include <windef.h> // for HMENU #endif @@ -136,7 +136,7 @@ public: void setNoReplayFor(QWidget *widget); QPlatformMenu *platformMenu(); -#ifdef Q_WS_WINCE +#ifdef Q_OS_WINCE HMENU wceMenu(); #endif @@ -170,7 +170,7 @@ protected: bool focusNextPrevChild(bool next); void initStyleOption(QStyleOptionMenuItem *option, const QAction *action) const; -#ifdef Q_WS_WINCE +#ifdef Q_OS_WINCE QAction* wceCommands(uint command); #endif |