summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-08 15:12:34 +0100
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-08 15:17:46 +0100
commitf09fc6c958ac8f0307686cd8a59a1adc92771b0c (patch)
tree6cd3fb8934f8c49952d45e3ce06b2c5f82d5a712
parentf7ad03a30b69143a6670424a756d65860c428430 (diff)
Compile fix for embedded.
Reviewed-by: trustme
-rw-r--r--src/gui/kernel/qapplication.cpp2
-rw-r--r--src/gui/kernel/qapplication_p.h4
-rw-r--r--src/gui/kernel/qdnd.cpp2
-rw-r--r--src/gui/kernel/qdnd_p.h2
4 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 1fc1b45893..bb6aca9b26 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5707,7 +5707,6 @@ QGestureManager* QGestureManager::instance()
return qAppPriv->gestureManager;
}
-#if defined(Q_WS_X11) || defined(Q_WS_WIN)
// These pixmaps approximate the images in the Windows User Interface Guidelines.
// XPM
@@ -5929,7 +5928,6 @@ QPixmap QApplicationPrivate::getPixmapCursor(Qt::CursorShape cshape)
}
return QPixmap();
}
-#endif
QT_END_NAMESPACE
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h
index 0764553801..d19d86ee60 100644
--- a/src/gui/kernel/qapplication_p.h
+++ b/src/gui/kernel/qapplication_p.h
@@ -518,17 +518,13 @@ public:
QGestureManager *gestureManager;
QWidget *gestureWidget;
-#if defined(Q_WS_X11) || defined(Q_WS_WIN)
QPixmap *move_cursor;
QPixmap *copy_cursor;
QPixmap *link_cursor;
-#endif
#if defined(Q_WS_WIN)
QPixmap *ignore_cursor;
#endif
-#if defined(Q_WS_X11) || defined(Q_WS_WIN)
QPixmap getPixmapCursor(Qt::CursorShape cshape);
-#endif
QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId;
QMap<int, QTouchEvent::TouchPoint> appCurrentTouchPoints;
diff --git a/src/gui/kernel/qdnd.cpp b/src/gui/kernel/qdnd.cpp
index 82708efd19..2b3a3d08c1 100644
--- a/src/gui/kernel/qdnd.cpp
+++ b/src/gui/kernel/qdnd.cpp
@@ -167,7 +167,6 @@ QDragManager *QDragManager::self()
return instance;
}
-#if defined(Q_WS_X11) || defined(Q_WS_WIN)
QPixmap QDragManager::dragCursor(Qt::DropAction action) const
{
QDragPrivate * d = dragPrivate();
@@ -185,7 +184,6 @@ QPixmap QDragManager::dragCursor(Qt::DropAction action) const
#endif
return QPixmap();
}
-#endif
bool QDragManager::hasCustomDragCursors() const
{
diff --git a/src/gui/kernel/qdnd_p.h b/src/gui/kernel/qdnd_p.h
index 1eb85edf65..033e6a6702 100644
--- a/src/gui/kernel/qdnd_p.h
+++ b/src/gui/kernel/qdnd_p.h
@@ -244,9 +244,7 @@ public:
bool willDrop;
QEventLoop *eventLoop;
-#if defined(Q_WS_X11) || defined(Q_WS_WIN)
QPixmap dragCursor(Qt::DropAction action) const;
-#endif
bool hasCustomDragCursors() const;