diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-09-28 10:39:53 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-09-28 13:11:31 (GMT) |
commit | 783f1de86112745eb4fca3bb0a8d75a4197a70c9 (patch) | |
tree | ca766ae70eef1f55b624cb07e23c00e55970d49e /src/corelib/io | |
parent | 8f872c92e44ada010afea6f828f109dc2f4feb51 (diff) | |
download | Qt-783f1de86112745eb4fca3bb0a8d75a4197a70c9.zip Qt-783f1de86112745eb4fca3bb0a8d75a4197a70c9.tar.gz Qt-783f1de86112745eb4fca3bb0a8d75a4197a70c9.tar.bz2 |
symbian - document behaviour of QFile::handle()
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qfile.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 06c403a..d08574d 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -1332,6 +1332,13 @@ bool QFile::open(const RFile &f, OpenMode mode, FileHandleFlags handleFlags) This function is not supported on Windows CE. + On Symbian, this function returns -1 if the file was opened normally, + as Symbian OS native file handles do not fit in an int, and are + incompatible with C library functions that the handle would be used for. + If the file was opened using the overloads that take an open C library + file handle / file descriptor, then this function returns that same + handle. + \sa QSocketNotifier */ |