diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-21 03:21:30 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-21 03:21:30 (GMT) |
commit | 55c279a2608ff174ae964e08b85b48fa3102b5b5 (patch) | |
tree | 0e4857f85a490199edd711517bcd2c4e8bf565aa /src/corelib/io/qfile_p.h | |
parent | 5b445e21bae38b6b82e2e19603df983303a45547 (diff) | |
parent | 2b9690e1b2bceb2923d1e3941186fa74f2457043 (diff) | |
download | Qt-55c279a2608ff174ae964e08b85b48fa3102b5b5.zip Qt-55c279a2608ff174ae964e08b85b48fa3102b5b5.tar.gz Qt-55c279a2608ff174ae964e08b85b48fa3102b5b5.tar.bz2 |
Merge branch 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor into master-integration
* 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor:
Update def files
Add autotests for AutoCloseHandle / DontCloseHandle and RFile adoption
QFile API: add API to specify if adopted file handles should be closed
Diffstat (limited to 'src/corelib/io/qfile_p.h')
-rw-r--r-- | src/corelib/io/qfile_p.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/io/qfile_p.h b/src/corelib/io/qfile_p.h index cf76c09..085bbf0 100644 --- a/src/corelib/io/qfile_p.h +++ b/src/corelib/io/qfile_p.h @@ -67,8 +67,11 @@ protected: QFilePrivate(); ~QFilePrivate(); - bool openExternalFile(int flags, int fd); - bool openExternalFile(int flags, FILE *fh); + bool openExternalFile(int flags, int fd, QFile::FileHandleFlags handleFlags); + bool openExternalFile(int flags, FILE *fh, QFile::FileHandleFlags handleFlags); +#ifdef Q_OS_SYMBIAN + bool openExternalFile(int flags, const RFile& f, QFile::FileHandleFlags handleFlags); +#endif QString fileName; mutable QAbstractFileEngine *fileEngine; |