kernel/qplatforminputcontext.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3QPlatformInputContext::QPlatformInputContext() -
4 : QObject(*(new QPlatformInputContextPrivate)) -
5{ -
6}
executed: }
Execution Count:581
581
7 -
8 -
9 -
10 -
11QPlatformInputContext::~QPlatformInputContext() -
12{ -
13} -
14 -
15 -
16 -
17 -
18bool QPlatformInputContext::isValid() const -
19{ -
20 return false;
never executed: return false;
0
21} -
22 -
23 -
24 -
25 -
26 -
27void QPlatformInputContext::reset() -
28{ -
29} -
30 -
31void QPlatformInputContext::commit() -
32{ -
33} -
34 -
35 -
36 -
37 -
38void QPlatformInputContext::update(Qt::InputMethodQueries) -
39{ -
40} -
41 -
42 -
43 -
44 -
45 -
46 -
47void QPlatformInputContext::invokeAction(QInputMethod::Action action, int cursorPosition) -
48{ -
49 (void)cursorPosition; -
50 -
51 -
52 if (action == QInputMethod::Click)
never evaluated: action == QInputMethod::Click
0
53 reset();
never executed: reset();
0
54}
never executed: }
0
55 -
56 -
57 -
58 -
59 -
60 -
61 -
62bool QPlatformInputContext::filterEvent(const QEvent *event) -
63{ -
64 (void)event; -
65 return false;
never executed: return false;
0
66} -
67 -
68 -
69 -
70 -
71 -
72QRectF QPlatformInputContext::keyboardRect() const -
73{ -
74 return QRectF();
never executed: return QRectF();
0
75} -
76 -
77 -
78 -
79 -
80 -
81 -
82void QPlatformInputContext::emitKeyboardRectChanged() -
83{ -
84 (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->keyboardRectangleChanged(); -
85}
executed: }
Execution Count:1
1
86 -
87 -
88 -
89 -
90 -
91bool QPlatformInputContext::isAnimating() const -
92{ -
93 return false;
never executed: return false;
0
94} -
95 -
96 -
97 -
98 -
99 -
100 -
101void QPlatformInputContext::emitAnimatingChanged() -
102{ -
103 (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->animatingChanged(); -
104}
executed: }
Execution Count:1
1
105 -
106 -
107 -
108 -
109void QPlatformInputContext::showInputPanel() -
110{ -
111} -
112 -
113 -
114 -
115 -
116void QPlatformInputContext::hideInputPanel() -
117{ -
118} -
119 -
120 -
121 -
122 -
123bool QPlatformInputContext::isInputPanelVisible() const -
124{ -
125 return false;
never executed: return false;
0
126} -
127 -
128 -
129 -
130 -
131 -
132 -
133void QPlatformInputContext::emitInputPanelVisibleChanged() -
134{ -
135 (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->visibleChanged(); -
136}
never executed: }
0
137 -
138QLocale QPlatformInputContext::locale() const -
139{ -
140 return qt_keymapper_private()->keyboardInputLocale;
never executed: return qt_keymapper_private()->keyboardInputLocale;
0
141} -
142 -
143void QPlatformInputContext::emitLocaleChanged() -
144{ -
145 (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->localeChanged(); -
146}
never executed: }
0
147 -
148Qt::LayoutDirection QPlatformInputContext::inputDirection() const -
149{ -
150 return qt_keymapper_private()->keyboardInputDirection;
never executed: return qt_keymapper_private()->keyboardInputDirection;
0
151} -
152 -
153void QPlatformInputContext::emitInputDirectionChanged(Qt::LayoutDirection newDirection) -
154{ -
155 (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->inputDirectionChanged(newDirection); -
156}
never executed: }
0
157 -
158 -
159 -
160 -
161 -
162void QPlatformInputContext::setFocusObject(QObject *object) -
163{ -
164 (void)object; -
165}
never executed: }
0
166 -
167 -
168 -
169 -
170bool QPlatformInputContext::inputMethodAccepted() const -
171{ -
172 return QPlatformInputContextPrivate::s_inputMethodAccepted;
executed: return QPlatformInputContextPrivate::s_inputMethodAccepted;
Execution Count:2
2
173} -
174 -
175bool QPlatformInputContextPrivate::s_inputMethodAccepted = false; -
176 -
177void QPlatformInputContextPrivate::setInputMethodAccepted(bool accepted) -
178{ -
179 QPlatformInputContextPrivate::s_inputMethodAccepted = accepted; -
180}
executed: }
Execution Count:22603
22603
181 -
182 -
183 -
184 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial