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

void QDBusConnection::unregisterObject ( const QString &  path  ) 

Unregister a service object on a given path.

Removes any mapping of object path to service object previously registered by registerObject(). See section Object paths for details.

always(!) unregister a service object before deleting it

Definition at line 336 of file qdbusconnection.cpp.

    if (!d || !d->connection || path.isEmpty())

    QDBusConnectionPrivate::ObjectMap::iterator it = d->registeredObjects.find(path);
    if (it == d->registeredObjects.end())
        return ;


Generated by  Doxygen 1.6.0   Back to index