diff options
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 5239b58c97..ab1e6a46cd 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -62,7 +62,10 @@ #include <qpa/qwindowsysteminterface.h> #include <qpa/qwindowsysteminterface_p.h> -#include "private/qshortcutmap_p.h" +#if QT_CONFIG(shortcut) +# include "private/qshortcutmap_p.h" +#endif + #include <qicon.h> QT_BEGIN_NAMESPACE @@ -75,6 +78,12 @@ class QPlatformDragQtResponse; class QDrag; #endif // QT_CONFIG(draganddrop) class QInputDeviceManager; +#ifndef QT_NO_ACTION +class QActionPrivate; +#endif +#if QT_CONFIG(shortcut) +class QShortcutPrivate; +#endif class Q_GUI_EXPORT QGuiApplicationPrivate : public QCoreApplicationPrivate { @@ -263,7 +272,7 @@ public: QIcon forcedWindowIcon; static QList<QObject *> generic_plugin_list; -#ifndef QT_NO_SHORTCUT +#if QT_CONFIG(shortcut) QShortcutMap shortcutMap; #endif @@ -323,6 +332,13 @@ public: static void resetCachedDevicePixelRatio(); +#ifndef QT_NO_ACTION + virtual QActionPrivate *createActionPrivate() const; +#endif +#ifndef QT_NO_SHORTCUT + virtual QShortcutPrivate *createShortcutPrivate() const; +#endif + protected: virtual void notifyThemeChanged(); |