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

List:       kde-extra-gear
Subject:    Re: [Kde-extra-gear] gz support for ktorrent
From:       "Andrey Vul" <andrey.vul () gmail ! com>
Date:       2008-12-04 16:53:01
Message-ID: e38d12ff0812040853h281c70f1h18984620440f98f1 () mail ! gmail ! com
[Download RAW message or body]

On Thu, Dec 4, 2008 at 06:33, Eike Hein <hein@kde.org> wrote:
> 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.
As in zlib-compressed files or zlib-compressed tarballs?

Because if it's the latter, wouldn't it be more appropriate to use
KFilterDev, read the data using QIODevice, then write it to the text
file?



-- 
Andrey Vul
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gear@kde.org
https://mail.kde.org/mailman/listinfo/kde-extra-gear
[prev in list] [next in list] [prev in thread] [next in thread] 

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