[Interest] Determine caller of currently invoked D-Bus adaptor method?

Matt Hoosier matt.hoosier at gmail.com
Tue Jul 30 18:10:51 CEST 2013


Wait, it appears I overlooked notes in that page specifically addressed to
my last question. I retract for now. :)


On Tue, Jul 30, 2013 at 11:09 AM, Matt Hoosier <matt.hoosier at gmail.com>wrote:

> Well, right. But that language "do not subclass QDBusContext and
> QDBusAbstractAdaptor at the same time" seems to rule out using the
> code-generations tools (which root their generated types underneath
> QDBusAbstractAdaptor), does it not?
>
>
> On Tue, Jul 30, 2013 at 10:42 AM, Thiago Macieira <
> thiago.macieira at intel.com> wrote:
>
>> On terça-feira, 30 de julho de 2013 08:53:04, Matt Hoosier wrote:
>> > It doesn't appear that the adaptor framework offers a simple way to
>> fetch
>> > the QDBusMessage on whose behalf the current slot method has been
>> invoked,
>> > though. Did I perhaps miss a way to do this?
>>
>> http://qt-project.org/doc/qt-5.1/qtdbus/qdbuscontext.html
>>
>> "Note: do not subclass QDBusContext and QDBusAbstractAdaptor at the same
>> time.
>> QDBusContext should appear in the real object, not the adaptor."
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130730/2cfe4724/attachment.html>


More information about the Interest mailing list