Thread
:
Does QDBusConnection receive system signal?
View Single Post
yuanlai2222
2011-03-11 , 02:50
Posts: 2 | Thanked: 0 times | Joined on Mar 2011
#
1
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?
Quote & Reply
|
yuanlai2222
View Public Profile
Find all posts by yuanlai2222