summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/offscreen/qoffscreenintegration.h
diff options
context:
space:
mode:
authorTasuku Suzuki <stasuku@gmail.com>2013-04-13 00:50:38 +0900
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-19 09:57:09 +0200
commit02713994bf9c72a3cf1ab55b780ab23916d6f79b (patch)
tree12749fd2b37d9ecfcb57884ac1c533e60eb54a02 /src/plugins/platforms/offscreen/qoffscreenintegration.h
parentf3612f39ff5fb07f83b89732e8b7a643ee6d5cd3 (diff)
Make qtbase compile with QT_NO_DRAGANDDROP
Change-Id: Id1a74c6b22b388d20103b4e73f83c8345ec70ba6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/plugins/platforms/offscreen/qoffscreenintegration.h')
-rw-r--r--src/plugins/platforms/offscreen/qoffscreenintegration.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.h b/src/plugins/platforms/offscreen/qoffscreenintegration.h
index eb03100ec9..b403ce83b3 100644
--- a/src/plugins/platforms/offscreen/qoffscreenintegration.h
+++ b/src/plugins/platforms/offscreen/qoffscreenintegration.h
@@ -60,7 +60,9 @@ public:
QPlatformWindow *createPlatformWindow(QWindow *window) const;
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
+#ifndef QT_NO_DRAGANDDROP
QPlatformDrag *drag() const;
+#endif
QPlatformServices *services() const;
QPlatformFontDatabase *fontDatabase() const;
@@ -71,7 +73,9 @@ public:
private:
QAbstractEventDispatcher *m_eventDispatcher;
QScopedPointer<QPlatformFontDatabase> m_fontDatabase;
+#ifndef QT_NO_DRAGANDDROP
QScopedPointer<QPlatformDrag> m_drag;
+#endif
QScopedPointer<QPlatformServices> m_services;
};