summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-05-10 12:12:35 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-10 19:09:10 +0000
commit5835e7da06b421e5c38020fc138f27a37a68053c (patch)
tree8fb62ccc96bc69946685c16bd18c8592588d8442 /src
parent1a1b825f97a18146e7318401b1e25e79e416cbc4 (diff)
Mark QNodeUpdatedChangeBase ctor protected and export class
Task-number: QTBUG-51494 Change-Id: I6d107c81bb2e29ebda0785a8c509fbda26a9ef19 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/changes/qnodeupdatedchangebase.h7
-rw-r--r--src/core/changes/qnodeupdatedchangebase_p.h3
2 files changed, 6 insertions, 4 deletions
diff --git a/src/core/changes/qnodeupdatedchangebase.h b/src/core/changes/qnodeupdatedchangebase.h
index 5e0f4fe99..1b7ed01de 100644
--- a/src/core/changes/qnodeupdatedchangebase.h
+++ b/src/core/changes/qnodeupdatedchangebase.h
@@ -41,6 +41,7 @@
#define QT3DCORE_QNODEUPDATEDCHANGEBASE_H
#include <Qt3DCore/qscenechange.h>
+#include <Qt3DCore/qt3dcore_global.h>
#include <QtCore/qsharedpointer.h>
QT_BEGIN_NAMESPACE
@@ -49,15 +50,15 @@ namespace Qt3DCore {
class QNodeUpdatedChangeBasePrivate;
-class QNodeUpdatedChangeBase : public QSceneChange
+class QT3DCORESHARED_EXPORT QNodeUpdatedChangeBase : public QSceneChange
{
public:
- explicit QNodeUpdatedChangeBase(QNodeId subjectId);
~QNodeUpdatedChangeBase();
protected:
- Q_DECLARE_PRIVATE(QNodeUpdatedChangeBase)
+ explicit QNodeUpdatedChangeBase(QNodeId subjectId);
QNodeUpdatedChangeBase(QNodeUpdatedChangeBasePrivate &dd, QNodeId subjectId);
+ Q_DECLARE_PRIVATE(QNodeUpdatedChangeBase)
};
typedef QSharedPointer<QNodeUpdatedChangeBase> QNodeUpdatedChangeBasePtr;
diff --git a/src/core/changes/qnodeupdatedchangebase_p.h b/src/core/changes/qnodeupdatedchangebase_p.h
index aa5871640..d7fac28eb 100644
--- a/src/core/changes/qnodeupdatedchangebase_p.h
+++ b/src/core/changes/qnodeupdatedchangebase_p.h
@@ -52,6 +52,7 @@
//
#include <private/qscenechange_p.h>
+#include <Qt3DCore/private/qt3dcore_global_p.h>
QT_BEGIN_NAMESPACE
@@ -59,7 +60,7 @@ namespace Qt3DCore {
class QNodeUpdatedChangeBase;
-class QNodeUpdatedChangeBasePrivate : public QSceneChangePrivate
+class QT3DCORE_PRIVATE_EXPORT QNodeUpdatedChangeBasePrivate : public QSceneChangePrivate
{
public:
QNodeUpdatedChangeBasePrivate();