forked from qt-creator/qt-creator
provide default implementation of IFile::reloadBehavior()
there only two classes of files anyway: regularly editable ones which may ask for interaction, and "background" files which always operate silently. the regular case is the more complex one, so put that into the base class.
This commit is contained in:
@@ -76,7 +76,6 @@ public:
|
||||
virtual bool isModified() const;
|
||||
virtual bool isSaveAsAllowed() const;
|
||||
virtual void checkPermissions();
|
||||
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const;
|
||||
bool reload(QString *errorString, ReloadFlag flag, ChangeType type);
|
||||
virtual QString mimeType() const;
|
||||
void setMimeType(const QString &mt);
|
||||
|
||||
Reference in New Issue
Block a user