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>.
|
Public Types | |
enum | PreeditFocusMode { PREEDIT_CLEAR = 0 , PREEDIT_COMMIT = 1 } |
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 |
PreeditFocusMode | preeditFocusMode = PREEDIT_COMMIT |
Definition at line 50 of file qibusplatforminputcontext.cpp.
Enumerator | |
---|---|
PREEDIT_CLEAR | |
PREEDIT_COMMIT |
Definition at line 56 of file qibusplatforminputcontext.cpp.
QIBusPlatformInputContextPrivate::QIBusPlatformInputContextPrivate | ( | ) |
Definition at line 635 of file qibusplatforminputcontext.cpp.
References bus, debug, QStandardPaths::findExecutable(), QString::fromLocal8Bit(), initBus(), locale, qDebug, usePortal, and valid.
|
inline |
Definition at line 62 of file qibusplatforminputcontext.cpp.
References bus, context, QDBusConnection::disconnectFromBus(), portalBus, serviceWatcher, and QDBusServiceWatcher::setConnection().
void QIBusPlatformInputContextPrivate::createBusProxy | ( | ) |
Definition at line 665 of file qibusplatforminputcontext.cpp.
References QDBusServiceWatcher::addWatchedService(), bus, busConnected, connection, context, debug, portalBus, qDebug, qWarning, QDBusServiceWatcher::removeWatchedService(), serviceWatcher, QDBusServiceWatcher::setConnection(), and usePortal.
Referenced by initBus().
void QIBusPlatformInputContextPrivate::createConnection | ( | ) |
Definition at line 768 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 728 of file qibusplatforminputcontext.cpp.
References QStandardPaths::ConfigLocation, debug, QString::fromLocal8Bit(), QByteArray::indexOf(), QByteArray::left(), QDBusConnection::localMachineId(), pos, qDebug, qEnvironmentVariableIsSet(), qgetenv(), and QStandardPaths::writableLocation().
Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), QIBusPlatformInputContext::connectToBus(), and createConnection().
void QIBusPlatformInputContextPrivate::initBus | ( | ) |
Definition at line 658 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 78 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), ~QIBusPlatformInputContextPrivate(), createBusProxy(), QIBusPlatformInputContext::globalEngineChanged(), and QIBusPlatformInputContext::socketChanged().
bool QIBusPlatformInputContextPrivate::busConnected |
Definition at line 85 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 80 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 89 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), QIBusPlatformInputContext::globalEngineChanged(), and QIBusPlatformInputContext::locale().
bool QIBusPlatformInputContextPrivate::needsSurroundingText |
Definition at line 88 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::surroundingTextRequired(), and QIBusPlatformInputContext::update().
std::unique_ptr<QIBusProxyPortal> QIBusPlatformInputContextPrivate::portalBus |
Definition at line 79 of file qibusplatforminputcontext.cpp.
Referenced by ~QIBusPlatformInputContextPrivate(), and createBusProxy().
QString QIBusPlatformInputContextPrivate::predit |
PreeditFocusMode QIBusPlatformInputContextPrivate::preeditFocusMode = PREEDIT_COMMIT |
Definition at line 90 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::commit(), and QIBusPlatformInputContext::updatePreeditTextWithMode().
QDBusServiceWatcher QIBusPlatformInputContextPrivate::serviceWatcher |
Definition at line 81 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), ~QIBusPlatformInputContextPrivate(), createBusProxy(), and QIBusPlatformInputContext::socketChanged().
bool QIBusPlatformInputContextPrivate::usePortal |
Definition at line 83 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContext::QIBusPlatformInputContext(), QIBusPlatformInputContextPrivate(), QIBusPlatformInputContext::busRegistered(), QIBusPlatformInputContext::connectToBus(), createBusProxy(), createConnection(), and QIBusPlatformInputContext::locale().
bool QIBusPlatformInputContextPrivate::valid |
Definition at line 84 of file qibusplatforminputcontext.cpp.
Referenced by QIBusPlatformInputContextPrivate(), and QIBusPlatformInputContext::isValid().