diff options
author | mread <qt-info@nokia.com> | 2011-01-07 11:07:08 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2011-02-10 12:26:33 (GMT) |
commit | f29b95cef0441958050c86d3544cdfde32e9e62e (patch) | |
tree | 1020798e76164f3597b34cf590d3d5b3f06191ae /doc/src/snippets/code/doc_src_unix-signal-handlers.cpp | |
parent | 977638104d091dd8780f4d1bee79bf014d6a2fe9 (diff) | |
download | Qt-f29b95cef0441958050c86d3544cdfde32e9e62e.zip Qt-f29b95cef0441958050c86d3544cdfde32e9e62e.tar.gz Qt-f29b95cef0441958050c86d3544cdfde32e9e62e.tar.bz2 |
Using QFile open by RFile and take ownership of handle
QFileOpenEvent's open method now opens the QFile with an RFile handle if
possible. It takes a duplicate of the handle and transfers ownership to
the QFile, so that the QFile can be used many times and outside of the
lifetime of the QFileOpenEvent.
Task-number: QTBUG-15015
Reviewed-by: Shane Kearns
Diffstat (limited to 'doc/src/snippets/code/doc_src_unix-signal-handlers.cpp')
0 files changed, 0 insertions, 0 deletions