Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | class __attribute__((visibility("default"))) QQuickHoverHandler : public QQuickSinglePointHandler | - |
5 | { | - |
6 | public: | - |
7 | #pragma GCC diagnostic push | - |
8 | | - |
9 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
10 | 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: | - |
11 | #pragma GCC diagnostic ignored "-Wattributes" | - |
12 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
13 | #pragma GCC diagnostic pop | - |
14 | struct QPrivateSignal {}; | - |
15 | | - |
16 | | - |
17 | public: | - |
18 | explicit QQuickHoverHandler(QObject *parent = 0); | - |
19 | ~QQuickHoverHandler(); | - |
20 | | - |
21 | bool isHovered() const { return never executed: return m_hovered; m_hovered;never executed: return m_hovered; } | 0 |
22 | | - |
23 | public : | - |
24 | void hoveredChanged(); | - |
25 | | - |
26 | protected: | - |
27 | void componentComplete() override; | - |
28 | bool wantsPointerEvent(QQuickPointerEvent *event) override; | - |
29 | void handleEventPoint(QQuickEventPoint *point) override; | - |
30 | | - |
31 | private: | - |
32 | void setHovered(bool hovered); | - |
33 | | - |
34 | private: | - |
35 | bool m_hovered; | - |
36 | }; | - |
37 | | - |
38 | | - |
39 | | - |
40 | template <> struct QMetaTypeId< QQuickHoverHandler * > { 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< QQuickHoverHandler * >("QQuickHoverHandler *", reinterpret_cast< QQuickHoverHandler * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickHoverHandler> > { 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<QQuickHoverHandler> >("QQmlListProperty<QQuickHoverHandler>", reinterpret_cast< QQmlListProperty<QQuickHoverHandler> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| | |