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:
@@ -162,7 +162,7 @@ public:
|
||||
void setInterpreter(const QString &interpreter) { m_interpreter = interpreter; }
|
||||
|
||||
private:
|
||||
friend class ProjectExplorer::IRunConfigurationFactory;
|
||||
friend class ProjectExplorer::RunConfigurationFactory;
|
||||
|
||||
QString defaultDisplayName() const;
|
||||
|
||||
@@ -270,12 +270,11 @@ PythonRunConfigurationWidget::PythonRunConfigurationWidget(PythonRunConfiguratio
|
||||
});
|
||||
}
|
||||
|
||||
class PythonRunConfigurationFactory : public IRunConfigurationFactory
|
||||
class PythonRunConfigurationFactory : public RunConfigurationFactory
|
||||
{
|
||||
public:
|
||||
PythonRunConfigurationFactory()
|
||||
{
|
||||
setObjectName("PythonRunConfigurationFactory");
|
||||
registerRunConfiguration<PythonRunConfiguration>(PythonRunConfigurationPrefix);
|
||||
addSupportedProjectType(PythonProjectId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user