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

QDBusConnection::QDBusConnection ( const QString &  name  ) 

Creates a connection handle to a named connection.

This will result in an disconnected connection handle if no connection with that name has been created by addConnection before.

Therefore it is recommended to use addConnection() instead to get a connection handle.

Parameters:
name identifier of the shared connection object

Definition at line 146 of file qdbusconnection.cpp.

{
    d = manager()->connection(name);
    if (d)
        d->ref.ref();
}


Generated by  Doxygen 1.6.0   Back to index