Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qinputmethod_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QINPUTMETHOD_P_H
6
#
define
QINPUTMETHOD_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtGui
/
private
/
qtguiglobal_p
.
h
>
20
#
include
<
qinputmethod
.
h
>
21
#
include
<
private
/
qobject_p
.
h
>
22
#
include
<
QTransform
>
23
#
include
<
qpa
/
qplatforminputcontext
.
h
>
24
#
include
<
qpa
/
qplatformintegration
.
h
>
25
#
include
<
private
/
qguiapplication_p
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QInputMethodPrivate
:
public
QObjectPrivate
30
{
31
Q_DECLARE_PUBLIC(QInputMethod)
32
33
public
:
34
inline
QInputMethodPrivate
() :
testContext
(
nullptr
)
35
{}
36
QPlatformInputContext
*
platformInputContext
()
const
37
{
38
return
testContext
?
testContext
:
QGuiApplicationPrivate
::
platformIntegration
()->
inputContext
();
39
}
40
static
inline
QInputMethodPrivate
*
get
(
QInputMethod
*
inputMethod
)
41
{
42
return
inputMethod
->
d_func
();
43
}
44
45
void
_q_connectFocusObject
();
46
void
_q_checkFocusObject
(QObject *object);
47
static
bool
objectAcceptsInputMethod
(QObject *object);
48
49
QTransform
inputItemTransform
;
50
QRectF
inputRectangle
;
51
QPlatformInputContext
*
testContext
;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
QInputMethodPrivate
Definition
qinputmethod_p.h:30
QInputMethodPrivate::objectAcceptsInputMethod
static bool objectAcceptsInputMethod(QObject *object)
Definition
qinputmethod.cpp:363
QInputMethodPrivate::_q_checkFocusObject
void _q_checkFocusObject(QObject *object)
QInputMethodPrivate::testContext
QPlatformInputContext * testContext
Definition
qinputmethod_p.h:51
QInputMethodPrivate::inputRectangle
QRectF inputRectangle
Definition
qinputmethod_p.h:50
QInputMethodPrivate::inputItemTransform
QTransform inputItemTransform
Definition
qinputmethod_p.h:49
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
gui
kernel
qinputmethod_p.h
Generated on
for Qt by
1.16.1