Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qinputdevicemanager.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | QInputDeviceManager::QInputDeviceManager(QObject *parent) | - | ||||||
4 | : QObject(*new QInputDeviceManagerPrivate, parent) | - | ||||||
5 | { | - | ||||||
6 | qRegisterMetaType<DeviceType>(); | - | ||||||
7 | } never executed: end of block | 0 | ||||||
8 | - | |||||||
9 | int QInputDeviceManager::deviceCount(DeviceType type) const | - | ||||||
10 | { | - | ||||||
11 | const QInputDeviceManagerPrivate * const d = d_func(); | - | ||||||
12 | return never executed: d->deviceCount(type);return d->deviceCount(type); never executed: return d->deviceCount(type); | 0 | ||||||
13 | } | - | ||||||
14 | - | |||||||
15 | int QInputDeviceManagerPrivate::deviceCount(QInputDeviceManager::DeviceType type) const | - | ||||||
16 | { | - | ||||||
17 | return never executed: m_deviceCount.value(type);return m_deviceCount.value(type); never executed: return m_deviceCount.value(type); | 0 | ||||||
18 | } | - | ||||||
19 | - | |||||||
20 | void QInputDeviceManagerPrivate::setDeviceCount(QInputDeviceManager::DeviceType type, int count) | - | ||||||
21 | { | - | ||||||
22 | QInputDeviceManager * const q = q_func(); | - | ||||||
23 | if (m_deviceCount.value(type) != count
| 0 | ||||||
24 | m_deviceCount[type] = count; | - | ||||||
25 | q->deviceListChanged(type); | - | ||||||
26 | } never executed: end of block | 0 | ||||||
27 | } never executed: end of block | 0 | ||||||
28 | - | |||||||
29 | void QInputDeviceManager::setCursorPos(const QPoint &pos) | - | ||||||
30 | { | - | ||||||
31 | cursorPositionChangeRequested(pos); | - | ||||||
32 | } never executed: end of block | 0 | ||||||
33 | - | |||||||
34 | - | |||||||
Switch to Source code | Preprocessed file |