Commit a004cfbd authored by Tobias Hunger's avatar Tobias Hunger

ToolchainFactory: Remove unused typeid

Change-Id: Id13787d549312251fbe806076b9ad594ab16c2d2
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 051bbb1c
......@@ -255,7 +255,6 @@ AndroidToolChainConfigWidget::AndroidToolChainConfigWidget(AndroidToolChain *tc)
AndroidToolChainFactory::AndroidToolChainFactory()
{
setTypeId(Constants::ANDROID_TOOLCHAIN_ID);
setDisplayName(tr("Android GCC"));
}
......
......@@ -372,7 +372,6 @@ namespace Internal {
CustomToolChainFactory::CustomToolChainFactory()
{
setTypeId(Constants::CUSTOM_TOOLCHAIN_TYPEID);
setDisplayName(tr("Custom"));
}
......
......@@ -761,7 +761,6 @@ QString GccToolChain::detectVersion() const
GccToolChainFactory::GccToolChainFactory()
{
setTypeId(Constants::GCC_TOOLCHAIN_TYPEID);
setDisplayName(tr("GCC"));
}
......@@ -1106,7 +1105,6 @@ ToolChain *ClangToolChain::clone() const
ClangToolChainFactory::ClangToolChainFactory()
{
setDisplayName(tr("Clang"));
setTypeId(Constants::CLANG_TOOLCHAIN_TYPEID);
}
QList<ToolChain *> ClangToolChainFactory::autoDetect()
......@@ -1185,7 +1183,6 @@ ToolChain *MingwToolChain::clone() const
MingwToolChainFactory::MingwToolChainFactory()
{
setTypeId(Constants::MINGW_TOOLCHAIN_TYPEID);
setDisplayName(tr("MinGW"));
}
......@@ -1264,7 +1261,6 @@ ToolChain *LinuxIccToolChain::clone() const
LinuxIccToolChainFactory::LinuxIccToolChainFactory()
{
setDisplayName(tr("Linux ICC"));
setTypeId(Constants::LINUXICC_TOOLCHAIN_TYPEID);
}
QList<ToolChain *> LinuxIccToolChainFactory::autoDetect()
......
......@@ -481,7 +481,6 @@ void MsvcToolChainConfigWidget::setFromToolChain()
MsvcToolChainFactory::MsvcToolChainFactory()
{
setTypeId(Constants::MSVC_TOOLCHAIN_TYPEID);
setDisplayName(tr("MSVC"));
}
......
......@@ -179,7 +179,6 @@ class PROJECTEXPLORER_EXPORT ToolChainFactory : public QObject
Q_OBJECT
public:
Core::Id typeId() const { return m_typeId; }
QString displayName() const { return m_displayName; }
virtual QList<ToolChain *> autoDetect();
......@@ -195,12 +194,10 @@ public:
static void autoDetectionToMap(QVariantMap &data, bool detected);
protected:
void setTypeId(Core::Id id) { m_typeId = id; }
void setDisplayName(const QString &name) { m_displayName = name; }
private:
QString m_displayName;
Core::Id m_typeId;
};
} // namespace ProjectExplorer
......
......@@ -349,7 +349,6 @@ ToolChain *WinCEToolChain::clone() const
WinCEToolChainFactory::WinCEToolChainFactory()
{
setTypeId(Constants::WINCE_TOOLCHAIN_TYPEID);
setDisplayName(tr("WinCE"));
}
......
......@@ -152,7 +152,6 @@ QStringList QnxToolChain::reinterpretOptions(const QStringList &args) const
QnxToolChainFactory::QnxToolChainFactory()
{
setTypeId(Constants::QNX_TOOLCHAIN_ID);
setDisplayName(tr("QCC"));
}
......
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