On Sat, Apr 28, 2012 at 22:44, Kevin Krammer <[email protected]> wrote:
> On Saturday, 2012-04-28, George Kiagiadakis wrote: > > > No, the classes that wrap GObjects do not need a d-pointer. All the > > calls are forwarded to the underlying GObject and if for any reason we > > ever need to save extra data on the wrapper class (which is highly > > unlikely), we should use the GObject qdata for that. Wrapper classes > > may be destroyed and re-allocated by QtGLib and therefore they > > shouldn't hold any data. > > So the GObject has a d-pointer? > > Any specific reason there is a GObject at all? My very basic understanding > of > Telepathy was that it is D-Bus based services. > Telepathy is based on D-Bus services, however this is about Telepathy logger [1], which is a GObject-based implementation of a central logging Telepathy component, which does not use D-Bus for sending the logs as it is quite heavy data and D-Bus for this purpose is rather slow, so it provides a direct access API. Our telepathy-logger-qt, which we want to move to Extragear, basically just wraps the original logger into Qt-like API, so that it can be used with Qt/KDE apps easily. [1] - http://telepathy.freedesktop.org/wiki/Logger -- Martin Klapetek | KDE Developer
