Op 13 jan. 2016 11:15 p.m. schreef "Thiago Macieira" < thiago.macie...@intel.com>: > > On Wednesday 13 January 2016 21:19:33 Mark Gaiser wrote: > > Hi, > > > > I'm trying to monitor "org.freedesktop.Notifications" for the notifications > > (see [1] for reference) that broadcasted from there. Every notification > > ends up in a "Notify" method on that dbus interface. > > Hi Mark. "Monitoring" in D-Bus usually means running dbus-monitor and you do > that for debugging purposes. I don't think that's what you mean. > > Do you mean listening to signals? If you mean that, there's no "method" > (a.k.a. a slot), only "signal".
Hi Thiago, I want my app to get all notifications that are being passed through org.freedesktop.Notifications without the app itself registering as "org.freedesktop.Notifications" service. I'm not sure about the best approach for that.. Do you happen to know what might work? > > > I'm trying to monitor that, but kinda fail at it... I can monitor the > > notifications with dbus-monitor > > "interface='org.freedesktop.Notifications',member='Notify',type='method_call > > ',eavesdrop='true'", doing the same in code is not firing the slot i'd like > > it to call.. > > Eavesdrop implies debugging. QtDBus will not do this, no matter how much you > try. Forget it. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest