![]() |
Does QDBusConnection receive system signal?
I'm new in dbus, now I trying to use QDBus catch phone call just like this:
QDBusConnection::systemBus().connect(QString(), "/com/nokia/csd/call", "com.nokia.csd.Call", "Coming", this, SLOT(callEvent(QString,QString))); but the slot haven't been called... I use dbus-monitor to check this case, I find that only "dbus-monitor --system" can catch this signal, which means this signal is a system level signal, am I right? Then I use "QDBusConnection::systemBus().connect" to hook other signal which can be catched by "dbus-monitor --session", it can work. So I wonder if "QDBusConnection::systemBus().connect" just catch session level signal? And then how to use qdbus to get system level signal? |
Re: Does QDBusConnection receive system signal?
I get it...
QDBusConnection::SessionBus.connect catch session signal QDBusConnection::SystemBus.connect catch system signal |
All times are GMT. The time now is 19:17. |
vBulletin® Version 3.8.8