Should we switch from KDE_fseek to QT_FSEEK, etc. ? was: Re: [Kde-pim] kmail doesn't compile from trunk on Slackware GNU/Linux
Jaroslaw Staniek
js at iidea.pl
Thu Jan 24 22:00:32 GMT 2008
Thiago Macieira said the following, On 2008-01-24 17:17:
> Why are we using the low-level functions in the first place? Shouldn't the
> code be using QFile?
>
> Why do we even have C code?
The answer is as usual: for low-level, performance-critical parts of KDElibs
and other libs, eg.:
- kdecore
- KMail storage
- kdebase (kioslaves)
- ...
examples:
http://lxr.kde.org/ident?i=KDE_open
http://lxr.kde.org/ident?i=KDE_stat
Summing up, no single usage of these functions whapped by macros expose them
in the public APIs.
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
More information about the kde-core-devel
mailing list