From 59117012f27355830ceda4fc7f9e5f637d07fcc9 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 9 Aug 2012 14:54:07 +0200 Subject: [PATCH] Document QFile::open() argument "handleFlags" Change-Id: I5ef909b21ddd4782062dd4ebd0ea7bca33f3387f Reviewed-by: Casper van Donderen --- src/corelib/io/qfile.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index dc926caa1f..2c81110225 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -847,6 +847,7 @@ bool QFile::open(OpenMode mode) \overload Opens the existing file handle \a fh in the given \a mode. + \a handleFlags may be used to specify additional options. Returns true if successful; otherwise returns false. Example: @@ -918,6 +919,7 @@ bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags) \overload Opens the existing file descriptor \a fd in the given \a mode. + \a handleFlags may be used to specify additional options. Returns true if successful; otherwise returns false. When a QFile is opened using this function, behaviour of close() is