Are D-Bus signals received by the emitting app?

David Jarvie lists at astrojar.org.uk
Sat Sep 29 12:09:27 BST 2007


I'm attempting to write a unit test for some changes to the KSystemTimeZones 
class, but when the unit test emits a D-Bus signal, it is not picked up by 
the KSystemTimeZones instance which is instanciated within the unit test. 
When the same signal is emitted by ktimezoned, it is picked up by 
KSystemTimeZones in a different app. Can a D-Bus signal be received by the 
same app which emitted it? If not, is there any way round this so that the 
unit test instance can be made to think it's receiving the signal?

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/kalarm




More information about the kde-core-devel mailing list