diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-16 14:12:04 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-31 11:31:09 +0000 |
commit | e061150cc54255726b8cda8cc928d3ed03ea8093 (patch) | |
tree | ea43c36b901831f3037b2fc5f9d141b868493ccd /src/qml/debugger/qqmlconfigurabledebugservice_p.h | |
parent | 0768d0dff9b2dc647da480bd73f5f25c84fdb427 (diff) |
Remove pimpl from all classes derived from QQmlDebugService
There is no point in using pimpl for purely internal classes,
especially when we move them to their own plugins.
Change-Id: I2ee8bf2ded2242d91bab89f589a131dc3bcc9a55
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmlconfigurabledebugservice_p.h')
-rw-r--r-- | src/qml/debugger/qqmlconfigurabledebugservice_p.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/qml/debugger/qqmlconfigurabledebugservice_p.h b/src/qml/debugger/qqmlconfigurabledebugservice_p.h index c7afcb94dd..28f0f4dfe2 100644 --- a/src/qml/debugger/qqmlconfigurabledebugservice_p.h +++ b/src/qml/debugger/qqmlconfigurabledebugservice_p.h @@ -47,31 +47,25 @@ // #include "qqmldebugservice_p.h" +#include <QtCore/qmutex.h> QT_BEGIN_NAMESPACE -class QMutex; -class QQmlConfigurableDebugServicePrivate; class QQmlConfigurableDebugService : public QQmlDebugService { Q_OBJECT -public: - QQmlConfigurableDebugService(const QString &name, float version, QObject *parent = 0); - protected: - QQmlConfigurableDebugService(QQmlDebugServicePrivate &dd, QObject *parent = 0); + QQmlConfigurableDebugService(const QString &name, float version, QObject *parent = 0); - QMutex *configMutex(); void stopWaiting(); void init(); void stateChanged(State); void engineAboutToBeAdded(QQmlEngine *); - virtual ~QQmlConfigurableDebugService() {} -private: - Q_DISABLE_COPY(QQmlConfigurableDebugService) - Q_DECLARE_PRIVATE(QQmlConfigurableDebugService) + QMutex m_configMutex; + QList<QQmlEngine *> m_waitingEngines; + bool m_waitingForConfiguration; }; QT_END_NAMESPACE |