[Development] QDBusConnection - connect to "catch all" slot ?

Martin Koller kollix at aon.at
Fri Aug 26 20:04:08 CEST 2016


Hi,

In QDBusConnection there are several connect() methods which check the signature of the signal against
the connected slot.
Since I'd like to implement a scripting possibility around this, I'd need the possibility to
either be able to receive all QDBusMessages (at least from DBus signals) or a way where
the slot just gets all arguments via a single QList<QVariant> parameter (from QDBusMessage::arguments()).

Is there currently a way to achieve this ?
I found qDBusAddSpyHook - probably this is what I'm looking for ?
Or what was the reason to have this function ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at



More information about the Development mailing list