forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -368,10 +368,8 @@ void QbsRunConfigurationWidget::setExecutableLineText(const QString &text)
|
||||
// QbsRunConfigurationFactory:
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
QbsRunConfigurationFactory::QbsRunConfigurationFactory(QObject *parent) :
|
||||
IRunConfigurationFactory(parent)
|
||||
QbsRunConfigurationFactory::QbsRunConfigurationFactory()
|
||||
{
|
||||
setObjectName("QbsRunConfigurationFactory");
|
||||
registerRunConfiguration<QbsRunConfiguration>(QBS_RC_PREFIX);
|
||||
addSupportedProjectType(Constants::PROJECT_ID);
|
||||
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
||||
|
||||
@@ -47,7 +47,7 @@ class QbsRunConfiguration : public ProjectExplorer::RunConfiguration
|
||||
|
||||
// to change the display name and arguments and set the userenvironmentchanges
|
||||
friend class QbsRunConfigurationWidget;
|
||||
friend class ProjectExplorer::IRunConfigurationFactory;
|
||||
friend class ProjectExplorer::RunConfigurationFactory;
|
||||
|
||||
public:
|
||||
explicit QbsRunConfiguration(ProjectExplorer::Target *target);
|
||||
@@ -109,12 +109,12 @@ private:
|
||||
bool m_isShown = false;
|
||||
};
|
||||
|
||||
class QbsRunConfigurationFactory : public ProjectExplorer::IRunConfigurationFactory
|
||||
class QbsRunConfigurationFactory : public ProjectExplorer::RunConfigurationFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit QbsRunConfigurationFactory(QObject *parent = 0);
|
||||
QbsRunConfigurationFactory();
|
||||
|
||||
bool canCreateHelper(ProjectExplorer::Target *parent, const QString &suffix) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user