Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | QGestureRecognizer::QGestureRecognizer() | - |
7 | { | - |
8 | } | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | QGestureRecognizer::~QGestureRecognizer() | - |
14 | { | - |
15 | } | - |
16 | QGesture *QGestureRecognizer::create(QObject *target) | - |
17 | { | - |
18 | (void)target;; | - |
19 | return new QGesture; never executed: return new QGesture; | 0 |
20 | } | - |
21 | void QGestureRecognizer::reset(QGesture *gesture) | - |
22 | { | - |
23 | if (gesture) { partially evaluated: gesture yes Evaluation Count:87 | no Evaluation Count:0 |
| 0-87 |
24 | QGesturePrivate *d = gesture->d_func(); | - |
25 | d->state = Qt::NoGesture; | - |
26 | d->hotSpot = QPointF(); | - |
27 | d->sceneHotSpot = QPointF(); | - |
28 | d->isHotSpotSet = false; | - |
29 | } executed: } Execution Count:87 | 87 |
30 | } executed: } Execution Count:87 | 87 |
31 | Qt::GestureType QGestureRecognizer::registerRecognizer(QGestureRecognizer *recognizer) | - |
32 | { | - |
33 | return QGestureManager::instance()->registerGestureRecognizer(recognizer); executed: return QGestureManager::instance()->registerGestureRecognizer(recognizer); Execution Count:19 | 19 |
34 | } | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | void QGestureRecognizer::unregisterRecognizer(Qt::GestureType type) | - |
42 | { | - |
43 | QGestureManager::instance()->unregisterGestureRecognizer(type); | - |
44 | } executed: } Execution Count:21 | 21 |
45 | | - |
46 | | - |
47 | | - |
| | |