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>.
Loading...
Searching...
No Matches
QDBusConnectionManager Class Reference

#include <qdbusconnectionmanager_p.h>

+ Inheritance diagram for QDBusConnectionManager:
+ Collaboration diagram for QDBusConnectionManager:

Public Member Functions

 QDBusConnectionManager ()
 
 ~QDBusConnectionManager ()
 
QDBusConnectionPrivatebusConnection (QDBusConnection::BusType type)
 
QDBusConnectionPrivateexistingConnection (const QString &name) const
 
void removeConnections (const QStringList &names)
 
void disconnectFrom (const QString &name, QDBusConnectionPrivate::ConnectionMode mode)
 
void addConnection (const QString &name, QDBusConnectionPrivate *c)
 
QDBusConnectionPrivateconnectToBus (QDBusConnection::BusType type, const QString &name, bool suspendedDelivery)
 
QDBusConnectionPrivateconnectToBus (const QString &address, const QString &name)
 
QDBusConnectionPrivateconnectToPeer (const QString &address, const QString &name)
 
void createServer (const QString &address, QDBusServer *server)
 

Static Public Member Functions

static QDBusConnectionManagerinstance ()
 

Protected Member Functions

void run () override
 

Detailed Description

Definition at line 30 of file qdbusconnectionmanager_p.h.

Constructor & Destructor Documentation

◆ QDBusConnectionManager()

QDBusConnectionManager::QDBusConnectionManager ( )

Definition at line 95 of file qdbusconnectionmanager.cpp.

References QDBusMetaTypeId::init(), and moveToThread().

+ Here is the call graph for this function:

◆ ~QDBusConnectionManager()

QDBusConnectionManager::~QDBusConnectionManager ( )

Definition at line 114 of file qdbusconnectionmanager.cpp.

Member Function Documentation

◆ addConnection()

void QDBusConnectionManager::addConnection ( const QString & name,
QDBusConnectionPrivate * c )

Definition at line 136 of file qdbusconnectionmanager.cpp.

◆ busConnection()

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.

+ Here is the call graph for this function:

◆ connectToBus() [1/2]

QDBusConnectionPrivate * QDBusConnectionManager::connectToBus ( const QString & address,
const QString & name )

Definition at line 177 of file qdbusconnectionmanager.cpp.

References Qt::BlockingQueuedConnection, QMetaObject::invokeMethod(), and qReturnArg().

+ Here is the call graph for this function:

◆ connectToBus() [2/2]

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().

+ Here is the call graph for this function:

◆ connectToPeer()

QDBusConnectionPrivate * QDBusConnectionManager::connectToPeer ( const QString & address,
const QString & name )

Definition at line 187 of file qdbusconnectionmanager.cpp.

References Qt::BlockingQueuedConnection, QMetaObject::invokeMethod(), and qReturnArg().

+ Here is the call graph for this function:

◆ createServer()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ disconnectFrom()

void QDBusConnectionManager::disconnectFrom ( const QString & name,
QDBusConnectionPrivate::ConnectionMode mode )

Definition at line 84 of file qdbusconnectionmanager.cpp.

References connection, and d.

◆ existingConnection()

QDBusConnectionPrivate * QDBusConnectionManager::existingConnection ( const QString & name) const

Definition at line 53 of file qdbusconnectionmanager.cpp.

References connection.

◆ instance()

QDBusConnectionManager * QDBusConnectionManager::instance ( )
static

◆ removeConnections()

void QDBusConnectionManager::removeConnections ( const QStringList & names)

Definition at line 76 of file qdbusconnectionmanager.cpp.

◆ run()

void QDBusConnectionManager::run ( )
overrideprotected

Definition at line 142 of file qdbusconnectionmanager.cpp.

References QHash< Key, T >::clear(), d, exec(), and moveToThread().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: