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

bool QDBusConnection::isConnected (  )  const

Returns whether the connection is connected to a bus.

Returns:
true if the connection can be used, false if the handle does not have access to a shared connection object or if the connection to the bus could not be established or broke

Definition at line 348 of file qdbusconnection.cpp.

{
    return d && d->connection && dbus_connection_get_is_connected(d->connection);
}


Generated by  Doxygen 1.6.0   Back to index