Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquicksystempalette_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | class QQuickSystemPalettePrivate; | - |
6 | class __attribute__((visibility("default"))) QQuickSystemPalette : public QObject | - |
7 | { | - |
8 | public: | - |
9 | #pragma GCC diagnostic push | - |
10 | - | |
11 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
12 | 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: | - |
13 | #pragma GCC diagnostic ignored "-Wattributes" | - |
14 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
15 | #pragma GCC diagnostic pop | - |
16 | struct QPrivateSignal {}; | - |
17 | inline QQuickSystemPalettePrivate* d_func() { return executed 56 times by 2 tests: reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 56 times by 2 tests: } inline const QQuickSystemPalettePrivate* d_func() const { returnreturn reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 306 times by 2 tests: reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 306 times by 2 tests: } friend class QQuickSystemPalettePrivate;return reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 56-306 |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | - | |
25 | - | |
26 | - | |
27 | - | |
28 | - | |
29 | - | |
30 | - | |
31 | - | |
32 | - | |
33 | - | |
34 | - | |
35 | public: | - |
36 | QQuickSystemPalette(QObject *parent=nullptr); | - |
37 | ~QQuickSystemPalette(); | - |
38 | - | |
39 | enum ColorGroup { Active = QPalette::Active, Inactive = QPalette::Inactive, Disabled = QPalette::Disabled }; | - |
40 | friend constexpr const QMetaObject *qt_getEnumMetaObject(ColorGroup) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(ColorGroup) noexcept { return "ColorGroup"; } | - |
41 | - | |
42 | QColor window() const; | - |
43 | QColor windowText() const; | - |
44 | - | |
45 | QColor base() const; | - |
46 | QColor text() const; | - |
47 | QColor alternateBase() const; | - |
48 | - | |
49 | QColor button() const; | - |
50 | QColor buttonText() const; | - |
51 | - | |
52 | QColor light() const; | - |
53 | QColor midlight() const; | - |
54 | QColor dark() const; | - |
55 | QColor mid() const; | - |
56 | QColor shadow() const; | - |
57 | - | |
58 | QColor highlight() const; | - |
59 | QColor highlightedText() const; | - |
60 | - | |
61 | QQuickSystemPalette::ColorGroup colorGroup() const; | - |
62 | void setColorGroup(QQuickSystemPalette::ColorGroup); | - |
63 | - | |
64 | public : | - |
65 | void paletteChanged(); | - |
66 | }; | - |
67 | - | |
68 | - | |
69 | - | |
70 | template <> struct QMetaTypeId< QQuickSystemPalette * > { 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< QQuickSystemPalette * >("QQuickSystemPalette *", reinterpret_cast< QQuickSystemPalette * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickSystemPalette> > { 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<QQuickSystemPalette> >("QQmlListProperty<QQuickSystemPalette>", reinterpret_cast< QQmlListProperty<QQuickSystemPalette> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |