| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qgesturerecognizer.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 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 never executed: new QGesture;return new QGesture;never executed: return new QGesture; | 0 | ||||||
| 20 | } | - | ||||||
| 21 | void QGestureRecognizer::reset(QGesture *gesture) | - | ||||||
| 22 | { | - | ||||||
| 23 | if (gesture
| 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 | ||||||
| 31 | Qt::GestureType QGestureRecognizer::registerRecognizer(QGestureRecognizer *recognizer) | - | ||||||
| 32 | { | - | ||||||
| 33 | return never executed: QGestureManager::instance()->registerGestureRecognizer(recognizer);return QGestureManager::instance()->registerGestureRecognizer(recognizer);never executed: return QGestureManager::instance()->registerGestureRecognizer(recognizer); | 0 | ||||||
| 34 | } | - | ||||||
| 35 | - | |||||||
| 36 | - | |||||||
| 37 | - | |||||||
| 38 | - | |||||||
| 39 | - | |||||||
| 40 | - | |||||||
| 41 | void QGestureRecognizer::unregisterRecognizer(Qt::GestureType type) | - | ||||||
| 42 | { | - | ||||||
| 43 | QGestureManager::instance()->unregisterGestureRecognizer(type); | - | ||||||
| 44 | } never executed: end of block | 0 | ||||||
| 45 | - | |||||||
| 46 | - | |||||||
| Switch to Source code | Preprocessed file |