OpenCoverage

qquicksystempalette_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquicksystempalette_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQuickSystemPalettePrivate;-
6class __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: return reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquicksystempalette
reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
executed 56 times by 2 tests: return reinterpret_cast<QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquicksystempalette
} inline const QQuickSystemPalettePrivate* d_func() const { return
executed 306 times by 2 tests: return reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquicksystempalette
reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
executed 306 times by 2 tests: return reinterpret_cast<const QQuickSystemPalettePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquicksystempalette
} friend class QQuickSystemPalettePrivate;
56-306
18-
19 -
20 -
21 -
22 -
23 -
24 -
25 -
26 -
27 -
28 -
29 -
30 -
31 -
32 -
33 -
34-
35public:-
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-
64public :-
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 codePreprocessed file

Generated by Squish Coco 4.2.0