Commit 3243b07c authored by Paolo Angelelli's avatar Paolo Angelelli
Browse files

Add begin/end namespace to qmapobjectview_p/_p_p.h


Also fix the include guards

Change-Id: I5ae5125d64fd059b9ab62e7671972c1e00758bba
Reviewed-by: default avatarBogDan Vatra <bogdan@kdab.com>
Showing with 14 additions and 6 deletions
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef QGEOMAPLAYER_P_H #ifndef QMAPOBJECTVIEW_P_H
#define QGEOMAPLAYER_P_H #define QMAPOBJECTVIEW_P_H
// //
// W A R N I N G // W A R N I N G
...@@ -52,6 +52,8 @@ ...@@ -52,6 +52,8 @@
#include <QQmlComponent> #include <QQmlComponent>
#include <QVector> #include <QVector>
QT_BEGIN_NAMESPACE
class QQmlDelegateModel; class QQmlDelegateModel;
class QMapObjectViewPrivate; class QMapObjectViewPrivate;
class QQmlChangeSet; class QQmlChangeSet;
...@@ -108,4 +110,6 @@ protected: ...@@ -108,4 +110,6 @@ protected:
QVector<QPointer<QGeoMapObject>> m_userAddedMapObjects; // A third list containing the objects dynamically added through addMapObject QVector<QPointer<QGeoMapObject>> m_userAddedMapObjects; // A third list containing the objects dynamically added through addMapObject
}; };
#endif // QGEOMAPLAYER_P_H QT_END_NAMESPACE
#endif // QMAPOBJECTVIEW_P_H
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef QGEOMAPLAYER_P_P_H #ifndef QMAPOBJECTVIEW_P_P_H
#define QGEOMAPLAYER_P_P_H #define QMAPOBJECTVIEW_P_P_H
// //
...@@ -54,6 +54,8 @@ ...@@ -54,6 +54,8 @@
#include <QVector> #include <QVector>
#include <QQmlComponent> #include <QQmlComponent>
QT_BEGIN_NAMESPACE
class QQmlDelegateModel; class QQmlDelegateModel;
class QGeoMap; class QGeoMap;
class Q_LOCATION_PRIVATE_EXPORT QMapObjectViewPrivate : public QGeoMapObjectPrivate class Q_LOCATION_PRIVATE_EXPORT QMapObjectViewPrivate : public QGeoMapObjectPrivate
...@@ -78,4 +80,6 @@ public: ...@@ -78,4 +80,6 @@ public:
QGeoMapObjectPrivate *clone() override; QGeoMapObjectPrivate *clone() override;
}; };
#endif // QGEOMAPLAYER_P_P_H QT_END_NAMESPACE
#endif // QMAPOBJECTVIEW_P_P_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment