qgesturerecognizer.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qgesturerecognizer.cpp
Switch to Source codePreprocessed file
LineSourceCount
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
never executed: return new QGesture;
new QGesture;
never executed: return new QGesture;
0
20}-
21void QGestureRecognizer::reset(QGesture *gesture)-
22{-
23 if (gesture
gestureDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
24 QGesturePrivate *d = gesture->d_func();-
25 d->state = Qt::NoGesture;-
26 d->hotSpot = QPointF();-
27 d->sceneHotSpot = QPointF();-
28 d->isHotSpotSet = false;-
29 }
never executed: end of block
0
30}
never executed: end of block
0
31Qt::GestureType QGestureRecognizer::registerRecognizer(QGestureRecognizer *recognizer)-
32{-
33 return
never executed: return QGestureManager::instance()->registerGestureRecognizer(recognizer);
QGestureManager::instance()->registerGestureRecognizer(recognizer);
never executed: return QGestureManager::instance()->registerGestureRecognizer(recognizer);
0
34}-
35-
36-
37-
38-
39-
40-
41void QGestureRecognizer::unregisterRecognizer(Qt::GestureType type)-
42{-
43 QGestureManager::instance()->unregisterGestureRecognizer(type);-
44}
never executed: end of block
0
45-
46-
Switch to Source codePreprocessed file

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