summaryrefslogtreecommitdiffstats
path: root/examples/opengl/pbuffers
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-10-15 11:26:03 (GMT)
committerhjk <qtc-committer@nokia.com>2009-10-15 11:26:53 (GMT)
commit449eae92ce603bf4134bfec820fedc334934de73 (patch)
tree7d7ef3cba9b8b26b74550c787dbaad5de5d1aa57 /examples/opengl/pbuffers
parentc0380b7805921446c30a560f0ffd01d0323fa797 (diff)
downloadQt-449eae92ce603bf4134bfec820fedc334934de73.zip
Qt-449eae92ce603bf4134bfec820fedc334934de73.tar.gz
Qt-449eae92ce603bf4134bfec820fedc334934de73.tar.bz2
compile fix with namepaces
Diffstat (limited to 'examples/opengl/pbuffers')
-rw-r--r--examples/opengl/pbuffers/cube.h2
-rw-r--r--examples/opengl/pbuffers/glwidget.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/opengl/pbuffers/cube.h b/examples/opengl/pbuffers/cube.h
index c882f1f..f17299f 100644
--- a/examples/opengl/pbuffers/cube.h
+++ b/examples/opengl/pbuffers/cube.h
@@ -48,7 +48,9 @@
#include <QtGui/qvector3d.h>
#include <QtGui/qvector2d.h>
+QT_BEGIN_NAMESPACE
class QPropertyAnimation;
+QT_END_NAMESPACE
class Geometry
{
diff --git a/examples/opengl/pbuffers/glwidget.h b/examples/opengl/pbuffers/glwidget.h
index c019abe..1b46bfd 100644
--- a/examples/opengl/pbuffers/glwidget.h
+++ b/examples/opengl/pbuffers/glwidget.h
@@ -47,7 +47,9 @@
class Geometry;
class Cube;
class Tile;
+QT_BEGIN_NAMESPACE
class QGLPixelBuffer;
+QT_END_NAMESPACE
class GLWidget : public QGLWidget
{