kernel/qgesturerecognizer.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6QGestureRecognizer::QGestureRecognizer() -
7{ -
8} -
9 -
10 -
11 -
12 -
13QGestureRecognizer::~QGestureRecognizer() -
14{ -
15} -
16QGesture *QGestureRecognizer::create(QObject *target) -
17{ -
18 (void)target;; -
19 return new QGesture;
never executed: return new QGesture;
0
20} -
21void QGestureRecognizer::reset(QGesture *gesture) -
22{ -
23 if (gesture) {
partially evaluated: gesture
TRUEFALSE
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
31Qt::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 -
41void QGestureRecognizer::unregisterRecognizer(Qt::GestureType type) -
42{ -
43 QGestureManager::instance()->unregisterGestureRecognizer(type); -
44}
executed: }
Execution Count:21
21
45 -
46 -
47 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial