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

List:       kde-devel
Subject:    Re: Problems with Solid in kio-slave (Slots not called, properties not updated)
From:       Alex Fiestas <afiestas () kde ! org>
Date:       2013-02-11 17:33:59
Message-ID: 3630583.NxmIOGMk0h () monsterbad
[Download RAW message or body]

On Monday 11 February 2013 16:54:30 Philipp Schmidt wrote:
> Hi,
> 
> I would like my kio_mtp slave to be notified by Solid::DeviceNotifier
> events. However I can't get the Solid::Devicenotifier to work within my
> helper thread, as slots apparently can't be called from slave itself. A
> QTimer::singleShot() works fine. The exact same code, put into a simple
> QCoreApplication works like a charm.
I haven't checked the code but mind that for signals/slots to work you need a 
QEventLoop, slaves do not have one.

>> 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