summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/wincetoolchain.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-01-30 11:55:21 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-01-31 11:14:47 +0100
commitcdae5f2102cbf32931fe6ea19e47feaee1b4638a (patch)
tree4487c5515613ccb0fa17f85fa9bd35c0446faa68 /src/plugins/projectexplorer/wincetoolchain.cpp
parent319928ff5ff3e632d013266ce18731cbca976c7e (diff)
downloadqt-creator-cdae5f2102cbf32931fe6ea19e47feaee1b4638a.tar.gz
Toolchain: Add type() method.
Rename typeName() to typeDisplayName() to make it clear that this is a user visible string that is translated. Add type() method to provide a simple string that can be used by build system plugins to find out which kind of toolchain currently is in use. Change-Id: I7c3f050aa82c8b17071fd03ee142c5ae2f17b1de Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/wincetoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/wincetoolchain.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/wincetoolchain.cpp b/src/plugins/projectexplorer/wincetoolchain.cpp
index 87a2d834e7..2d324e782e 100644
--- a/src/plugins/projectexplorer/wincetoolchain.cpp
+++ b/src/plugins/projectexplorer/wincetoolchain.cpp
@@ -295,7 +295,12 @@ QString WinCEToolChain::legacyId() const
return id;
}
-QString WinCEToolChain::typeName() const
+QString WinCEToolChain::type() const
+{
+ return QLatin1String("wince");
+}
+
+QString WinCEToolChain::typeDisplayName() const
{
return WinCEToolChainFactory::tr("WinCE");
}