qplatforminputcontext.cpp

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

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9