listdir in NetAccess
tokoe at kde.org
Sun Sep 15 17:33:37 BST 2002
On Sun, Sep 15, 2002 at 05:39:19PM +0200, David Faure wrote:
> On Sunday 15 September 2002 17:19, Tobias Koenig wrote:
> > Hi,
> > I want to implement a listdir method for NetAccess but have a problem
> > with KIO::listDir().
> > I've attached my trials and the problematic code part is in
> > NetAccess:slotResult(). How can I get the UDSEntryList of the listDir job
> > here?
> Connecting to the signal from ListDirJob which emits items.
> (That's the only way, they don't get buffered in the job, so you can't
> ask for them at the end).
So no synchronous way is possible?
> But NetAccess is a hack, and a possibly dangerous one. Do we really need
> to extend it? Why not use KIO::listDir() in your app?
I need it in libkabc to access an IMAP server. But at the moment libkabc
supports only synchronous requests.
In a world without walls and fences who
needs Windows and Gates???
More information about the kde-core-devel