ProjectExplorer: Streamline ToolchainFactory interface

Change-Id: I70dba496c4d1eeb9c6767080d179f86f20c1b107
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-08-09 17:49:30 +02:00
parent bf6685bc5d
commit d3c299cbe3
11 changed files with 84 additions and 128 deletions

View File

@@ -391,14 +391,10 @@ namespace Internal {
// CustomToolChainFactory
// --------------------------------------------------------------------------
QString CustomToolChainFactory::displayName() const
CustomToolChainFactory::CustomToolChainFactory()
{
return tr("Custom");
}
QString CustomToolChainFactory::id() const
{
return QLatin1String(Constants::CUSTOM_TOOLCHAIN_ID);
setId(Constants::CUSTOM_TOOLCHAIN_ID);
setDisplayName(tr("Custom"));
}
bool CustomToolChainFactory::canCreate()