[Kde-extra-gear] gz support for ktorrent

Eike Hein hein at kde.org
Thu Dec 4 12:33:48 CET 2008


Andrey Vul wrote:
> Is there a preferred way of decompressing zlib-compressed files in
> KDE? I don't want to make the code uglier or make a patch larger by
> using zlib.h, introducing C/non-KDE/non-Qt code, especially since this
> will be my first patch for KDE.
> A link to the relevant documentation would be ideal.

KArchive / KTar:
http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/classKArchive.html
http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/classKTar.html

Where the tar stuff also handles gzip and bzip2.


-- 
Regards,
Eike Hein, hein at kde.org


More information about the Kde-extra-gear mailing list