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

List:       kde-devel
Subject:    Re: KIO::listDir crashes when called from KIO slave
From:       David Faure <faure () kde ! org>
Date:       2005-03-22 16:52:49
Message-ID: 200503221752.50031.faure () kde ! org
[Download RAW message or body]

On Tuesday 22 March 2005 16:43, Oliver Eichler wrote:
> 
> Thanks David for the hint. Using listDir works now. 
> 
> However I got the next crash when using KMessage. I found some commented 
> KMessage stuff in the famous trash implementation. This is suggesting to use 
> the messageBox call from the SlaveBase class. Does this mean I have to pass 
> the SlaveBase class pointer to every child object just to get a message box.
Well, or make your child objects emit a signal and let SlaveBase request the message box
[which the app will display].

> And what happens if I want use another base dialog like a file dialog to ask 
> for a path from the user? Is this possible, anyway?
Not from a kioslave. It's supposed to be a non-gui program - dialogs are for the application side.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> 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