ContextProvider::ManagerAdaptor Class Reference

A DBus adaptor for implementing the org.freedesktop.ContextKit.Manager interface. The primary operation to perform through this adaptor is to get the subscriber. More...

#include <manageradaptor.h>

List of all members.

Public Slots

QDBusObjectPath GetSubscriber (const QDBusMessage &msg)
 Executes Manager::getSubscriber on the managed Manager.
void OnServiceOwnerChanged (const QString &, const QString &, const QString &)
 Dbus interface slot.

Public Member Functions

 ManagerAdaptor (Manager *manager, QDBusConnection *connection)
 Constructor.


Detailed Description

A DBus adaptor for implementing the org.freedesktop.ContextKit.Manager interface. The primary operation to perform through this adaptor is to get the subscriber.

Constructor & Destructor Documentation

ContextProvider::ManagerAdaptor::ManagerAdaptor ( Manager manager,
QDBusConnection *  conn 
)

Constructor.

Creates new adaptor for the given manager with the given dbus connection. The connection conn is not retained.


Member Function Documentation

QDBusObjectPath ContextProvider::ManagerAdaptor::GetSubscriber ( const QDBusMessage &  msg  )  [slot]

Executes Manager::getSubscriber on the managed Manager.

void ContextProvider::ManagerAdaptor::OnServiceOwnerChanged ( const QString &  name,
const QString &  oldName,
const QString &  newName 
) [slot]

Dbus interface slot.

The ManagerAdaptor listens for dbus bus names changing to notify the managed Manager that a bus name is gone. It does it through Manager::busNameIsGone function.


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 11:55:02 2009 for libcontextprovider by  doxygen 1.5.8