No subject

renato fringuello rfringuello at
Wed Jun 4 00:36:07 PDT 2014

Hi, I’m using DBUS declaring my methods in the xml files and then I use
qdbusxml2cpp to generate my .h and .cpp files. I can use the native types
(like “s”, “i”, “b”) pretty well but I need to use a custom type.
I know I have to add the annotation to the xml file but I can’t figure out
how to specify my type.

Let’s say this is my class:
typedef enum{...} TestAttribute
class Test
  //const, deconst, operators...

    TestAttribute enumerator;

How can I pass this kind of object as argument of a method in the xml?

Thanks a lot guys!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dbus mailing list