forked from qt-creator/qt-creator
add auto-saving of modified editors
Task-number: QTCREATORBUG-2847
This commit is contained in:
@@ -46,7 +46,7 @@ QmlProjectFile::QmlProjectFile(QmlProject *parent, QString fileName)
|
||||
QmlProjectFile::~QmlProjectFile()
|
||||
{ }
|
||||
|
||||
bool QmlProjectFile::save(QString *, const QString &)
|
||||
bool QmlProjectFile::save(QString *, const QString &, bool)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
QmlProjectFile(QmlProject *parent, QString fileName);
|
||||
virtual ~QmlProjectFile();
|
||||
|
||||
virtual bool save(QString *errorString, const QString &fileName = QString());
|
||||
virtual bool save(QString *errorString, const QString &fileName, bool autoSave);
|
||||
virtual QString fileName() const;
|
||||
virtual void rename(const QString &newName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user