summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:29:51 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-31 18:01:53 (GMT)
commitcef94ba96e4fd45506dff793accd8603765de7f4 (patch)
tree374db19c34946e469adce475fbc3a942b0d6c8f1 /src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
parentc35974f60cab2d74b399c92ece7ceb96c147ef8a (diff)
downloadQt-cef94ba96e4fd45506dff793accd8603765de7f4.zip
Qt-cef94ba96e4fd45506dff793accd8603765de7f4.tar.gz
Qt-cef94ba96e4fd45506dff793accd8603765de7f4.tar.bz2
Clean up directfb ifdefs
Make sure all files are wrapped in QT_NO_QWS_DIRECTFB Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbmouse.h')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbmouse.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbmouse.h b/src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
index 37d0845..fcb995e 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbmouse.h
@@ -44,14 +44,14 @@
#include <QtGui/qmouse_qws.h>
+#ifndef QT_NO_QWS_DIRECTFB
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
-#ifndef QT_NO_DIRECTFB
-
class QDirectFBMouseHandlerPrivate;
class QDirectFBMouseHandler : public QWSMouseHandler
@@ -67,10 +67,8 @@ protected:
QDirectFBMouseHandlerPrivate *d;
};
-#endif // QT_NO_DIRECTFB
-
QT_END_NAMESPACE
QT_END_HEADER
-
+#endif // QT_NO_QWS_DIRECTFB
#endif // QDIRECTFBMOUSE_H