summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-05-15 15:40:03 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-15 08:46:42 +0200
commitd9a01fd2df5068c8722ba358fe05f08ba39ca83e (patch)
tree90812f625efbdd90a69324c0dabc73b1c8d21782 /src/imports
parent285a52a7a02cdf18b95df56cd579c7910ec84949 (diff)
downloadqtlocation-d9a01fd2df5068c8722ba358fe05f08ba39ca83e.tar.gz
Fixed -qtnamespace compilation issues.
Forward declaration of classes should come after QT_BEGIN_NAMESPACE, if the declared classes are expected to be inside the qtnamespace. Change-Id: I68884ec6f6f08ead6a125f3bc099a342ac62c78a Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/location/qdeclarativepositionsource_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativepositionsource_p.h b/src/imports/location/qdeclarativepositionsource_p.h
index 26b7ecda..f7619ab2 100644
--- a/src/imports/location/qdeclarativepositionsource_p.h
+++ b/src/imports/location/qdeclarativepositionsource_p.h
@@ -49,10 +49,10 @@
#include <QtQml/qqml.h>
#include "qdeclarativeposition_p.h"
-class QFile;
-
QT_BEGIN_NAMESPACE
+class QFile;
+
class QDeclarativePositionSource : public QObject
{
Q_OBJECT