diff options
author | hjk <hjk@qt.io> | 2018-03-06 17:14:43 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-03-07 16:07:42 +0000 |
commit | 8b92da254e974ec39c92b3ec7b30e1b603d8f74b (patch) | |
tree | 56a3fcd16df1defec3a7d747f5da67c88c8f941f /src/plugins/projectexplorer/target.cpp | |
parent | 981846726b6824f420ed09012724f0d1a2caba9d (diff) |
Rename IRunConfigurationFactory to RunConfigurationFactory
It's not an *I*nterface anymore
Also, remove the in-all-but-one case unused QObject parent and the
object name that was only there for debugging purposes. The class
type serves the same purpose in the debugger.
Change-Id: I0dafb01e6b4fd7c7df04a63aaa3ef3e4bd693f6f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/target.cpp')
-rw-r--r-- | src/plugins/projectexplorer/target.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp index 5b533b91ee..fabf653de0 100644 --- a/src/plugins/projectexplorer/target.cpp +++ b/src/plugins/projectexplorer/target.cpp @@ -540,7 +540,7 @@ void Target::updateDefaultRunConfigurations() QList<RunConfigurationCreationInfo> allAvailableFactories; QList<RunConfigurationCreationInfo> autoCreateFactories; - for (IRunConfigurationFactory *rcFactory : IRunConfigurationFactory::allFactories()) { + for (RunConfigurationFactory *rcFactory : RunConfigurationFactory::allFactories()) { if (rcFactory->canHandle(this)) { const QList<RunConfigurationCreationInfo> creators = rcFactory->availableCreators(this); for (const RunConfigurationCreationInfo &creator : creators) { @@ -815,7 +815,7 @@ bool Target::fromMap(const QVariantMap &map) // Ignore missing RCs: We will just populate them using the default ones. QVariantMap valueMap = map.value(key).toMap(); - RunConfiguration *rc = IRunConfigurationFactory::restore(this, valueMap); + RunConfiguration *rc = RunConfigurationFactory::restore(this, valueMap); if (!rc) continue; QTC_CHECK(rc->id().withSuffix(rc->extraId()) == ProjectExplorer::idFromMap(valueMap)); |