kernel/qkeymapper_qpa.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6 -
7QKeyMapperPrivate::QKeyMapperPrivate() -
8{ -
9 keyboardInputLocale = QLocale::system(); -
10 keyboardInputDirection = keyboardInputLocale.textDirection(); -
11}
never executed: }
0
12 -
13QKeyMapperPrivate::~QKeyMapperPrivate() -
14{ -
15 -
16} -
17 -
18void QKeyMapperPrivate::clearMappings() -
19{ -
20} -
21 -
22QList<int> QKeyMapperPrivate::possibleKeys(QKeyEvent *e) -
23{ -
24 QList<int> result = QGuiApplicationPrivate::platformIntegration()->possibleKeys(e); -
25 if (!result.isEmpty())
never evaluated: !result.isEmpty()
0
26 return result;
never executed: return result;
0
27 -
28 if (e->key() && (e->key() != Qt::Key_unknown))
never evaluated: e->key()
never evaluated: (e->key() != Qt::Key_unknown)
0
29 result << int(e->key() + e->modifiers());
never executed: result << int(e->key() + e->modifiers());
0
30 else if (!e->text().isEmpty())
never evaluated: !e->text().isEmpty()
0
31 result << int(e->text().at(0).unicode() + e->modifiers());
never executed: result << int(e->text().at(0).unicode() + e->modifiers());
0
32 return result;
never executed: return result;
0
33} -
34 -
35 -
36 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial