diff --git a/src/plugins/madde/qt4maemotargetfactory.cpp b/src/plugins/madde/qt4maemotargetfactory.cpp index 6a2327a9ffdda407e6e4a36c707d6975adafa4bc..44de7c3158d30f57f5b101a4c675fd7e1e45a6c6 100644 --- a/src/plugins/madde/qt4maemotargetfactory.cpp +++ b/src/plugins/madde/qt4maemotargetfactory.cpp @@ -59,7 +59,7 @@ Qt4MaemoTargetFactory::Qt4MaemoTargetFactory(QObject *parent) : Qt4BaseTargetFactory(parent) { connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>)), - this, SIGNAL(supportedTargetIdsChanged())); + this, SIGNAL(canCreateTargetIdsChanged())); } Qt4MaemoTargetFactory::~Qt4MaemoTargetFactory() diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index f6684cd69d78abd361abbe417ebc53f7fb33e4ad..2cbb0f5e5c51753a87bf113b56a356466c5a3f14 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -263,7 +263,7 @@ ProjectWindow::~ProjectWindow() void ProjectWindow::extensionsInitialized() { foreach (ITargetFactory *fac, ExtensionSystem::PluginManager::instance()->getObjects<ITargetFactory>()) - connect(fac, SIGNAL(supportedTargetIdsChanged()), + connect(fac, SIGNAL(canCreateTargetIdsChanged()), this, SLOT(targetFactoriesChanged())); QList<IProjectPanelFactory *> list = ExtensionSystem::PluginManager::instance()->getObjects<IProjectPanelFactory>(); diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp index d258a17e2f2827677d0fdea22f4c716ea7bba376..5cc125d8eeac8b1a4aa9f6be8bdc4d6540d914fe 100644 --- a/src/plugins/projectexplorer/target.cpp +++ b/src/plugins/projectexplorer/target.cpp @@ -568,7 +568,7 @@ ITargetFactory::ITargetFactory(QObject *parent) : QObject(parent) { connect(ToolChainManager::instance(), SIGNAL(toolChainsChanged()), - this, SIGNAL(supportedTargetIdsChanged())); + this, SIGNAL(canCreateTargetIdsChanged())); } } // namespace ProjectExplorer diff --git a/src/plugins/projectexplorer/target.h b/src/plugins/projectexplorer/target.h index e69f677722a3d91ef1a1f1189a876db5ea28c351..2bfb2bf584174dc7f4b3ecc7f25343c598b90cda 100644 --- a/src/plugins/projectexplorer/target.h +++ b/src/plugins/projectexplorer/target.h @@ -180,7 +180,7 @@ public: virtual Target *restore(Project *parent, const QVariantMap &map) = 0; signals: - void supportedTargetIdsChanged(); + void canCreateTargetIdsChanged(); }; } // namespace ProjectExplorer diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp index 0bce0538cd019c455ecbb490a7ac6476e8dcfe33..40d9f2117680952ff497cdee59bc64456873efc2 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.cpp +++ b/src/plugins/projectexplorer/targetsettingspanel.cpp @@ -88,7 +88,7 @@ TargetSettingsPanelWidget::TargetSettingsPanelWidget(Project *project) : ExtensionSystem::PluginManager::instance()->getObjects<ITargetFactory>(); foreach (ITargetFactory *fac, factories) { - connect(fac, SIGNAL(supportedTargetIdsChanged()), + connect(fac, SIGNAL(canCreateTargetIdsChanged()), this, SLOT(updateTargetAddAndRemoveButtons())); } } diff --git a/src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp b/src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp index 6c1d29d45e146314af5eabd77ad526473be40d4e..be5c2c9731727297239371a600f6912b4e32c726 100644 --- a/src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp +++ b/src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp @@ -57,7 +57,7 @@ Qt4DesktopTargetFactory::Qt4DesktopTargetFactory(QObject *parent) : Qt4BaseTargetFactory(parent) { connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>)), - this, SIGNAL(supportedTargetIdsChanged())); + this, SIGNAL(canCreateTargetIdsChanged())); } Qt4DesktopTargetFactory::~Qt4DesktopTargetFactory() diff --git a/src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp b/src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp index 9cc4bb10b80197f2c25052dc1ff32a3479e865e1..d9bb69e41b446e991a478561f1a025b6f817f8c2 100644 --- a/src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp +++ b/src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp @@ -57,7 +57,7 @@ Qt4SimulatorTargetFactory::Qt4SimulatorTargetFactory(QObject *parent) : Qt4BaseTargetFactory(parent) { connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>)), - this, SIGNAL(supportedTargetIdsChanged())); + this, SIGNAL(canCreateTargetIdsChanged())); } Qt4SimulatorTargetFactory::~Qt4SimulatorTargetFactory() diff --git a/src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp b/src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp index e3d2c81366290e80cccafa0a34d26af48a2da513..003d242f2aabe097922aa702f6ede6a52e3f5061 100644 --- a/src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp @@ -61,7 +61,7 @@ Qt4SymbianTargetFactory::Qt4SymbianTargetFactory(QObject *parent) : Qt4BaseTargetFactory(parent) { connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>)), - this, SIGNAL(supportedTargetIdsChanged())); + this, SIGNAL(canCreateTargetIdsChanged())); } Qt4SymbianTargetFactory::~Qt4SymbianTargetFactory()