diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-09-03 18:31:44 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-09-04 15:24:25 +0200 |
commit | 8ba422d07c4371a47b575bdef3051554cd4063e0 (patch) | |
tree | afe879082b3b5d35eacc1db3142ece2076cdb3bd /src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp | |
parent | 328d205b624a94cf2f515ae8934b86b934c43f48 (diff) | |
download | qt-creator-8ba422d07c4371a47b575bdef3051554cd4063e0.tar.gz |
s/profile/kit/
* Rename profiles to kits.
* Update some strings:
* projects mode has a Kits tab, not a Targets tab.
* " Settings" was dropped from the sub-tabs of the Kits tab
* menu entry "Build/Open Build/Run Target Selector" was renamed
to "Build/Open Build and Run Kits Selector".
* Use "Kit" instead of "Target" in miniprojecttargetselector.
(The class was not renamed as it does indeed select targets,
not kits)
Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp b/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp index 782e7fd451..deccdd83d9 100644 --- a/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp +++ b/src/plugins/remotelinux/remotelinuxrunconfigurationfactory.cpp @@ -33,7 +33,7 @@ #include "remotelinuxdeployconfigurationfactory.h" #include "remotelinuxrunconfiguration.h" -#include <projectexplorer/profileinformation.h> +#include <projectexplorer/kitinformation.h> #include <projectexplorer/target.h> #include <qt4projectmanager/qt4project.h> #include <qt4projectmanager/qt4nodes.h> @@ -138,12 +138,12 @@ RunConfiguration *RemoteLinuxRunConfigurationFactory::clone(Target *parent, bool RemoteLinuxRunConfigurationFactory::canHandle(Target *t) const { - if (!t->project()->supportsProfile(t->profile())) + if (!t->project()->supportsKit(t->kit())) return false; if (!qobject_cast<Qt4Project *>(t->project())) return false; - Core::Id deviceType = ProjectExplorer::DeviceTypeProfileInformation::deviceTypeId(t->profile()); + Core::Id deviceType = ProjectExplorer::DeviceTypeKitInformation::deviceTypeId(t->kit()); return deviceType == RemoteLinux::Constants::GenericLinuxOsType; } |