KTar + KTempFile + QFilePrivate::openExternalFile

David Faure faure at kde.org
Mon Sep 19 00:20:13 BST 2005


On Saturday 17 September 2005 10:53, Sascha Cunz wrote:
> Though, Qt3 docs says too, that calling QFile::close() after calling 
> QFile::open(FILE*, OpenMode) does nothing but flush the file.
> 
> All i wanted to say is, that the comment in KTar that says "File has to be 
> closed to be used for KArchive::setDevice(QIODevice*)" is plain wrong. 
> Because it ain't closed according to Qt-Docs.

It's closed in the sense that isClosed() is true and than open() will work,
that's all that matters as far as that comment goes.

About the Qt4 bug: can you mail qt-bugs at trolltech.com about it?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list