Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qdbusconnectionmanager_p.h>
Public Member Functions | |
QDBusConnectionManager () | |
~QDBusConnectionManager () | |
QDBusConnectionPrivate * | busConnection (QDBusConnection::BusType type) |
QDBusConnectionPrivate * | existingConnection (const QString &name) const |
void | removeConnections (const QStringList &names) |
void | disconnectFrom (const QString &name, QDBusConnectionPrivate::ConnectionMode mode) |
void | addConnection (const QString &name, QDBusConnectionPrivate *c) |
QDBusConnectionPrivate * | connectToBus (QDBusConnection::BusType type, const QString &name, bool suspendedDelivery) |
QDBusConnectionPrivate * | connectToBus (const QString &address, const QString &name) |
QDBusConnectionPrivate * | connectToPeer (const QString &address, const QString &name) |
void | createServer (const QString &address, QDBusServer *server) |
Static Public Member Functions | |
static QDBusConnectionManager * | instance () |
Protected Member Functions | |
void | run () override |
Definition at line 30 of file qdbusconnectionmanager_p.h.
QDBusConnectionManager::QDBusConnectionManager | ( | ) |
Definition at line 95 of file qdbusconnectionmanager.cpp.
References QDBusMetaTypeId::init(), and moveToThread().
QDBusConnectionManager::~QDBusConnectionManager | ( | ) |
Definition at line 114 of file qdbusconnectionmanager.cpp.
void QDBusConnectionManager::addConnection | ( | const QString & | name, |
QDBusConnectionPrivate * | c ) |
Definition at line 136 of file qdbusconnectionmanager.cpp.
QT_BEGIN_NAMESPACE QDBusConnectionPrivate * QDBusConnectionManager::busConnection | ( | QDBusConnection::BusType | type | ) |
Definition at line 26 of file qdbusconnectionmanager.cpp.
References QThread::currentThread(), Q_ASSERT, qApp, qdbus_loadLibDBus(), QStringLiteral, QDBusConnection::SessionBus, and QDBusConnection::SystemBus.
QDBusConnectionPrivate * QDBusConnectionManager::connectToBus | ( | const QString & | address, |
const QString & | name ) |
Definition at line 177 of file qdbusconnectionmanager.cpp.
References Qt::BlockingQueuedConnection, QMetaObject::invokeMethod(), and qReturnArg().
QDBusConnectionPrivate * QDBusConnectionManager::connectToBus | ( | QDBusConnection::BusType | type, |
const QString & | name, | ||
bool | suspendedDelivery ) |
Definition at line 162 of file qdbusconnectionmanager.cpp.
References Qt::BlockingQueuedConnection, QMetaObject::invokeMethod(), qApp, and qReturnArg().
QDBusConnectionPrivate * QDBusConnectionManager::connectToPeer | ( | const QString & | address, |
const QString & | name ) |
Definition at line 187 of file qdbusconnectionmanager.cpp.
References Qt::BlockingQueuedConnection, QMetaObject::invokeMethod(), and qReturnArg().
void QDBusConnectionManager::createServer | ( | const QString & | address, |
QDBusServer * | server ) |
Definition at line 290 of file qdbusconnectionmanager.cpp.
References Qt::BlockingQueuedConnection, d, error, QMetaObject::invokeMethod(), server, and QDBusConnectionPrivate::setServer().
Referenced by QDBusServer::QDBusServer().
void QDBusConnectionManager::disconnectFrom | ( | const QString & | name, |
QDBusConnectionPrivate::ConnectionMode | mode ) |
Definition at line 84 of file qdbusconnectionmanager.cpp.
References connection, and d.
QDBusConnectionPrivate * QDBusConnectionManager::existingConnection | ( | const QString & | name | ) | const |
Definition at line 53 of file qdbusconnectionmanager.cpp.
References connection.
|
static |
Definition at line 120 of file qdbusconnectionmanager.cpp.
Referenced by QDBusConnection::QDBusConnection(), QDBusServer::QDBusServer(), QDBusServer::~QDBusServer(), QDBusConnection::connectToBus(), QDBusConnection::connectToBus(), QDBusConnection::connectToPeer(), QDBusConnection::disconnectFromBus(), QDBusConnection::disconnectFromPeer(), qDBusNewConnection(), QDBusConnection::sessionBus(), and QDBusConnection::systemBus().
void QDBusConnectionManager::removeConnections | ( | const QStringList & | names | ) |
Definition at line 76 of file qdbusconnectionmanager.cpp.
|
overrideprotected |
Definition at line 142 of file qdbusconnectionmanager.cpp.
References QHash< Key, T >::clear(), d, exec(), and moveToThread().