summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcosmeticstroker_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-12 14:21:03 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2011-05-12 14:25:39 (GMT)
commitbff68fc7094a50af57f7da23ecf9b25cab00f188 (patch)
tree76e12dc8cfeccd6400c71b4dde3f1b9a032e170f /src/gui/painting/qcosmeticstroker_p.h
parent15a5eaf0eeb44833a052b6201171fca4b9e8f74e (diff)
downloadQt-bff68fc7094a50af57f7da23ecf9b25cab00f188.zip
Qt-bff68fc7094a50af57f7da23ecf9b25cab00f188.tar.gz
Qt-bff68fc7094a50af57f7da23ecf9b25cab00f188.tar.bz2
Fix compilation with namespaces enabled
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qcosmeticstroker_p.h')
-rw-r--r--src/gui/painting/qcosmeticstroker_p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/painting/qcosmeticstroker_p.h b/src/gui/painting/qcosmeticstroker_p.h
index bc6dd76..1355a5a 100644
--- a/src/gui/painting/qcosmeticstroker_p.h
+++ b/src/gui/painting/qcosmeticstroker_p.h
@@ -6,6 +6,12 @@
#include <private/qpaintengine_raster_p.h>
#include <qpen.h>
+QT_BEGIN_HEADER
+
+QT_BEGIN_NAMESPACE
+
+QT_MODULE(Gui)
+
class QCosmeticStroker;
@@ -98,4 +104,8 @@ public:
bool clipLine(qreal &x1, qreal &y1, qreal &x2, qreal &y2);
};
+QT_END_NAMESPACE
+
+QT_END_HEADER
+
#endif // QCOSMETICLINE_H