Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | QKeyMapperPrivate::QKeyMapperPrivate() | - |
8 | { | - |
9 | keyboardInputLocale = QLocale::system(); | - |
10 | keyboardInputDirection = keyboardInputLocale.textDirection(); | - |
11 | } | 0 |
12 | | - |
13 | QKeyMapperPrivate::~QKeyMapperPrivate() | - |
14 | { | - |
15 | | - |
16 | } | - |
17 | | - |
18 | void QKeyMapperPrivate::clearMappings() | - |
19 | { | - |
20 | } | - |
21 | | - |
22 | QList<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 | | - |
| | |