Re: Question about zip

2009-11-15 Thread Yuen Hoe Lim
KArchive, got it. Thanks :) On 11/16/09, Aaron J. Seigo wrote: > On November 15, 2009, Yuen Hoe Lim wrote: >> Is this an acceptable approach? In particular does this have >> portability issues and such? > > yes, as Alessandro pointed out, you can use KArchive for this. it's what we > use to expan

Re: Question about zip

2009-11-15 Thread Aaron J. Seigo
On November 15, 2009, Yuen Hoe Lim wrote: > Is this an acceptable approach? In particular does this have > portability issues and such? yes, as Alessandro pointed out, you can use KArchive for this. it's what we use to expand plasmoids in libplasma. you can find an example of its usage in kdelib

Re: Question about zip

2009-11-15 Thread Alessandro Diaferia
2009/11/15 Yuen Hoe Lim > Hi all, > > So I've been doing some work with PlasMate's publisher widget, and was > wondering what is the correct way to do a zip (afaik plasmoid packages > are basically zipped archives right?). Right now I'm basically calling > a 'zip -r', my code looks like this: > >

Question about zip

2009-11-15 Thread Yuen Hoe Lim
Hi all, So I've been doing some work with PlasMate's publisher widget, and was wondering what is the correct way to do a zip (afaik plasmoid packages are basically zipped archives right?). Right now I'm basically calling a 'zip -r', my code looks like this: QStringList argv("zip"); argv.a