Rename ITargetFactory::supportedTargetIdsChanged

The supported targets don't change, it is which targets can be created

Change-Id: I0a454281c061457d23f3a9c2ec1d2a6bd6484474
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-02-22 17:17:57 +01:00
parent beac33b088
commit 5e635593e4
8 changed files with 8 additions and 8 deletions

View File

@@ -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()

View File

@@ -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>();

View File

@@ -568,7 +568,7 @@ ITargetFactory::ITargetFactory(QObject *parent) :
QObject(parent)
{
connect(ToolChainManager::instance(), SIGNAL(toolChainsChanged()),
this, SIGNAL(supportedTargetIdsChanged()));
this, SIGNAL(canCreateTargetIdsChanged()));
}
} // namespace ProjectExplorer

View File

@@ -180,7 +180,7 @@ public:
virtual Target *restore(Project *parent, const QVariantMap &map) = 0;
signals:
void supportedTargetIdsChanged();
void canCreateTargetIdsChanged();
};
} // namespace ProjectExplorer

View File

@@ -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()));
}
}

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()