summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-10-28 08:38:21 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-10-28 08:42:58 (GMT)
commit8cda1c6fef8bd9c4635743fae05158306c2ab09f (patch)
treef573b6e26a6cadffdfd37c4a05ee6942f36ab263 /src/opengl/gl2paintengineex
parent928bb6dfe9b3d5db9c7d669979ae6ccdf661df38 (diff)
downloadQt-8cda1c6fef8bd9c4635743fae05158306c2ab09f.zip
Qt-8cda1c6fef8bd9c4635743fae05158306c2ab09f.tar.gz
Qt-8cda1c6fef8bd9c4635743fae05158306c2ab09f.tar.bz2
Fix namespace build
Looks like a couple of files missed the namespace macro... Rev-By: gunnar
Diffstat (limited to 'src/opengl/gl2paintengineex')
-rw-r--r--src/opengl/gl2paintengineex/qtriangulatingstroker.cpp4
-rw-r--r--src/opengl/gl2paintengineex/qtriangulatingstroker_p.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp b/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
index a3c8266..ec05020 100644
--- a/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
+++ b/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
@@ -42,6 +42,7 @@
#include "qtriangulatingstroker_p.h"
#include <qmath.h>
+QT_BEGIN_NAMESPACE
#define CURVE_FLATNESS Q_PI / 8
@@ -338,3 +339,6 @@ void QDashedStrokeProcessor::process(const QVectorPath &path, const QPen &pen)
m_dash_stroker.end();
}
+
+QT_END_NAMESPACE
+
diff --git a/src/opengl/gl2paintengineex/qtriangulatingstroker_p.h b/src/opengl/gl2paintengineex/qtriangulatingstroker_p.h
index b7354db..483cea9 100644
--- a/src/opengl/gl2paintengineex/qtriangulatingstroker_p.h
+++ b/src/opengl/gl2paintengineex/qtriangulatingstroker_p.h
@@ -48,6 +48,7 @@
#include <private/qnumeric_p.h>
#include <private/qmath_p.h>
+QT_BEGIN_NAMESPACE
class QTriangulatingStroker
{
@@ -295,5 +296,6 @@ void QTriangulatingStroker::join(const qreal *pts)
emitLineSegment(m_cx, m_cy, m_nvx, m_nvy);
}
+QT_END_NAMESPACE
#endif