forked from qt-creator/qt-creator
IDocument: Make mimeType a value member
Change-Id: I2e90ccf0a45ae8d00bcd00ec77fe0d9776f2f119 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -67,11 +67,6 @@ bool DiffEditorDocument::save(QString *errorString, const QString &fileName, boo
|
||||
return false;
|
||||
}
|
||||
|
||||
QString DiffEditorDocument::mimeType() const
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
Core::IDocument::ReloadBehavior DiffEditorDocument::reloadBehavior(ChangeTrigger state, ChangeType type) const
|
||||
{
|
||||
Q_UNUSED(state)
|
||||
|
||||
@@ -52,7 +52,6 @@ public:
|
||||
QString suggestedFileName() const { return QString(); }
|
||||
|
||||
bool isModified() const { return false; }
|
||||
QString mimeType() const;
|
||||
bool isSaveAsAllowed() const { return false; }
|
||||
bool save(QString *errorString, const QString &fileName, bool autoSave);
|
||||
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const;
|
||||
|
||||
Reference in New Issue
Block a user