2
3
4
5
6
7
8
9
11#ifndef QIBUSPROXYPORTAL_H
12#define QIBUSPROXYPORTAL_H
14#include <QtCore/QObject>
15#include <QtCore/QByteArray>
16#include <QtCore/QList>
18#include <QtCore/QString>
19#include <QtCore/QStringList>
20#include <QtCore/QVariant>
21#include <QtDBus/QtDBus>
24
25
31 {
return "org.freedesktop.IBus.Portal"; }
bool needsSurroundingText
std::unique_ptr< QIBusInputContextProxy > context
QIBusPlatformInputContextPrivate()
std::unique_ptr< QIBusProxy > bus
~QIBusPlatformInputContextPrivate()
PreeditFocusMode preeditFocusMode
QList< QInputMethodEvent::Attribute > attributes
static QString getSocketPath()
QDBusServiceWatcher serviceWatcher
std::unique_ptr< QIBusProxyPortal > portalBus
void invokeAction(QInputMethod::Action a, int x) override
Called when the word currently being composed in the input item is tapped by the user.
void busUnregistered(const QString &str)
bool filterEvent(const QEvent *event) override
This function can be reimplemented to filter input events.
void globalEngineChanged(const QString &engine_name)
void filterEventFinished(QDBusPendingCallWatcher *call)
void update(Qt::InputMethodQueries) override
Notification on editor updates.
bool hasCapability(Capability capability) const override
Returns whether the implementation supports capability.
void socketChanged(const QString &str)
QLocale locale() const override
bool isValid() const override
Returns input context validity.
void setFocusObject(QObject *object) override
This virtual method gets called to notify updated focus to object.
~QIBusPlatformInputContext()
void surroundingTextRequired()
void reset() override
Method to be called when input method needs to be reset.
void busRegistered(const QString &str)
The QKeyEvent class describes a key event.
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
static bool shouldConnectIbusPortal()
static bool checkNeedPortalSupport()
#define IBUS_CONTROL_MASK
#define IBUS_RELEASE_MASK