Logo Search packages:      
Sourcecode: kdbus version File versions  Download package

QDBusProxy::QDBusProxy ( const QString &  service,
const QString &  path,
const QString &  interface,
const QDBusConnection connection,
QObject *  parent = 0,
const char *  name = 0 

Creates a proxy for a given peer on a given connection.

This creates a proxy for a specific peer object-interface combination It is equvalent to creating an "empty" proxy and calling setConnection(), setService(), setPath() and setInterface() manually.

service the name the peer's host application uses on the bus
path the peer object's path within its host application
interface the interface to work with
connection the DBus connection to work on
parent QObject parent
name QObject name

Definition at line 65 of file qdbusproxy.cpp.

References setConnection().

    : QObject(parent, (name ? name : "QDBusProxy")),
      d(new Private())

    d->service = service;
    d->path = path;
    d->interface = interface;

Generated by  Doxygen 1.6.0   Back to index