Add override to IDocument hierarchy

Change-Id: I6884f59fe0f06e380254c1f8076dd561d9df4ee3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-06-04 15:54:10 +02:00
parent 277495e8cb
commit 6dd0e79d09
28 changed files with 159 additions and 166 deletions

View File

@@ -170,12 +170,12 @@ class ProFileDocument : public TextDocument
{
public:
ProFileDocument();
QString defaultPath() const;
QString suggestedFileName() const;
QString defaultPath() const override;
QString suggestedFileName() const override;
// qmake project files doesn't support UTF8-BOM
// If the BOM would be added qmake would fail and QtCreator couldn't parse the project file
bool supportsUtf8Bom() { return false; }
bool supportsUtf8Bom() override { return false; }
};
ProFileDocument::ProFileDocument()