diff options
author | hjk <qtc-committer@nokia.com> | 2009-06-04 10:22:10 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-06-04 10:22:10 +0200 |
commit | d167d50234a977eae5c03cca20a78850437d5b87 (patch) | |
tree | 7f579f5508f1c1a8b62397cffdde16fb47174f41 /demos/boxes | |
parent | d227b12495bb88a78b98436eac38f240429dfa98 (diff) | |
download | qt4-tools-d167d50234a977eae5c03cca20a78850437d5b87.tar.gz |
compile fix with namespaces
Diffstat (limited to 'demos/boxes')
-rw-r--r-- | demos/boxes/glbuffers.h | 2 | ||||
-rw-r--r-- | demos/boxes/scene.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/demos/boxes/glbuffers.h b/demos/boxes/glbuffers.h index 392924e8bb..9e05fad8dc 100644 --- a/demos/boxes/glbuffers.h +++ b/demos/boxes/glbuffers.h @@ -58,7 +58,9 @@ if (m_failed || !(assertion)) { returnStatement; \ } +QT_BEGIN_NAMESPACE class QMatrix4x4; +QT_END_NAMESPACE class GLTexture { diff --git a/demos/boxes/scene.h b/demos/boxes/scene.h index 48ecaba52c..9f8d2afdcc 100644 --- a/demos/boxes/scene.h +++ b/demos/boxes/scene.h @@ -56,7 +56,10 @@ #define PI 3.14159265358979 +QT_BEGIN_NAMESPACE class QMatrix4x4; +QT_END_NAMESPACE + class ParameterEdit : public QWidget { public: |