| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickpointerdevicehandler_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | class QQuickPointerDeviceHandlerPrivate; | - |
| 4 | - | |
| 5 | class __attribute__((visibility("default"))) QQuickPointerDeviceHandler : public QQuickPointerHandler | - |
| 6 | { | - |
| 7 | public: | - |
| 8 | #pragma GCC diagnostic push | - |
| 9 | - | |
| 10 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 11 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 12 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 13 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 14 | #pragma GCC diagnostic pop | - |
| 15 | struct QPrivateSignal {}; | - |
| 16 | - | |
| 17 | - | |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | public: | - |
| 22 | explicit QQuickPointerDeviceHandler(QObject *parent = nullptr); | - |
| 23 | ~QQuickPointerDeviceHandler(); | - |
| 24 | - | |
| 25 | QQuickPointerDevice::DeviceTypes acceptedDevices() const; | - |
| 26 | QQuickPointerDevice::PointerTypes acceptedPointerTypes() const; | - |
| 27 | Qt::MouseButtons acceptedButtons() const; | - |
| 28 | Qt::KeyboardModifiers acceptedModifiers() const; | - |
| 29 | - | |
| 30 | public : | - |
| 31 | void setAcceptedDevices(QQuickPointerDevice::DeviceTypes acceptedDevices); | - |
| 32 | void setAcceptedPointerTypes(QQuickPointerDevice::PointerTypes acceptedPointerTypes); | - |
| 33 | void setAcceptedButtons(Qt::MouseButtons buttons); | - |
| 34 | void setAcceptedModifiers(Qt::KeyboardModifiers acceptedModifiers); | - |
| 35 | - | |
| 36 | public : | - |
| 37 | void acceptedDevicesChanged(); | - |
| 38 | void acceptedPointerTypesChanged(); | - |
| 39 | void acceptedButtonsChanged(); | - |
| 40 | void acceptedModifiersChanged(); | - |
| 41 | - | |
| 42 | protected: | - |
| 43 | QQuickPointerDeviceHandler(QQuickPointerDeviceHandlerPrivate &dd, QObject *parent = nullptr); | - |
| 44 | - | |
| 45 | bool wantsPointerEvent(QQuickPointerEvent *event) override; | - |
| 46 | - | |
| 47 | inline QQuickPointerDeviceHandlerPrivate* d_func() { return executed 2688 times by 4 tests: reinterpret_cast<QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 2688 times by 4 tests: } inline const QQuickPointerDeviceHandlerPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 490 times by 3 tests: reinterpret_cast<const QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 490 times by 3 tests: } friend class QQuickPointerDeviceHandlerPrivate;return reinterpret_cast<const QQuickPointerDeviceHandlerPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 490-2688 |
| 48 | }; | - |
| 49 | - | |
| 50 | - | |
| 51 | - | |
| 52 | template <> struct QMetaTypeId< QQuickPointerDeviceHandler * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickPointerDeviceHandler * >("QQuickPointerDeviceHandler *", reinterpret_cast< QQuickPointerDeviceHandler * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPointerDeviceHandler> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickPointerDeviceHandler> >("QQmlListProperty<QQuickPointerDeviceHandler>", reinterpret_cast< QQmlListProperty<QQuickPointerDeviceHandler> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| Switch to Source code | Preprocessed file |