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
qibusplatforminputcontext.cpp File Reference

(0d923c2097578682b8553707834ccf52d7cd52e2)

#include "qibusplatforminputcontext.h"
#include <QDebug>
#include <QTextCharFormat>
#include <QGuiApplication>
#include <QWindow>
#include <QEvent>
#include <QFile>
#include <QFileInfo>
#include <QStandardPaths>
#include <QDBusVariant>
#include <QDBusPendingReply>
#include <QDBusReply>
#include <QDBusServiceWatcher>
#include "qibusproxy.h"
#include "qibusproxyportal.h"
#include "qibusinputcontextproxy.h"
#include "qibustypes.h"
#include <qpa/qplatformcursor.h>
#include <qpa/qplatformscreen.h>
#include <qpa/qwindowsysteminterface_p.h>
#include <private/qguiapplication_p.h>
#include <private/qxkbcommon_p.h>
#include <memory>
#include <sys/types.h>
#include <signal.h>
#include "moc_qibusplatforminputcontext.cpp"
+ Include dependency graph for qibusplatforminputcontext.cpp:

Go to the source code of this file.

Classes

class  QIBusPlatformInputContextPrivate
 

Macros

#define IBUS_RELEASE_MASK   (1 << 30)
 
#define IBUS_SHIFT_MASK   (1 << 0)
 
#define IBUS_CONTROL_MASK   (1 << 2)
 
#define IBUS_MOD1_MASK   (1 << 3)
 
#define IBUS_META_MASK   (1 << 28)
 

Enumerations

enum  { debug = 0 }
 

Functions

static bool checkNeedPortalSupport ()
 
static bool shouldConnectIbusPortal ()
 

Macro Definition Documentation

◆ IBUS_CONTROL_MASK

#define IBUS_CONTROL_MASK   (1 << 2)

◆ IBUS_META_MASK

#define IBUS_META_MASK   (1 << 28)

◆ IBUS_MOD1_MASK

#define IBUS_MOD1_MASK   (1 << 3)

◆ IBUS_RELEASE_MASK

#define IBUS_RELEASE_MASK   (1 << 30)

◆ IBUS_SHIFT_MASK

#define IBUS_SHIFT_MASK   (1 << 0)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
debug 

Definition at line 48 of file qibusplatforminputcontext.cpp.

Function Documentation

◆ checkNeedPortalSupport()

static bool checkNeedPortalSupport ( )
inlinestatic

Definition at line 624 of file qibusplatforminputcontext.cpp.

References QFileInfo::exists(), and qEnvironmentVariableIsSet().

Referenced by shouldConnectIbusPortal().

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

◆ shouldConnectIbusPortal()

static bool shouldConnectIbusPortal ( )
static

Definition at line 629 of file qibusplatforminputcontext.cpp.

References checkNeedPortalSupport(), and qEnvironmentVariableIsSet().

+ Here is the call graph for this function: