Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QIBusPlatformInputContextPrivate Class Reference
+ Collaboration diagram for QIBusPlatformInputContextPrivate:

Public Member Functions

 QIBusPlatformInputContextPrivate ()
 
 ~QIBusPlatformInputContextPrivate ()
 
void createConnection ()
 
void initBus ()
 
void createBusProxy ()
 

Static Public Member Functions

static QString getSocketPath ()
 

Public Attributes

std::unique_ptr< QIBusProxybus
 
std::unique_ptr< QIBusProxyPortalportalBus
 
std::unique_ptr< QIBusInputContextProxycontext
 
QDBusServiceWatcher serviceWatcher
 
bool usePortal
 
bool valid
 
bool busConnected
 
QString predit
 
QList< QInputMethodEvent::Attributeattributes
 
bool needsSurroundingText
 
QLocale locale
 

Detailed Description

Definition at line 50 of file qibusplatforminputcontext.cpp.

Constructor & Destructor Documentation

◆ QIBusPlatformInputContextPrivate()

QIBusPlatformInputContextPrivate::QIBusPlatformInputContextPrivate ( )

Definition at line 609 of file qibusplatforminputcontext.cpp.

References bus, debug, desc, QStandardPaths::findExecutable(), QString::fromLocal8Bit(), initBus(), QString::isEmpty(), locale, qDebug, usePortal, and valid.

+ Here is the call graph for this function:

◆ ~QIBusPlatformInputContextPrivate()

QIBusPlatformInputContextPrivate::~QIBusPlatformInputContextPrivate ( )
inline

Definition at line 55 of file qibusplatforminputcontext.cpp.

References bus, context, QDBusConnection::disconnectFromBus(), portalBus, serviceWatcher, and QDBusServiceWatcher::setConnection().

+ Here is the call graph for this function:

Member Function Documentation

◆ createBusProxy()

void QIBusPlatformInputContextPrivate::createBusProxy ( )

Definition at line 639 of file qibusplatforminputcontext.cpp.

References QDBusServiceWatcher::addWatchedService(), bus, busConnected, connection, context, debug, QDBusReply< T >::isValid(), portalBus, qDebug, qWarning, QDBusServiceWatcher::removeWatchedService(), serviceWatcher, QDBusServiceWatcher::setConnection(), usePortal, and QDBusReply< T >::value().

Referenced by initBus().

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

◆ createConnection()

void QIBusPlatformInputContextPrivate::createConnection ( )

Definition at line 740 of file qibusplatforminputcontext.cpp.

References QFileDevice::atEnd(), QDBusConnection::connectToBus(), debug, file, QString::fromLatin1(), getSocketPath(), line, QString::mid(), QFile::open(), qDebug, QIODevice::readLine(), QIODeviceBase::ReadOnly, QDBusConnection::SessionBus, QString::startsWith(), QString::toInt(), and usePortal.

Referenced by initBus().

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

◆ getSocketPath()

QString QIBusPlatformInputContextPrivate::getSocketPath ( )
static

Definition at line 700 of file qibusplatforminputcontext.cpp.

References QStandardPaths::ConfigLocation, debug, QString::fromLocal8Bit(), QByteArray::left(), QDBusConnection::localMachineId(), QByteArray::mid(), pos, qDebug, qEnvironmentVariableIsSet(), qgetenv(), and QStandardPaths::writableLocation().

Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), QIBusPlatformInputContext::connectToBus(), and createConnection().

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

◆ initBus()

void QIBusPlatformInputContextPrivate::initBus ( )

Definition at line 632 of file qibusplatforminputcontext.cpp.

References busConnected, createBusProxy(), and createConnection().

Referenced by QIBusPlatformInputContextPrivate(), and QIBusPlatformInputContext::connectToBus().

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

Member Data Documentation

◆ attributes

◆ bus

◆ busConnected

◆ context

◆ locale

◆ needsSurroundingText

bool QIBusPlatformInputContextPrivate::needsSurroundingText

◆ portalBus

std::unique_ptr<QIBusProxyPortal> QIBusPlatformInputContextPrivate::portalBus

◆ predit

◆ serviceWatcher

◆ usePortal

◆ valid

bool QIBusPlatformInputContextPrivate::valid

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