Core: Make IDocument concrete

Change-Id: I8290943614ea4a2060cf09a71fb4f957852ab705
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-03-16 20:52:48 +02:00
committed by Orgad Shaneh
parent 5e623ddfd1
commit a5a4f02ced
25 changed files with 35 additions and 279 deletions

View File

@@ -108,15 +108,9 @@ private:
class GenericProjectFile : public Core::IDocument
{
Q_OBJECT
public:
GenericProjectFile(GenericProject *parent, QString fileName, GenericProject::RefreshOptions options);
bool save(QString *errorString, const QString &fileName, bool autoSave) override;
bool isModified() const override;
bool isSaveAsAllowed() const override;
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override;
bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override;