diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-11-11 01:10:14 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-11-11 01:10:14 (GMT) |
commit | c44c19cb16e06625f5ee71493190ad4276e4d8ef (patch) | |
tree | 06f9a06ba273189dddcce79fa98623d71b86c512 /tools | |
parent | 9c19362c726d1d80bc38bb07b43eb3439ed05a8b (diff) | |
download | Qt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.zip Qt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.tar.gz Qt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.tar.bz2 |
Change stateChanged(State) signatures to have (QmlDebugWatch::State)
and (QmlDebugQuery::State) parameters.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmldebugger/creatorplugin/qmlinspectormode.cpp | 4 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/engine.cpp | 4 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/expressionquerywidget.cpp | 2 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/objectpropertiesview.cpp | 4 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/objecttree.cpp | 2 | ||||
-rw-r--r-- | tools/qmldebugger/standalone/watchtable.cpp | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/tools/qmldebugger/creatorplugin/qmlinspectormode.cpp b/tools/qmldebugger/creatorplugin/qmlinspectormode.cpp index ce8ef30..aa7d292 100644 --- a/tools/qmldebugger/creatorplugin/qmlinspectormode.cpp +++ b/tools/qmldebugger/creatorplugin/qmlinspectormode.cpp @@ -489,7 +489,7 @@ void QmlInspectorMode::reloadEngines() if (!m_engineQuery->isWaiting()) enginesChanged(); else - QObject::connect(m_engineQuery, SIGNAL(stateChanged(State)), + QObject::connect(m_engineQuery, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(enginesChanged())); } @@ -528,7 +528,7 @@ void QmlInspectorMode::queryEngineContext(int id) if (!m_contextQuery->isWaiting()) contextChanged(); else - QObject::connect(m_contextQuery, SIGNAL(stateChanged(State)), + QObject::connect(m_contextQuery, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(contextChanged())); } diff --git a/tools/qmldebugger/standalone/engine.cpp b/tools/qmldebugger/standalone/engine.cpp index d438518..6cfd82b 100644 --- a/tools/qmldebugger/standalone/engine.cpp +++ b/tools/qmldebugger/standalone/engine.cpp @@ -163,7 +163,7 @@ void EnginePane::queryContext(int id) if (!m_context->isWaiting()) contextChanged(); else - QObject::connect(m_context, SIGNAL(stateChanged(State)), + QObject::connect(m_context, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(contextChanged())); } @@ -186,7 +186,7 @@ void EnginePane::refreshEngines() if (!m_engines->isWaiting()) enginesChanged(); else - QObject::connect(m_engines, SIGNAL(stateChanged(State)), + QObject::connect(m_engines, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(enginesChanged())); } diff --git a/tools/qmldebugger/standalone/expressionquerywidget.cpp b/tools/qmldebugger/standalone/expressionquerywidget.cpp index 5b7bc8f..cd59871 100644 --- a/tools/qmldebugger/standalone/expressionquerywidget.cpp +++ b/tools/qmldebugger/standalone/expressionquerywidget.cpp @@ -173,7 +173,7 @@ void ExpressionQueryWidget::executeExpression() if (!m_query->isWaiting()) showResult(); else - QObject::connect(m_query, SIGNAL(stateChanged(State)), + QObject::connect(m_query, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(showResult())); m_lastExpr = m_expr; diff --git a/tools/qmldebugger/standalone/objectpropertiesview.cpp b/tools/qmldebugger/standalone/objectpropertiesview.cpp index abfb7a5..3a8d8c8 100644 --- a/tools/qmldebugger/standalone/objectpropertiesview.cpp +++ b/tools/qmldebugger/standalone/objectpropertiesview.cpp @@ -124,7 +124,7 @@ void ObjectPropertiesView::reload(const QmlDebugObjectReference &obj) if (!m_query->isWaiting()) queryFinished(); else - QObject::connect(m_query, SIGNAL(stateChanged(State)), + QObject::connect(m_query, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(queryFinished())); } @@ -223,7 +223,7 @@ void ObjectPropertiesView::watchCreated(QmlDebugWatch *watch) { if (watch->objectDebugId() == m_object.debugId() && qobject_cast<QmlDebugPropertyWatch*>(watch)) { - connect(watch, SIGNAL(stateChanged(State)), SLOT(watchStateChanged())); + connect(watch, SIGNAL(stateChanged(QmlDebugWatch::State)), SLOT(watchStateChanged())); setWatched(qobject_cast<QmlDebugPropertyWatch*>(watch)->name(), true); } } diff --git a/tools/qmldebugger/standalone/objecttree.cpp b/tools/qmldebugger/standalone/objecttree.cpp index 4dbc1a7..cf467f2 100644 --- a/tools/qmldebugger/standalone/objecttree.cpp +++ b/tools/qmldebugger/standalone/objecttree.cpp @@ -86,7 +86,7 @@ void ObjectTree::reload(int objectDebugId) if (!m_query->isWaiting()) objectFetched(); else - QObject::connect(m_query, SIGNAL(stateChanged(State)), + QObject::connect(m_query, SIGNAL(stateChanged(QmlDebugQuery::State)), this, SLOT(objectFetched())); } diff --git a/tools/qmldebugger/standalone/watchtable.cpp b/tools/qmldebugger/standalone/watchtable.cpp index 47c1c88..0e73de5 100644 --- a/tools/qmldebugger/standalone/watchtable.cpp +++ b/tools/qmldebugger/standalone/watchtable.cpp @@ -77,7 +77,7 @@ void WatchTableModel::addWatch(QmlDebugWatch *watch, const QString &title) connect(watch, SIGNAL(valueChanged(QByteArray,QVariant)), SLOT(watchedValueChanged(QByteArray,QVariant))); - connect(watch, SIGNAL(stateChanged(State)), SLOT(watchStateChanged())); + connect(watch, SIGNAL(stateChanged(QmlDebugWatch::State)), SLOT(watchStateChanged())); int col = columnCount(QModelIndex()); beginInsertColumns(QModelIndex(), col, col); |