forked from qt-creator/qt-creator
Doc: Remove docs for the obsolete "errorString" argument
...from save() and reload(). Change-Id: I25ecc485fe14182ade8a9e8a5b0179fe59af9206 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -332,8 +332,6 @@ IDocument::OpenResult IDocument::open(QString *errorString, const Utils::FilePat
|
|||||||
document should avoid cleanups or other operations that it does for
|
document should avoid cleanups or other operations that it does for
|
||||||
user-requested saves.
|
user-requested saves.
|
||||||
|
|
||||||
Use \a errorString to return an error message if saving failed.
|
|
||||||
|
|
||||||
Returns whether saving was successful.
|
Returns whether saving was successful.
|
||||||
|
|
||||||
If saving was successful saved is emitted.
|
If saving was successful saved is emitted.
|
||||||
@@ -452,9 +450,6 @@ IDocument::ReloadBehavior IDocument::reloadBehavior(ChangeTrigger trigger, Chang
|
|||||||
The \a type specifies whether only the file permissions changed or if the
|
The \a type specifies whether only the file permissions changed or if the
|
||||||
contents of the file changed.
|
contents of the file changed.
|
||||||
|
|
||||||
Use \a errorString to return an error message, if this document cannot
|
|
||||||
handle the file contents.
|
|
||||||
|
|
||||||
Returns if the file was reloaded successfully.
|
Returns if the file was reloaded successfully.
|
||||||
|
|
||||||
The default implementation does nothing and returns \c true.
|
The default implementation does nothing and returns \c true.
|
||||||
|
Reference in New Issue
Block a user