summaryrefslogtreecommitdiffstats
path: root/src/core/services/qabstractserviceprovider_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/services/qabstractserviceprovider_p.h')
-rw-r--r--src/core/services/qabstractserviceprovider_p.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/services/qabstractserviceprovider_p.h b/src/core/services/qabstractserviceprovider_p.h
index 2913cee31..cef6ef034 100644
--- a/src/core/services/qabstractserviceprovider_p.h
+++ b/src/core/services/qabstractserviceprovider_p.h
@@ -51,23 +51,26 @@
// We mean it.
//
+#include <QtCore/private/qobject_p.h>
#include <Qt3DCore/qt3dcore_global.h>
#include <QtCore/qstring.h>
+#include <Qt3DCore/private/qservicelocator_p.h>
+
QT_BEGIN_NAMESPACE
namespace Qt3DCore {
-class QAbstractServiceProviderPrivate
+class QAbstractServiceProviderPrivate : public QObjectPrivate
{
public:
- QAbstractServiceProviderPrivate(int type, const QString &description = QString())
- : m_type(type)
+ explicit QAbstractServiceProviderPrivate(int type, const QString &description = QString())
+ : QObjectPrivate()
+ , m_type(type)
, m_description(description)
{}
Q_DECLARE_PUBLIC(QAbstractServiceProvider)
- QAbstractServiceProvider *q_ptr;
int m_type;
QString m_description;