summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2016-05-18 18:26:26 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-18 20:57:36 +0000
commit938251e4cea9d2108b0be0162c6d42a4cf62742e (patch)
tree84efccb03716199fedfa37ea444d6e9029700c33
parent93b416440dfcf26c852aee90760a4ea6f2a85b81 (diff)
Add missing explicit for public ctors
Change-Id: I09c0fb3a4880f3a43ad0cc760aa0e9d2b4b773e8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r--src/core/changes/qdynamicpropertyupdatedchange.h2
-rw-r--r--src/core/changes/qpropertynodeaddedchange.h2
-rw-r--r--src/core/changes/qpropertyupdatedchange.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/changes/qdynamicpropertyupdatedchange.h b/src/core/changes/qdynamicpropertyupdatedchange.h
index 1060f1b6c..2eee6d6d6 100644
--- a/src/core/changes/qdynamicpropertyupdatedchange.h
+++ b/src/core/changes/qdynamicpropertyupdatedchange.h
@@ -51,7 +51,7 @@ class QDynamicPropertyUpdatedChangePrivate;
class QT3DCORESHARED_EXPORT QDynamicPropertyUpdatedChange : public QPropertyUpdatedChangeBase
{
public:
- QDynamicPropertyUpdatedChange(QNodeId subjectId);
+ explicit QDynamicPropertyUpdatedChange(QNodeId subjectId);
~QDynamicPropertyUpdatedChange();
QByteArray propertyName() const;
diff --git a/src/core/changes/qpropertynodeaddedchange.h b/src/core/changes/qpropertynodeaddedchange.h
index 38b1c3060..f4b716d8c 100644
--- a/src/core/changes/qpropertynodeaddedchange.h
+++ b/src/core/changes/qpropertynodeaddedchange.h
@@ -53,7 +53,7 @@ class QPropertyNodeAddedChangePrivate;
class QT3DCORESHARED_EXPORT QPropertyNodeAddedChange : public QStaticPropertyValueAddedChangeBase
{
public:
- QPropertyNodeAddedChange(QNodeId subjectId, QNode *node);
+ explicit QPropertyNodeAddedChange(QNodeId subjectId, QNode *node);
QNodeId addedNodeId() const;
const QMetaObject *metaObject() const;
diff --git a/src/core/changes/qpropertyupdatedchange.h b/src/core/changes/qpropertyupdatedchange.h
index 7d27be43e..acec44694 100644
--- a/src/core/changes/qpropertyupdatedchange.h
+++ b/src/core/changes/qpropertyupdatedchange.h
@@ -51,7 +51,7 @@ class QPropertyUpdatedChangePrivate;
class QT3DCORESHARED_EXPORT QPropertyUpdatedChange : public QStaticPropertyUpdatedChangeBase
{
public:
- QPropertyUpdatedChange(QNodeId subjectId);
+ explicit QPropertyUpdatedChange(QNodeId subjectId);
virtual ~QPropertyUpdatedChange();
QVariant value() const;