Home · Modules · All Classes · All Namespaces
Public Member Functions | Protected Member Functions | List of all members
Tp::DBusObject Class Reference

A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object. More...

#include <TelepathyQt/DBusObject>

Inherits QObject.

Public Member Functions

 DBusObject (const QDBusConnection &dbusConnection, QObject *parent=0)
 
virtual ~DBusObject ()
 
QString objectPath () const
 
QDBusConnection dbusConnection () const
 

Protected Member Functions

void setObjectPath (const QString &path)
 

Detailed Description

A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object.

Constructor & Destructor Documentation

◆ DBusObject()

Tp::DBusObject::DBusObject ( const QDBusConnection &  dbusConnection,
QObject *  parent = 0 
)

Construct a DBusObject that operates on the given dbusConnection.

Parameters
dbusConnectionThe D-Bus connection to use.
parentThe QObject parent of this instance.

◆ ~DBusObject()

Tp::DBusObject::~DBusObject ( )
virtual

Class destructor.

Member Function Documentation

◆ objectPath()

QString Tp::DBusObject::objectPath ( ) const

◆ dbusConnection()

QDBusConnection Tp::DBusObject::dbusConnection ( ) const

Return the D-Bus connection associated with this object.

Returns
The D-Bus connection associated with this object.

◆ setObjectPath()

void Tp::DBusObject::setObjectPath ( const QString &  path)
protected