summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:10:28 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:52:08 (GMT)
commitc35974f60cab2d74b399c92ece7ceb96c147ef8a (patch)
treea7f9dfa6fed04cc2a1e12ae3afe45f8aefbc49b5 /src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
parent42540863d4b31b619a22c68391637f091b1c30f4 (diff)
downloadQt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.zip
Qt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.tar.gz
Qt-c35974f60cab2d74b399c92ece7ceb96c147ef8a.tar.bz2
Fix QT_BEGIN/END_NAMESPACE in DirectFB
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index fab18e4..069ec5a 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -54,6 +54,8 @@
#include <QtCore/qvector.h>
#include <QtCore/qrect.h>
+QT_BEGIN_NAMESPACE
+
class QDirectFBScreenPrivate : public QObject, public QWSGraphicsSystem
{
Q_OBJECT
@@ -94,8 +96,6 @@ public:
QDirectFBScreen *q;
};
-#include "qdirectfbscreen.moc"
-
QDirectFBScreenPrivate::QDirectFBScreenPrivate(QDirectFBScreen *qptr)
: QWSGraphicsSystem(qptr), dfb(0), flipFlags(DSFLIP_NONE),
directFBFlags(QDirectFBScreen::NoFlags), alphaPixmapFormat(QImage::Format_Invalid),
@@ -1562,3 +1562,8 @@ IDirectFBSurface *QDirectFBScreen::subSurfaceForWidget(const QWidget *widget, co
return subSurface;
}
+QT_END_NAMESPACE
+
+#include "qdirectfbscreen.moc"
+
+