forked from qt-creator/qt-creator
Make method naming more consistent.
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
This commit is contained in:
@@ -60,7 +60,7 @@ Core::GeneratedFiles CppFileWizard::generateFilesFromPath(const QString &path,
|
||||
const QString fileName = Core::BaseFileWizard::buildFileName(path, name, preferredSuffix(mimeType));
|
||||
|
||||
Core::GeneratedFile file(fileName);
|
||||
file.setEditorKind(QLatin1String(Constants::C_CPPEDITOR));
|
||||
file.setEditorId(QLatin1String(Constants::CPPEDITOR_ID));
|
||||
file.setContents(fileContents(m_type, fileName));
|
||||
|
||||
return Core::GeneratedFiles() << file;
|
||||
|
||||
Reference in New Issue
Block a user