Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlmodelindexvaluetype_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | struct QQmlModelIndexValueType | - |
5 | { | - |
6 | QModelIndex v; | - |
7 | - | |
8 | - | |
9 | - | |
10 | - | |
11 | - | |
12 | - | |
13 | - | |
14 | public: static const QMetaObject staticMetaObject; void qt_check_for_QGADGET_macro(); typedef void QtGadgetHelper; private: | - |
15 | #pragma GCC diagnostic push | - |
16 | - | |
17 | #pragma GCC diagnostic ignored "-Wattributes" | - |
18 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
19 | #pragma GCC diagnostic pop | - |
20 | - | |
21 | - | |
22 | public: | - |
23 | QString toString() const | - |
24 | { return executed 4 times by 1 test: QLatin1String("QModelIndex") + propertiesString(v);return QLatin1String("QModelIndex") + propertiesString(v); Executed by:
executed 4 times by 1 test: }return QLatin1String("QModelIndex") + propertiesString(v); Executed by:
| 4 |
25 | - | |
26 | inline int row() const noexcept { return executed 10 times by 1 test: v.row();return v.row(); Executed by:
executed 10 times by 1 test: }return v.row(); Executed by:
| 10 |
27 | inline int column() const noexcept { return executed 10 times by 1 test: v.column();return v.column(); Executed by:
executed 10 times by 1 test: }return v.column(); Executed by:
| 10 |
28 | inline QModelIndex parent() const { return executed 10 times by 1 test: v.parent();return v.parent(); Executed by:
executed 10 times by 1 test: }return v.parent(); Executed by:
| 10 |
29 | inline bool isValid() const noexcept { return executed 10 times by 1 test: v.isValid();return v.isValid(); Executed by:
executed 10 times by 1 test: }return v.isValid(); Executed by:
| 10 |
30 | inline QAbstractItemModel *model() const noexcept | - |
31 | { return executed 10 times by 1 test: const_cast<QAbstractItemModel *>(v.model());return const_cast<QAbstractItemModel *>(v.model()); Executed by:
executed 10 times by 1 test: }return const_cast<QAbstractItemModel *>(v.model()); Executed by:
| 10 |
32 | quint64 internalId() const { return executed 10 times by 1 test: v.internalId();return v.internalId(); Executed by:
executed 10 times by 1 test: }return v.internalId(); Executed by:
| 10 |
33 | - | |
34 | static QString propertiesString(const QModelIndex &idx); | - |
35 | - | |
36 | static QPersistentModelIndex toPersistentModelIndex(const QModelIndex &index) | - |
37 | { return never executed: QPersistentModelIndex(index);return QPersistentModelIndex(index); never executed: }return QPersistentModelIndex(index); | 0 |
38 | }; | - |
39 | - | |
40 | struct QQmlPersistentModelIndexValueType | - |
41 | { | - |
42 | QPersistentModelIndex v; | - |
43 | - | |
44 | - | |
45 | - | |
46 | - | |
47 | - | |
48 | - | |
49 | - | |
50 | public: static const QMetaObject staticMetaObject; void qt_check_for_QGADGET_macro(); typedef void QtGadgetHelper; private: | - |
51 | #pragma GCC diagnostic push | - |
52 | - | |
53 | #pragma GCC diagnostic ignored "-Wattributes" | - |
54 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
55 | #pragma GCC diagnostic pop | - |
56 | - | |
57 | - | |
58 | public: | - |
59 | QString toString() const | - |
60 | { return never executed: QLatin1String("QPersistentModelIndex") + QQmlModelIndexValueType::propertiesString(v);return QLatin1String("QPersistentModelIndex") + QQmlModelIndexValueType::propertiesString(v); never executed: }return QLatin1String("QPersistentModelIndex") + QQmlModelIndexValueType::propertiesString(v); | 0 |
61 | - | |
62 | inline int row() const { return executed 10 times by 1 test: v.row();return v.row(); Executed by:
executed 10 times by 1 test: }return v.row(); Executed by:
| 10 |
63 | inline int column() const { return executed 10 times by 1 test: v.column();return v.column(); Executed by:
executed 10 times by 1 test: }return v.column(); Executed by:
| 10 |
64 | inline QModelIndex parent() const { return executed 10 times by 1 test: v.parent();return v.parent(); Executed by:
executed 10 times by 1 test: }return v.parent(); Executed by:
| 10 |
65 | inline bool isValid() const { return executed 10 times by 1 test: v.isValid();return v.isValid(); Executed by:
executed 10 times by 1 test: }return v.isValid(); Executed by:
| 10 |
66 | inline QAbstractItemModel *model() const { return executed 10 times by 1 test: const_cast<QAbstractItemModel *>(v.model());return const_cast<QAbstractItemModel *>(v.model()); Executed by:
executed 10 times by 1 test: }return const_cast<QAbstractItemModel *>(v.model()); Executed by:
| 10 |
67 | inline quint64 internalId() const { return executed 10 times by 1 test: v.internalId();return v.internalId(); Executed by:
executed 10 times by 1 test: }return v.internalId(); Executed by:
| 10 |
68 | - | |
69 | static const QModelIndex &toModelIndex(const QPersistentModelIndex &index) | - |
70 | { return never executed: index;return index; never executed: }return index; | 0 |
71 | }; | - |
72 | - | |
73 | struct QQmlItemSelectionRangeValueType | - |
74 | { | - |
75 | QItemSelectionRange v; | - |
76 | - | |
77 | - | |
78 | - | |
79 | - | |
80 | - | |
81 | - | |
82 | - | |
83 | - | |
84 | - | |
85 | - | |
86 | - | |
87 | - | |
88 | - | |
89 | public: static const QMetaObject staticMetaObject; void qt_check_for_QGADGET_macro(); typedef void QtGadgetHelper; private: | - |
90 | #pragma GCC diagnostic push | - |
91 | - | |
92 | #pragma GCC diagnostic ignored "-Wattributes" | - |
93 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
94 | #pragma GCC diagnostic pop | - |
95 | - | |
96 | - | |
97 | public: | - |
98 | QString toString() const; | - |
99 | inline bool contains(const QModelIndex &index) const | - |
100 | { return executed 10 times by 1 test: v.contains(index);return v.contains(index); Executed by:
executed 10 times by 1 test: }return v.contains(index); Executed by:
| 10 |
101 | inline bool contains(int row, int column, const QModelIndex &parentIndex) const | - |
102 | { return executed 2 times by 1 test: v.contains(row, column, parentIndex);return v.contains(row, column, parentIndex); Executed by:
executed 2 times by 1 test: }return v.contains(row, column, parentIndex); Executed by:
| 2 |
103 | inline bool intersects(const QItemSelectionRange &other) const | - |
104 | { return executed 2 times by 1 test: v.intersects(other);return v.intersects(other); Executed by:
executed 2 times by 1 test: }return v.intersects(other); Executed by:
| 2 |
105 | QItemSelectionRange intersected(const QItemSelectionRange &other) const | - |
106 | { return executed 2 times by 1 test: v.intersected(other);return v.intersected(other); Executed by:
executed 2 times by 1 test: }return v.intersected(other); Executed by:
| 2 |
107 | - | |
108 | inline int top() const { return executed 4 times by 1 test: v.top();return v.top(); Executed by:
executed 4 times by 1 test: }return v.top(); Executed by:
| 4 |
109 | inline int left() const { return executed 4 times by 1 test: v.left();return v.left(); Executed by:
executed 4 times by 1 test: }return v.left(); Executed by:
| 4 |
110 | inline int bottom() const { return executed 4 times by 1 test: v.bottom();return v.bottom(); Executed by:
executed 4 times by 1 test: }return v.bottom(); Executed by:
| 4 |
111 | inline int right() const { return executed 4 times by 1 test: v.right();return v.right(); Executed by:
executed 4 times by 1 test: }return v.right(); Executed by:
| 4 |
112 | inline int width() const { return executed 4 times by 1 test: v.width();return v.width(); Executed by:
executed 4 times by 1 test: }return v.width(); Executed by:
| 4 |
113 | inline int height() const { return executed 4 times by 1 test: v.height();return v.height(); Executed by:
executed 4 times by 1 test: }return v.height(); Executed by:
| 4 |
114 | inline QPersistentModelIndex &topLeft() const { return never executed: const_cast<QPersistentModelIndex &>(v.topLeft());return const_cast<QPersistentModelIndex &>(v.topLeft()); never executed: }return const_cast<QPersistentModelIndex &>(v.topLeft()); | 0 |
115 | inline QPersistentModelIndex &bottomRight() const { return never executed: const_cast<QPersistentModelIndex &>(v.bottomRight());return const_cast<QPersistentModelIndex &>(v.bottomRight()); never executed: }return const_cast<QPersistentModelIndex &>(v.bottomRight()); | 0 |
116 | inline QModelIndex parent() const { return never executed: v.parent();return v.parent(); never executed: }return v.parent(); | 0 |
117 | inline QAbstractItemModel *model() const { return executed 4 times by 1 test: const_cast<QAbstractItemModel *>(v.model());return const_cast<QAbstractItemModel *>(v.model()); Executed by:
executed 4 times by 1 test: }return const_cast<QAbstractItemModel *>(v.model()); Executed by:
| 4 |
118 | inline bool isValid() const { return executed 4 times by 1 test: v.isValid();return v.isValid(); Executed by:
executed 4 times by 1 test: }return v.isValid(); Executed by:
| 4 |
119 | inline bool isEmpty() const { return executed 4 times by 1 test: v.isEmpty();return v.isEmpty(); Executed by:
executed 4 times by 1 test: }return v.isEmpty(); Executed by:
| 4 |
120 | }; | - |
121 | - | |
122 | - | |
123 | - | |
124 | - | |
Switch to Source code | Preprocessed file |