summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qdnd_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-06-20 10:29:04 +0900
committerQt by Nokia <qt-info@nokia.com>2012-06-24 21:22:51 +0200
commitd2e83f3056f1379016c48ae3b44f45f5363449f5 (patch)
tree32ea0f906cba3e7b738ed6254f9476348bc772b3 /src/gui/kernel/qdnd_p.h
parent7590ca03ced07f1a3e9d1aab30e6d5b239009ac4 (diff)
Make qtbase compile with QT_NO_DRAGANDDROP
Change-Id: Ief16e435af6e6d246b84505a1c1208994c7b0b38 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com>
Diffstat (limited to 'src/gui/kernel/qdnd_p.h')
-rw-r--r--src/gui/kernel/qdnd_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/kernel/qdnd_p.h b/src/gui/kernel/qdnd_p.h
index 764b73c06f..f793764560 100644
--- a/src/gui/kernel/qdnd_p.h
+++ b/src/gui/kernel/qdnd_p.h
@@ -69,7 +69,7 @@ class QEventLoop;
class QMouseEvent;
class QPlatformDrag;
-#ifndef QT_NO_DRAGANDDROP
+#if !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD))
class Q_GUI_EXPORT QInternalMimeData : public QMimeData
{
@@ -95,6 +95,10 @@ protected:
virtual QVariant retrieveData_sys(const QString &mimeType, QVariant::Type type) const = 0;
};
+#endif // !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD))
+
+#ifndef QT_NO_DRAGANDDROP
+
class QDragPrivate : public QObjectPrivate
{
public: