Re: [Interest] QtDBus interface design question

2013-11-11 Thread Thiago Macieira
On quinta-feira, 7 de novembro de 2013 19:01:57, Roland Winklmeier wrote: > Hey there, Hello Roland As promised, I have found time to read your email and reply. > I have a daemon application built with C++/Qt. It is a client for a > network and should run in the background. The plan was to conne

Re: [Interest] QtDBus interface design question

2013-11-08 Thread Roland Winklmeier
Hi mandeep, thanks for the answer. I was a little bit concerned, since I also want to have the possibility to sort the table, but with transfering only strings, I would loose the operator< () implementation. But I think I can workaround that, by passing an enum with the sort order and let the sen

Re: [Interest] QtDBus interface design question

2013-11-07 Thread Mandeep Sandhu
> The only solution I can imagine is to pass the entire table in one DBus > message, but how. I cannot pass the objects itself, because I cannot How about returning an "array" of "string"s in the method call? Both are valid DBus types and you could probably concatenate the various properties using

[Interest] QtDBus interface design question

2013-11-07 Thread Roland Winklmeier
Hey there, I'm struggling with a design issue and cannot find a easy and clean solution. So I hope you experts could help me out maybe. I have a daemon application built with C++/Qt. It is a client for a network and should run in the background. The plan was to connect the UI via DBus to this dae