Wizards: Format generated code according to current style

Needs ClangFormat to be enabled.

Task-number: QTCREATORBUG-25065
Change-Id: I127da0f9ac55af7f19dead19b28470a9b72c4ee5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2023-05-25 12:13:36 +02:00
parent 68b750d83d
commit 87861cf7ee
8 changed files with 58 additions and 5 deletions

View File

@@ -401,6 +401,13 @@ bool IDocument::setContents(const QByteArray &contents)
return false;
}
/*!
Formats the contents of the document, if the implementation supports such functionality.
*/
void IDocument::formatContents()
{
}
/*!
Returns the absolute path of the file that this document refers to. May be
empty for documents that are not backed by a file.