diff options
author | hjk <qtc-committer@nokia.com> | 2009-10-15 11:26:03 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-10-15 11:26:53 (GMT) |
commit | 449eae92ce603bf4134bfec820fedc334934de73 (patch) | |
tree | 7d7ef3cba9b8b26b74550c787dbaad5de5d1aa57 /examples | |
parent | c0380b7805921446c30a560f0ffd01d0323fa797 (diff) | |
download | Qt-449eae92ce603bf4134bfec820fedc334934de73.zip Qt-449eae92ce603bf4134bfec820fedc334934de73.tar.gz Qt-449eae92ce603bf4134bfec820fedc334934de73.tar.bz2 |
compile fix with namepaces
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gestures/imageviewer/imagewidget.h | 2 | ||||
-rw-r--r-- | examples/opengl/pbuffers/cube.h | 2 | ||||
-rw-r--r-- | examples/opengl/pbuffers/glwidget.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/examples/gestures/imageviewer/imagewidget.h b/examples/gestures/imageviewer/imagewidget.h index e05a67a..7b91fbf 100644 --- a/examples/gestures/imageviewer/imagewidget.h +++ b/examples/gestures/imageviewer/imagewidget.h @@ -46,10 +46,12 @@ #include <QImage> #include <QtGui> +QT_BEGIN_NAMESPACE class QGestureEvent; class QPanGesture; class QPinchGesture; class QSwipeGesture; +QT_END_NAMESPACE class ImageWidget : public QWidget { 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 { |