kde_file.h

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Apr 2 17:16:22 BST 2006


Thiago Macieira schrieb:
> Christian Ehrlicher wrote:
>> Hi,
>>
>> I tried to replace the macros from kde_file.h with the ones from
>> qplatformdefs.h (see TODO).
>> But currently it's impossible to remove kde_file.h because KDE_fdopen
>> and some other macros aren't available in qplatformdefs.h. Also QT_LSTAT
>> isn't defined on win32... :-(
>>
>> Any ideas how to handle this?
> 
> Anywhere where kde_file.h or qplatformdefs.h is being used, it should be 
> replaced with QFile, QFileInfo, QDir or the socket classes, if possible.
> 
> There are some cases where this won't be possible, but they should be 
> really restricted. Use of file descriptors and FILE streams should be 
> kept to a minimum.
thx for the info

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060402/1f474c7a/attachment.sig>


More information about the kde-core-devel mailing list