Telepathy::Client::DBus::PeerInterface Class Reference
[Generic D-Bus proxies]

#include <TelepathyQt4/Client/DBus>

Inheritance diagram for Telepathy::Client::DBus::PeerInterface:

Inheritance graph
[legend]
Collaboration diagram for Telepathy::Client::DBus::PeerInterface:

Collaboration graph
[legend]

List of all members.

Public Slots

QDBusPendingReply Ping ()
QDBusPendingReply< QString > GetMachineId ()

Public Member Functions

 PeerInterface (const QString &serviceName, const QString &objectPath, QObject *parent=0)
 PeerInterface (const QDBusConnection &connection, const QString &serviceName, const QString &objectPath, QObject *parent=0)
 PeerInterface (Telepathy::Client::DBusProxy *proxy)
 PeerInterface (const Telepathy::Client::AbstractInterface &mainInterface)
 PeerInterface (const Telepathy::Client::AbstractInterface &mainInterface, QObject *parent)

Static Public Member Functions

static const char * staticInterfaceName ()

Protected Member Functions

virtual void invalidate (Telepathy::Client::DBusProxy *, const QString &, const QString &)


Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.DBus.Peer."

Constructor & Destructor Documentation

Telepathy::Client::DBus::PeerInterface::PeerInterface ( const QString &  serviceName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a PeerInterface associated with the given object on the session bus.

Parameters:
serviceName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.

Telepathy::Client::DBus::PeerInterface::PeerInterface ( const QDBusConnection &  connection,
const QString &  serviceName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a PeerInterface associated with the given object on the given bus.

Parameters:
connection The bus via which the object can be reached.
serviceName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.

Telepathy::Client::DBus::PeerInterface::PeerInterface ( Telepathy::Client::DBusProxy proxy  ) 

Creates a PeerInterface associated with the same object as the given proxy.

Parameters:
proxy The proxy to use. It will also be the QObject::parent() for this object.

Telepathy::Client::DBus::PeerInterface::PeerInterface ( const Telepathy::Client::AbstractInterface mainInterface  )  [explicit]

Creates a PeerInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.

Parameters:
mainInterface The proxy to use.

Telepathy::Client::DBus::PeerInterface::PeerInterface ( const Telepathy::Client::AbstractInterface mainInterface,
QObject *  parent 
)

Creates a PeerInterface associated with the same object as the given proxy. However, a different parent object can be specified.

Parameters:
mainInterface The proxy to use.
parent Passed to the parent class constructor.


Member Function Documentation

QDBusPendingReply<QString> Telepathy::Client::DBus::PeerInterface::GetMachineId (  )  [inline, slot]

Begins a call to the D-Bus method "GetMachineId" on the remote object.

References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().

virtual void Telepathy::Client::DBus::PeerInterface::invalidate ( Telepathy::Client::DBusProxy ,
const QString &  ,
const QString &   
) [protected, virtual]

QDBusPendingReply Telepathy::Client::DBus::PeerInterface::Ping (  )  [inline, slot]

Begins a call to the D-Bus method "Ping" on the remote object.

References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().

static const char* Telepathy::Client::DBus::PeerInterface::staticInterfaceName (  )  [inline, static]

Returns the name of the interface "org.freedesktop.DBus.Peer", which this class represents.

Returns:
The D-Bus interface name.


Generated on Thu Mar 5 18:52:14 2009 for TelepathyQt4-0.1.1 by  doxygen 1.5.8