[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KTar + KTempFile + QFilePrivate::openExternalFile
From:       David Faure <faure () kde ! org>
Date:       2005-09-18 23:20:13
Message-ID: 200509190120.13802.faure () kde ! org
[Download RAW message or body]

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@trolltech.com about it?

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic