Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | #include "qxcbxsettings.h" | - |
35 | | - |
36 | #include <QtCore/QByteArray> | - |
37 | #include <QtCore/QtEndian> | - |
38 | | - |
39 | #ifdef XCB_USE_XLIB | - |
40 | #include <X11/extensions/XIproto.h> | - |
41 | #endif //XCB_USE_XLIB | - |
42 | | - |
43 | QT_BEGIN_NAMESPACE | - |
44 | | - |
45 | | - |
46 | enum XSettingsType { | - |
47 | XSettingsTypeInteger = 0, | - |
48 | XSettingsTypeString = 1, | - |
49 | XSettingsTypeColor = 2 | - |
50 | }; | - |
51 | | - |
52 | class QXcbXSettingsCallback | - |
53 | { | - |
54 | public: | - |
55 | QXcbXSettings::PropertyChangeFunc func; | - |
56 | void *handle; | - |
57 | }; | - |
58 | | - |
59 | class QXcbXSettingsPropertyValue | - |
60 | { | - |
61 | public: | - |
62 | QXcbXSettingsPropertyValue() | - |
63 | : last_change_serial(-1) | - |
64 | {}executed 969 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 969 |
65 | | - |
66 | void updateValue(QXcbVirtualDesktop *screen, const QByteArray &name, const QVariant &value, int last_change_serial) | - |
67 | { | - |
68 | if (last_change_serial <= this->last_change_serial)TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
69 | return; never executed: return; | 0 |
70 | this->value = value; | - |
71 | this->last_change_serial = last_change_serial; | - |
72 | QLinkedList<QXcbXSettingsCallback>::const_iterator it = callback_links.begin(); | - |
73 | for (;it != callback_links.end();++it) {TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
74 | it->func(screen,name,value,it->handle); | - |
75 | } never executed: end of block | 0 |
76 | }executed 950 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 950 |
77 | | - |
78 | void addCallback(QXcbXSettings::PropertyChangeFunc func, void *handle) | - |
79 | { | - |
80 | QXcbXSettingsCallback callback; | - |
81 | callback.func = func; | - |
82 | callback.handle = handle; | - |
83 | callback_links.append(callback); | - |
84 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
85 | | - |
86 | QVariant value; | - |
87 | int last_change_serial; | - |
88 | QLinkedList<QXcbXSettingsCallback> callback_links; | - |
89 | | - |
90 | }; | - |
91 | | - |
92 | class QXcbXSettingsPrivate | - |
93 | { | - |
94 | public: | - |
95 | QXcbXSettingsPrivate(QXcbVirtualDesktop *screen) | - |
96 | : screen(screen) | - |
97 | , initialized(false) | - |
98 | { | - |
99 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
100 | | - |
101 | QByteArray getSettings() | - |
102 | { | - |
103 | QXcbConnectionGrabber connectionGrabber(screen->connection()); | - |
104 | | - |
105 | int offset = 0; | - |
106 | QByteArray settings; | - |
107 | xcb_atom_t _xsettings_atom = screen->connection()->atom(QXcbAtom::_XSETTINGS_SETTINGS); | - |
108 | while (1) { | - |
109 | xcb_get_property_cookie_t get_prop_cookie = | - |
110 | xcb_get_property_unchecked(screen->xcb_connection(), | - |
111 | false, | - |
112 | x_settings_window, | - |
113 | _xsettings_atom, | - |
114 | _xsettings_atom, | - |
115 | offset/4, | - |
116 | 8192); | - |
117 | xcb_get_property_reply_t *reply = xcb_get_property_reply(screen->xcb_connection(), get_prop_cookie, NULL); | - |
118 | bool more = false; | - |
119 | if (!reply)TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-19 |
120 | return settings; never executed: return settings; | 0 |
121 | | - |
122 | settings += QByteArray((const char *)xcb_get_property_value(reply), xcb_get_property_value_length(reply)); | - |
123 | offset += xcb_get_property_value_length(reply); | - |
124 | more = reply->bytes_after != 0; | - |
125 | | - |
126 | free(reply); | - |
127 | | - |
128 | if (!more)TRUE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-19 |
129 | break;executed 19 times by 19 tests: break; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
130 | } never executed: end of block | 0 |
131 | | - |
132 | return settings;executed 19 times by 19 tests: return settings; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
133 | } | - |
134 | | - |
135 | static int round_to_nearest_multiple_of_4(int value) | - |
136 | { | - |
137 | int remainder = value % 4; | - |
138 | if (!remainder)TRUE | evaluated 380 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | evaluated 988 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 380-988 |
139 | return value;executed 380 times by 19 tests: return value; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 380 |
140 | return value + 4 - remainder;executed 988 times by 19 tests: return value + 4 - remainder; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 988 |
141 | } | - |
142 | | - |
143 | #ifdef XCB_USE_XLIB | - |
144 | void populateSettings(const QByteArray &xSettings) | - |
145 | { | - |
146 | if (xSettings.length() < 12)TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-19 |
147 | return; never executed: return; | 0 |
148 | char byteOrder = xSettings.at(0); | - |
149 | if (byteOrder != LSBFirst && byteOrder != MSBFirst) {TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-19 |
150 | qWarning("ByteOrder byte %d not 0 or 1", byteOrder); | - |
151 | return; never executed: return; | 0 |
152 | } | - |
153 | | - |
154 | #define ADJUST_BO(b, t, x) \ | - |
155 | ((b == LSBFirst) ? \ | - |
156 | qFromLittleEndian<t>((const uchar *)(x)) : \ | - |
157 | qFromBigEndian<t>((const uchar *)(x))) | - |
158 | #define VALIDATE_LENGTH(x) \ | - |
159 | if ((size_t)xSettings.length() < (offset + local_offset + 12 + x)) { \ | - |
160 | qWarning("Length %d runs past end of data", x); \ | - |
161 | return; \ | - |
162 | } | - |
163 | | - |
164 | uint number_of_settings = ADJUST_BO(byteOrder, quint32, xSettings.mid(8,4).constData());TRUE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-19 |
165 | const char *data = xSettings.constData() + 12; | - |
166 | size_t offset = 0; | - |
167 | for (uint i = 0; i < number_of_settings; i++) {TRUE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 19-950 |
168 | int local_offset = 0; | - |
169 | VALIDATE_LENGTH(2); never executed: return; TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
170 | XSettingsType type = static_cast<XSettingsType>(*reinterpret_cast<const quint8 *>(data + offset)); | - |
171 | local_offset += 2; | - |
172 | | - |
173 | VALIDATE_LENGTH(2); never executed: return; TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
174 | quint16 name_len = ADJUST_BO(byteOrder, quint16, data + offset + local_offset);TRUE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-950 |
175 | local_offset += 2; | - |
176 | | - |
177 | VALIDATE_LENGTH(name_len); never executed: return; TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
178 | QByteArray name(data + offset + local_offset, name_len); | - |
179 | local_offset += round_to_nearest_multiple_of_4(name_len); | - |
180 | | - |
181 | VALIDATE_LENGTH(4); never executed: return; TRUE | never evaluated | FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-950 |
182 | int last_change_serial = ADJUST_BO(byteOrder, qint32, data + offset + local_offset);TRUE | evaluated 950 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-950 |
183 | Q_UNUSED(last_change_serial); | - |
184 | local_offset += 4; | - |
185 | | - |
186 | QVariant value; | - |
187 | if (type == XSettingsTypeString) {TRUE | evaluated 418 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | evaluated 532 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 418-532 |
188 | VALIDATE_LENGTH(4); never executed: return; TRUE | never evaluated | FALSE | evaluated 418 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-418 |
189 | int value_length = ADJUST_BO(byteOrder, qint32, data + offset + local_offset);TRUE | evaluated 418 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-418 |
190 | local_offset+=4; | - |
191 | VALIDATE_LENGTH(value_length); never executed: return; TRUE | never evaluated | FALSE | evaluated 418 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-418 |
192 | QByteArray value_string(data + offset + local_offset, value_length); | - |
193 | value.setValue(value_string); | - |
194 | local_offset += round_to_nearest_multiple_of_4(value_length); | - |
195 | } else if (type == XSettingsTypeInteger) {executed 418 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
TRUE | evaluated 532 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-532 |
196 | VALIDATE_LENGTH(4); never executed: return; TRUE | never evaluated | FALSE | evaluated 532 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-532 |
197 | int value_length = ADJUST_BO(byteOrder, qint32, data + offset + local_offset);TRUE | evaluated 532 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
| 0-532 |
198 | local_offset += 4; | - |
199 | value.setValue(value_length); | - |
200 | } else if (type == XSettingsTypeColor) {executed 532 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
TRUE | never evaluated | FALSE | never evaluated |
| 0-532 |
201 | VALIDATE_LENGTH(2*4); never executed: return; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
202 | quint16 red = ADJUST_BO(byteOrder, quint16, data + offset + local_offset);TRUE | never evaluated | FALSE | never evaluated |
| 0 |
203 | local_offset += 2; | - |
204 | quint16 green = ADJUST_BO(byteOrder, quint16, data + offset + local_offset);TRUE | never evaluated | FALSE | never evaluated |
| 0 |
205 | local_offset += 2; | - |
206 | quint16 blue = ADJUST_BO(byteOrder, quint16, data + offset + local_offset);TRUE | never evaluated | FALSE | never evaluated |
| 0 |
207 | local_offset += 2; | - |
208 | quint16 alpha= ADJUST_BO(byteOrder, quint16, data + offset + local_offset);TRUE | never evaluated | FALSE | never evaluated |
| 0 |
209 | local_offset += 2; | - |
210 | QColor color_value(red,green,blue,alpha); | - |
211 | value.setValue(color_value); | - |
212 | } never executed: end of block | 0 |
213 | offset += local_offset; | - |
214 | settings[name].updateValue(screen,name,value,last_change_serial); | - |
215 | }executed 950 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 950 |
216 | | - |
217 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
218 | #endif //XCB_USE_XLIB | - |
219 | | - |
220 | QXcbVirtualDesktop *screen; | - |
221 | xcb_window_t x_settings_window; | - |
222 | QMap<QByteArray, QXcbXSettingsPropertyValue> settings; | - |
223 | bool initialized; | - |
224 | }; | - |
225 | | - |
226 | | - |
227 | QXcbXSettings::QXcbXSettings(QXcbVirtualDesktop *screen) | - |
228 | : d_ptr(new QXcbXSettingsPrivate(screen)) | - |
229 | { | - |
230 | QByteArray settings_atom_for_screen("_XSETTINGS_S"); | - |
231 | settings_atom_for_screen.append(QByteArray::number(screen->number())); | - |
232 | xcb_intern_atom_cookie_t atom_cookie = xcb_intern_atom(screen->xcb_connection(), | - |
233 | true, | - |
234 | settings_atom_for_screen.length(), | - |
235 | settings_atom_for_screen.constData()); | - |
236 | xcb_generic_error_t *error = 0; | - |
237 | xcb_intern_atom_reply_t *atom_reply = xcb_intern_atom_reply(screen->xcb_connection(),atom_cookie,&error); | - |
238 | if (error) {TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-19 |
239 | free(error); | - |
240 | return; never executed: return; | 0 |
241 | } | - |
242 | xcb_atom_t selection_owner_atom = atom_reply->atom; | - |
243 | free(atom_reply); | - |
244 | | - |
245 | xcb_get_selection_owner_cookie_t selection_cookie = | - |
246 | xcb_get_selection_owner(screen->xcb_connection(), selection_owner_atom); | - |
247 | | - |
248 | xcb_get_selection_owner_reply_t *selection_result = | - |
249 | xcb_get_selection_owner_reply(screen->xcb_connection(), selection_cookie, &error); | - |
250 | if (error) {TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-19 |
251 | free(error); | - |
252 | return; never executed: return; | 0 |
253 | } | - |
254 | | - |
255 | d_ptr->x_settings_window = selection_result->owner; | - |
256 | free(selection_result); | - |
257 | if (!d_ptr->x_settings_window) {TRUE | never evaluated | FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
|
| 0-19 |
258 | return; never executed: return; | 0 |
259 | } | - |
260 | | - |
261 | const uint32_t event = XCB_CW_EVENT_MASK; | - |
262 | const uint32_t event_mask[] = { XCB_EVENT_MASK_STRUCTURE_NOTIFY|XCB_EVENT_MASK_PROPERTY_CHANGE }; | - |
263 | xcb_change_window_attributes(screen->xcb_connection(),d_ptr->x_settings_window,event,event_mask); | - |
264 | | - |
265 | #ifdef XCB_USE_XLIB | - |
266 | d_ptr->populateSettings(d_ptr->getSettings()); | - |
267 | d_ptr->initialized = true; | - |
268 | #endif //XCB_USE_XLIB | - |
269 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
270 | | - |
271 | QXcbXSettings::~QXcbXSettings() | - |
272 | { | - |
273 | delete d_ptr; | - |
274 | d_ptr = 0; | - |
275 | }executed 19 times by 19 tests: end of block Executed by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| 19 |
276 | | - |
277 | bool QXcbXSettings::initialized() const | - |
278 | { | - |
279 | Q_D(const QXcbXSettings); | - |
280 | return d->initialized;executed 19 times by 19 tests: return d->initialized; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
281 | } | - |
282 | | - |
283 | void QXcbXSettings::handlePropertyNotifyEvent(const xcb_property_notify_event_t *event) | - |
284 | { | - |
285 | Q_D(QXcbXSettings); | - |
286 | if (event->window != d->x_settings_window)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
287 | return; never executed: return; | 0 |
288 | #ifdef XCB_USE_XLIB | - |
289 | d->populateSettings(d->getSettings()); | - |
290 | #endif //XCB_USE_XLIB | - |
291 | } never executed: end of block | 0 |
292 | | - |
293 | void QXcbXSettings::registerCallbackForProperty(const QByteArray &property, QXcbXSettings::PropertyChangeFunc func, void *handle) | - |
294 | { | - |
295 | Q_D(QXcbXSettings); | - |
296 | d->settings[property].addCallback(func,handle); | - |
297 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
298 | | - |
299 | void QXcbXSettings::removeCallbackForHandle(const QByteArray &property, void *handle) | - |
300 | { | - |
301 | Q_D(QXcbXSettings); | - |
302 | QXcbXSettingsPropertyValue &value = d->settings[property]; | - |
303 | QLinkedList<QXcbXSettingsCallback>::iterator it = value.callback_links.begin(); | - |
304 | while (it != value.callback_links.end()) {TRUE | evaluated 19 times by 19 testsEvaluated by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| FALSE | evaluated 950 times by 19 testsEvaluated by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
|
| 19-950 |
305 | if (it->handle == handle)TRUE | evaluated 19 times by 19 testsEvaluated by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| FALSE | never evaluated |
| 0-19 |
306 | it = value.callback_links.erase(it);executed 19 times by 19 tests: it = value.callback_links.erase(it); Executed by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| 19 |
307 | else | - |
308 | ++it; never executed: ++it; | 0 |
309 | } | - |
310 | }executed 950 times by 19 tests: end of block Executed by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| 950 |
311 | | - |
312 | void QXcbXSettings::removeCallbackForHandle(void *handle) | - |
313 | { | - |
314 | Q_D(QXcbXSettings); | - |
315 | for (QMap<QByteArray, QXcbXSettingsPropertyValue>::const_iterator it = d->settings.cbegin(); | - |
316 | it != d->settings.cend(); ++it) {TRUE | evaluated 950 times by 19 testsEvaluated by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| FALSE | evaluated 19 times by 19 testsEvaluated by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
|
| 19-950 |
317 | removeCallbackForHandle(it.key(),handle); | - |
318 | }executed 950 times by 19 tests: end of block Executed by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| 950 |
319 | }executed 19 times by 19 tests: end of block Executed by:- tst_qaccessibility - unknown status
- tst_qcompleter - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgraphicsview - unknown status
- tst_qgraphicswidget - unknown status
- tst_qitemview - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qprinter - unknown status
- tst_qsizegrip - unknown status
- tst_qstackedlayout - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtableview - unknown status
- tst_qtextbrowser - unknown status
- tst_qwidget - unknown status
| 19 |
320 | | - |
321 | QVariant QXcbXSettings::setting(const QByteArray &property) const | - |
322 | { | - |
323 | Q_D(const QXcbXSettings); | - |
324 | return d->settings.value(property).value;executed 19 times by 19 tests: return d->settings.value(property).value; Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
325 | } | - |
326 | | - |
327 | QT_END_NAMESPACE | - |
| | |