forked from qt-creator/qt-creator
ProjectExplorer: Don't use object names for KitAspectFactories
Not used. Also the debugger knows the typename and these are singletons. Change-Id: I577241876318aa2930bbc36f454846ffa47cb571 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -218,7 +218,6 @@ private:
|
||||
|
||||
CMakeKitAspectFactory::CMakeKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("CMakeKitAspect"));
|
||||
setId(Constants::TOOL_ID);
|
||||
setDisplayName(Tr::tr("CMake Tool"));
|
||||
setDescription(Tr::tr("The CMake Tool to use when building a project with CMake.<br>"
|
||||
@@ -568,7 +567,6 @@ static void setGeneratorInfo(Kit *k, const GeneratorInfo &info)
|
||||
|
||||
CMakeGeneratorKitAspectFactory::CMakeGeneratorKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("CMakeGeneratorKitAspect"));
|
||||
setId(GENERATOR_ID);
|
||||
setDisplayName(Tr::tr("CMake <a href=\"generator\">generator</a>"));
|
||||
setDescription(Tr::tr("CMake generator defines how a project is built when using CMake.<br>"
|
||||
@@ -1058,7 +1056,6 @@ private:
|
||||
|
||||
CMakeConfigurationKitAspectFactory::CMakeConfigurationKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("CMakeConfigurationKitAspect"));
|
||||
setId(CONFIGURATION_ID);
|
||||
setDisplayName(Tr::tr("CMake Configuration"));
|
||||
setDescription(Tr::tr("Default configuration passed to CMake when setting up a project."));
|
||||
|
@@ -268,7 +268,6 @@ class DebuggerKitAspectFactory : public KitAspectFactory
|
||||
public:
|
||||
DebuggerKitAspectFactory()
|
||||
{
|
||||
setObjectName("DebuggerKitAspect");
|
||||
setId(DebuggerKitAspect::id());
|
||||
setDisplayName(Tr::tr("Debugger"));
|
||||
setDescription(Tr::tr("The debugger to use for this kit."));
|
||||
|
@@ -63,7 +63,6 @@ class McuDependenciesKitAspectFactory final : public KitAspectFactory
|
||||
public:
|
||||
McuDependenciesKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("McuDependenciesKitAspect"));
|
||||
setId(McuDependenciesKitAspect::id());
|
||||
setDisplayName(Tr::tr("MCU Dependencies"));
|
||||
setDescription(Tr::tr("Paths to 3rd party dependencies"));
|
||||
|
@@ -33,7 +33,6 @@ class MesonToolKitAspectFactory final : public KitAspectFactory
|
||||
public:
|
||||
MesonToolKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("MesonKitAspect"));
|
||||
setId(TOOL_ID);
|
||||
setDisplayName(Tr::tr("Meson Tool"));
|
||||
setDescription(Tr::tr("The Meson tool to use when building a project with Meson.<br>"
|
||||
|
@@ -33,7 +33,6 @@ class NinjaToolKitAspectFactory final : public ProjectExplorer::KitAspectFactory
|
||||
public:
|
||||
NinjaToolKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("NinjaKitAspect"));
|
||||
setId(TOOL_ID);
|
||||
setDisplayName(Tr::tr("Ninja Tool"));
|
||||
setDescription(Tr::tr("The Ninja tool to use when building a project with Meson.<br>"
|
||||
|
@@ -100,7 +100,6 @@ public:
|
||||
|
||||
SysRootKitAspectFactory::SysRootKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("SysRootInformation"));
|
||||
setId(SysRootKitAspect::id());
|
||||
setDisplayName(Tr::tr("Sysroot"));
|
||||
setDescription(Tr::tr("The root directory of the system image to use.<br>"
|
||||
@@ -357,7 +356,6 @@ private:
|
||||
|
||||
ToolChainKitAspectFactory::ToolChainKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("ToolChainInformation"));
|
||||
setId(ToolChainKitAspect::id());
|
||||
setDisplayName(Tr::tr("Compiler"));
|
||||
setDescription(Tr::tr("The compiler to use for building.<br>"
|
||||
@@ -859,7 +857,6 @@ public:
|
||||
|
||||
DeviceTypeKitAspectFactory::DeviceTypeKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("DeviceTypeInformation"));
|
||||
setId(DeviceTypeKitAspect::id());
|
||||
setDisplayName(Tr::tr("Run device type"));
|
||||
setDescription(Tr::tr("The type of device to run applications on."));
|
||||
@@ -1032,7 +1029,6 @@ private:
|
||||
|
||||
DeviceKitAspectFactory::DeviceKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("DeviceInformation"));
|
||||
setId(DeviceKitAspect::id());
|
||||
setDisplayName(Tr::tr("Run device"));
|
||||
setDescription(Tr::tr("The device to run the applications on."));
|
||||
@@ -1320,7 +1316,6 @@ private:
|
||||
|
||||
BuildDeviceKitAspectFactory::BuildDeviceKitAspectFactory()
|
||||
{
|
||||
setObjectName("BuildDeviceInformation");
|
||||
setId(BuildDeviceKitAspect::id());
|
||||
setDisplayName(Tr::tr("Build device"));
|
||||
setDescription(Tr::tr("The device used to build applications on."));
|
||||
@@ -1606,7 +1601,6 @@ public:
|
||||
|
||||
EnvironmentKitAspectFactory::EnvironmentKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("EnvironmentKitAspect"));
|
||||
setId(EnvironmentKitAspect::id());
|
||||
setDisplayName(Tr::tr("Environment"));
|
||||
setDescription(Tr::tr("Additional build environment settings when using this kit."));
|
||||
|
@@ -88,7 +88,6 @@ class QbsKitAspectFactory final : public KitAspectFactory
|
||||
public:
|
||||
QbsKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("QbsKitAspect"));
|
||||
setId(QbsKitAspect::id());
|
||||
setDisplayName(Tr::tr("Additional Qbs Profile Settings"));
|
||||
setPriority(22000);
|
||||
|
@@ -108,7 +108,6 @@ class QmakeKitAspectFactory : public KitAspectFactory
|
||||
public:
|
||||
QmakeKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("QmakeKitAspect"));
|
||||
setId(QmakeKitAspect::id());
|
||||
setDisplayName(Tr::tr("Qt mkspec"));
|
||||
setDescription(Tr::tr("The mkspec to use when building the project with qmake.<br>"
|
||||
|
@@ -166,7 +166,6 @@ const QtKitAspectFactory theQtKitAspectFactory;
|
||||
|
||||
QtKitAspectFactory::QtKitAspectFactory()
|
||||
{
|
||||
setObjectName(QLatin1String("QtKitAspect"));
|
||||
setId(QtKitAspect::id());
|
||||
setDisplayName(Tr::tr("Qt version"));
|
||||
setDescription(Tr::tr("The Qt library to use for all projects using this kit.<br>"
|
||||
|
Reference in New Issue
Block a user