Commit 5e635593 authored by Daniel Teske's avatar Daniel Teske

Rename ITargetFactory::supportedTargetIdsChanged

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

Change-Id: I0a454281c061457d23f3a9c2ec1d2a6bd6484474
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent beac33b0
......@@ -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()
......
......@@ -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>();
......
......@@ -568,7 +568,7 @@ ITargetFactory::ITargetFactory(QObject *parent) :
QObject(parent)
{
connect(ToolChainManager::instance(), SIGNAL(toolChainsChanged()),
this, SIGNAL(supportedTargetIdsChanged()));
this, SIGNAL(canCreateTargetIdsChanged()));
}
} // namespace ProjectExplorer
......@@ -180,7 +180,7 @@ public:
virtual Target *restore(Project *parent, const QVariantMap &map) = 0;
signals:
void supportedTargetIdsChanged();
void canCreateTargetIdsChanged();
};
} // namespace ProjectExplorer
......
......@@ -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()));
}
}
......
......@@ -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()
......
......@@ -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()
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment