OpenCoverage

qinputdevicemanager.cpp

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

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