![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QIBusPlatformInputContextPrivate () | |
~QIBusPlatformInputContextPrivate () | |
void | createConnection () |
void | initBus () |
void | createBusProxy () |
Static Public Member Functions | |
static QString | getSocketPath () |
Public Attributes | |
std::unique_ptr< QIBusProxy > | bus |
std::unique_ptr< QIBusProxyPortal > | portalBus |
std::unique_ptr< QIBusInputContextProxy > | context |
QDBusServiceWatcher | serviceWatcher |
bool | usePortal |
bool | valid |
bool | busConnected |
QString | predit |
QList< QInputMethodEvent::Attribute > | attributes |
bool | needsSurroundingText |
QLocale | locale |
Definition at line 50 of file qibusplatforminputcontext.cpp.
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.
|
inline |
Definition at line 55 of file qibusplatforminputcontext.cpp.
References bus, context, QDBusConnection::disconnectFromBus(), portalBus, serviceWatcher, and QDBusServiceWatcher::setConnection().
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().
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().
|
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().
void QIBusPlatformInputContextPrivate::initBus | ( | ) |
Definition at line 632 of file qibusplatforminputcontext.cpp.
References busConnected, createBusProxy(), and createConnection().
Referenced by QIBusPlatformInputContextPrivate(), and QIBusPlatformInputContext::connectToBus().
QList<QInputMethodEvent::Attribute> QIBusPlatformInputContextPrivate::attributes |
std::unique_ptr<QIBusProxy> QIBusPlatformInputContextPrivate::bus |
Definition at line 71 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), ~QIBusPlatformInputContextPrivate(), createBusProxy(), QIBusPlatformInputContext::globalEngineChanged(), and QIBusPlatformInputContext::socketChanged().
bool QIBusPlatformInputContextPrivate::busConnected |
Definition at line 78 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::busUnregistered(), QIBusPlatformInputContext::commit(), createBusProxy(), QIBusPlatformInputContext::cursorRectChanged(), QIBusPlatformInputContext::filterEvent(), initBus(), QIBusPlatformInputContext::invokeAction(), QIBusPlatformInputContext::isValid(), QIBusPlatformInputContext::reset(), QIBusPlatformInputContext::setFocusObject(), and QIBusPlatformInputContext::socketChanged().
std::unique_ptr<QIBusInputContextProxy> QIBusPlatformInputContextPrivate::context |
Definition at line 73 of file qibusplatforminputcontext.cpp.
Referenced by ~QIBusPlatformInputContextPrivate(), QIBusPlatformInputContext::commit(), createBusProxy(), QIBusPlatformInputContext::cursorRectChanged(), QIBusPlatformInputContext::filterEvent(), QIBusPlatformInputContext::reset(), QIBusPlatformInputContext::setFocusObject(), QIBusPlatformInputContext::socketChanged(), and QIBusPlatformInputContext::update().
QLocale QIBusPlatformInputContextPrivate::locale |
Definition at line 82 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), QIBusPlatformInputContext::globalEngineChanged(), and QIBusPlatformInputContext::locale().
bool QIBusPlatformInputContextPrivate::needsSurroundingText |
Definition at line 81 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::surroundingTextRequired(), and QIBusPlatformInputContext::update().
std::unique_ptr<QIBusProxyPortal> QIBusPlatformInputContextPrivate::portalBus |
Definition at line 72 of file qibusplatforminputcontext.cpp.
Referenced by ~QIBusPlatformInputContextPrivate(), and createBusProxy().
QString QIBusPlatformInputContextPrivate::predit |
QDBusServiceWatcher QIBusPlatformInputContextPrivate::serviceWatcher |
Definition at line 74 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), ~QIBusPlatformInputContextPrivate(), createBusProxy(), and QIBusPlatformInputContext::socketChanged().
bool QIBusPlatformInputContextPrivate::usePortal |
Definition at line 76 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), QIBusPlatformInputContextPrivate(), QIBusPlatformInputContext::busRegistered(), QIBusPlatformInputContext::connectToBus(), createBusProxy(), createConnection(), and QIBusPlatformInputContext::locale().
bool QIBusPlatformInputContextPrivate::valid |
Definition at line 77 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), and QIBusPlatformInputContext::isValid().