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

List:       kde-devel
Subject:    Re: gunzip and untar
From:       André_Somers <a.t.somers () student ! utwente ! nl>
Date:       2004-09-25 19:42:35
Message-ID: 200409252142.36971.a.t.somers () student ! utwente ! nl
[Download RAW message or body]

On Saturday 25 September 2004 21:14, Manuel Pérez López wrote:
> I am working into an application which needs to untar and uncompress a data
> package (containing a directory and some multimedia files) in tar.gz
> format.
>
> I can uncompress simple files with zlib and qt, with code like this (look
> in the end of this mail). But I do not know how to untar files. Zlib does
> not seem to can do this, of course, and I do not like to call system to run
> 'tar' command. Are there anyone who has solved this question from inside
> the code (maybe using any library)?
Using kio slaves would seem a logical solution, as KDE supports tar archives. 
Check out 
http://developer.kde.org/documentation/library/cvs-api/kio/html/classKArchive.html

Regards,

André
-- 
My opinions may have changed, but not the fact that I am right.
-- Ashleigh Brilliant
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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