diff options
author | Friedemann Kleint <[email protected]> | 2009-10-05 11:06:05 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-10-05 11:06:05 +0200 |
commit | 5948e284bb576aa21b6adb3031a7a891861ffd06 (patch) | |
tree | a42c232ed31bda6b3d4bfbda2c62d8688776a36e /src/plugins/qmlprojectmanager/qmlproject.cpp | |
parent | 406d35acd609c5bde60dab9dfd27971a03b0fc0a (diff) |
Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlproject.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlproject.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlproject.cpp b/src/plugins/qmlprojectmanager/qmlproject.cpp index e68e8d9730a..3eba42cdcd4 100644 --- a/src/plugins/qmlprojectmanager/qmlproject.cpp +++ b/src/plugins/qmlprojectmanager/qmlproject.cpp @@ -338,7 +338,7 @@ QmlRunConfiguration::QmlRunConfiguration(QmlProject *pro) { setName(tr("QML Viewer")); - m_qmlViewer = Core::Utils::SynchronousProcess::locateBinary(QLatin1String("qmlviewer")); + m_qmlViewer = Utils::SynchronousProcess::locateBinary(QLatin1String("qmlviewer")); } QmlRunConfiguration::~QmlRunConfiguration() @@ -428,8 +428,8 @@ QWidget *QmlRunConfiguration::configurationWidget() connect(combo, SIGNAL(activated(QString)), this, SLOT(setMainScript(QString))); - Core::Utils::PathChooser *qmlViewer = new Core::Utils::PathChooser; - qmlViewer->setExpectedKind(Core::Utils::PathChooser::Command); + Utils::PathChooser *qmlViewer = new Utils::PathChooser; + qmlViewer->setExpectedKind(Utils::PathChooser::Command); qmlViewer->setPath(executable()); connect(qmlViewer, SIGNAL(changed(QString)), this, SLOT(onQmlViewerChanged())); @@ -463,7 +463,7 @@ void QmlRunConfiguration::setMainScript(const QString &scriptFile) void QmlRunConfiguration::onQmlViewerChanged() { - if (Core::Utils::PathChooser *chooser = qobject_cast<Core::Utils::PathChooser *>(sender())) { + if (Utils::PathChooser *chooser = qobject_cast<Utils::PathChooser *>(sender())) { m_qmlViewer = chooser->path(); } } @@ -492,7 +492,7 @@ void QmlRunConfiguration::restore(const ProjectExplorer::PersistentSettingsReade m_scriptFile = reader.restoreValue(QLatin1String("mainscript")).toString(); if (m_qmlViewer.isEmpty()) - m_qmlViewer = Core::Utils::SynchronousProcess::locateBinary(QLatin1String("qmlviewer")); + m_qmlViewer = Utils::SynchronousProcess::locateBinary(QLatin1String("qmlviewer")); if (m_scriptFile.isEmpty()) m_scriptFile = tr("<Current File>"); |