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