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

void QDBusConnection::closeConnection ( const QString &  name = default_connection_name  )  [static]

Closes a connection with a given name.

Removes the name from the pool of shared connections, i.e. a call to addConnection() with the same name afterwards will create a new connection.

Parameters:
name the connection name as used in addConnection()

Definition at line 229 of file qdbusconnection.cpp.

{
    manager()->removeConnection(name);
}


Generated by  Doxygen 1.6.0   Back to index