qguivariant.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguivariant.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11__attribute__((visibility("default"))) const QVariant::Handler *qcoreVariantHandler();-
12-
13namespace {-
14struct GuiTypesFilter {-
15 template<typename T>-
16 struct Acceptor {-
17 static const bool IsAccepted = QModulesPrivate::QTypeModuleInfo<T>::IsGui && QtMetaTypePrivate::TypeDefinition<T>::IsAvailable;-
18 };-
19};-
20-
21static void construct(QVariant::Private *x, const void *copy)-
22{-
23 const int type = x->type;-
24 QVariantConstructor<GuiTypesFilter> constructor(x, copy);-
25 QMetaTypeSwitcher::switcher<void>(constructor, type, 0);-
26}
never executed: end of block
0
27-
28static void clear(QVariant::Private *d)-
29{-
30 QVariantDestructor<GuiTypesFilter> destructor(d);-
31 QMetaTypeSwitcher::switcher<void>(destructor, d->type, 0);-
32}
never executed: end of block
0
33-
34-
35template<class Filter>-
36class QGuiVariantIsNull : public QVariantIsNull<Filter> {-
37 typedef QVariantIsNull<Filter> Base;-
38public:-
39 QGuiVariantIsNull(const QVariant::Private *d)-
40 : QVariantIsNull<Filter>(d)-
41 {}
never executed: end of block
0
42 template<typename T>-
43 bool delegate(const T *p) { return
never executed: return Base::delegate(p);
Base::delegate(p);
never executed: return Base::delegate(p);
}
0
44 bool delegate(const QPolygon*) { return
never executed: return v_cast<QPolygon>(Base::m_d)->isEmpty();
v_cast<QPolygon>(Base::m_d)->isEmpty();
never executed: return v_cast<QPolygon>(Base::m_d)->isEmpty();
}
0
45 bool delegate(const QPolygonF*) { return
never executed: return v_cast<QPolygonF>(Base::m_d)->isEmpty();
v_cast<QPolygonF>(Base::m_d)->isEmpty();
never executed: return v_cast<QPolygonF>(Base::m_d)->isEmpty();
}
0
46 bool delegate(const void *p) { return
never executed: return Base::delegate(p);
Base::delegate(p);
never executed: return Base::delegate(p);
}
0
47};-
48static bool isNull(const QVariant::Private *d)-
49{-
50 QGuiVariantIsNull<GuiTypesFilter> isNull(d);-
51 return
never executed: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);
QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);
never executed: return QMetaTypeSwitcher::switcher<bool>(isNull, d->type, 0);
0
52}-
53-
54-
55template<class Filter>-
56class QGuiVariantComparator : public QVariantComparator<Filter> {-
57 typedef QVariantComparator<Filter> Base;-
58public:-
59 QGuiVariantComparator(const QVariant::Private *a, const QVariant::Private *b)-
60 : QVariantComparator<Filter>(a, b)-
61 {}
never executed: end of block
0
62 template<typename T>-
63 bool delegate(const T *p)-
64 {-
65 return
never executed: return Base::delegate(p);
Base::delegate(p);
never executed: return Base::delegate(p);
0
66 }-
67 bool delegate(const QPixmap*)-
68 {-
69 return
never executed: return v_cast<QPixmap>(Base::m_a)->cacheKey() == v_cast<QPixmap>(Base::m_b)->cacheKey();
v_cast<QPixmap>(Base::m_a)->cacheKey() == v_cast<QPixmap>(Base::m_b)->cacheKey();
never executed: return v_cast<QPixmap>(Base::m_a)->cacheKey() == v_cast<QPixmap>(Base::m_b)->cacheKey();
0
70 }-
71 bool delegate(const QBitmap*)-
72 {-
73 return
never executed: return v_cast<QBitmap>(Base::m_a)->cacheKey() == v_cast<QBitmap>(Base::m_b)->cacheKey();
v_cast<QBitmap>(Base::m_a)->cacheKey() == v_cast<QBitmap>(Base::m_b)->cacheKey();
never executed: return v_cast<QBitmap>(Base::m_a)->cacheKey() == v_cast<QBitmap>(Base::m_b)->cacheKey();
0
74 }-
75-
76 bool delegate(const QCursor*)-
77 {-
78 return
never executed: return v_cast<QCursor>(Base::m_a)->shape() == v_cast<QCursor>(Base::m_b)->shape();
v_cast<QCursor>(Base::m_a)->shape() == v_cast<QCursor>(Base::m_b)->shape();
never executed: return v_cast<QCursor>(Base::m_a)->shape() == v_cast<QCursor>(Base::m_b)->shape();
0
79 }-
80-
81-
82 bool delegate(const QIcon *)-
83 {-
84 return
never executed: return v_cast<QIcon>(Base::m_a)->cacheKey() == v_cast<QIcon>(Base::m_b)->cacheKey();
v_cast<QIcon>(Base::m_a)->cacheKey() == v_cast<QIcon>(Base::m_b)->cacheKey();
never executed: return v_cast<QIcon>(Base::m_a)->cacheKey() == v_cast<QIcon>(Base::m_b)->cacheKey();
0
85 }-
86-
87 bool delegate(const void *p) { return
never executed: return Base::delegate(p);
Base::delegate(p);
never executed: return Base::delegate(p);
}
0
88};-
89-
90static bool compare(const QVariant::Private *a, const QVariant::Private *b)-
91{-
92 QGuiVariantComparator<GuiTypesFilter> comparator(a, b);-
93 return
never executed: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);
QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);
never executed: return QMetaTypeSwitcher::switcher<bool>(comparator, a->type, 0);
0
94}-
95-
96static bool convert(const QVariant::Private *d, int t,-
97 void *result, bool *ok)-
98{-
99 switch (t) {-
100 case
never executed: case QVariant::ByteArray:
QVariant::ByteArray:
never executed: case QVariant::ByteArray:
0
101 if (d->type == QVariant::Color
d->type == QVariant::ColorDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
102 const QColor *c = v_cast<QColor>(d);-
103 *static_cast<QByteArray *>(result) = c->name(c->alpha() != 255 ? QColor::HexArgb : QColor::HexRgb).toLatin1();-
104 return
never executed: return true;
true;
never executed: return true;
0
105 }-
106 break;
never executed: break;
0
107 case
never executed: case QVariant::String:
QVariant::String:
never executed: case QVariant::String:
{
0
108 QString *str = static_cast<QString *>(result);-
109 switch (d->type) {-
110-
111 case
never executed: case QVariant::KeySequence:
QVariant::KeySequence:
never executed: case QVariant::KeySequence:
0
112 *str = (*v_cast<QKeySequence>(d)).toString(QKeySequence::NativeText);-
113 return
never executed: return true;
true;
never executed: return true;
0
114-
115 case
never executed: case QVariant::Font:
QVariant::Font:
never executed: case QVariant::Font:
0
116 *str = v_cast<QFont>(d)->toString();-
117 return
never executed: return true;
true;
never executed: return true;
0
118 case
never executed: case QVariant::Color:
QVariant::Color:
never executed: case QVariant::Color:
{
0
119 const QColor *c = v_cast<QColor>(d);-
120 *str = c->name(c->alpha() != 255 ? QColor::HexArgb : QColor::HexRgb);-
121 return
never executed: return true;
true;
never executed: return true;
0
122 }-
123 default
never executed: default:
:
never executed: default:
0
124 break;
never executed: break;
0
125 }-
126 break;
never executed: break;
0
127 }-
128 case
never executed: case QVariant::Pixmap:
QVariant::Pixmap:
never executed: case QVariant::Pixmap:
0
129 if (d->type == QVariant::Image
d->type == QVariant::ImageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
130 *static_cast<QPixmap *>(result) = QPixmap::fromImage(*v_cast<QImage>(d));-
131 return
never executed: return true;
true;
never executed: return true;
0
132 } else if (d->type == QVariant::Bitmap
d->type == QVariant::BitmapDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
133 *static_cast<QPixmap *>(result) = *v_cast<QBitmap>(d);-
134 return
never executed: return true;
true;
never executed: return true;
0
135 } else if (d->type == QVariant::Brush
d->type == QVariant::BrushDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
136 if (v_cast<QBrush>(d)->style() == Qt::TexturePattern
v_cast<QBrush>...TexturePatternDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
137 *static_cast<QPixmap *>(result) = v_cast<QBrush>(d)->texture();-
138 return
never executed: return true;
true;
never executed: return true;
0
139 }-
140 }
never executed: end of block
0
141 break;
never executed: break;
0
142 case
never executed: case QVariant::Image:
QVariant::Image:
never executed: case QVariant::Image:
0
143 if (d->type == QVariant::Pixmap
d->type == QVariant::PixmapDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
144 *static_cast<QImage *>(result) = v_cast<QPixmap>(d)->toImage();-
145 return
never executed: return true;
true;
never executed: return true;
0
146 } else if (d->type == QVariant::Bitmap
d->type == QVariant::BitmapDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
147 *static_cast<QImage *>(result) = v_cast<QBitmap>(d)->toImage();-
148 return
never executed: return true;
true;
never executed: return true;
0
149 }-
150 break;
never executed: break;
0
151 case
never executed: case QVariant::Bitmap:
QVariant::Bitmap:
never executed: case QVariant::Bitmap:
0
152 if (d->type == QVariant::Pixmap
d->type == QVariant::PixmapDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
153 *static_cast<QBitmap *>(result) = *v_cast<QPixmap>(d);-
154 return
never executed: return true;
true;
never executed: return true;
0
155 } else if (d->type == QVariant::Image
d->type == QVariant::ImageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
156 *static_cast<QBitmap *>(result) = QBitmap::fromImage(*v_cast<QImage>(d));-
157 return
never executed: return true;
true;
never executed: return true;
0
158 }-
159 break;
never executed: break;
0
160-
161 case
never executed: case QVariant::Int:
QVariant::Int:
never executed: case QVariant::Int:
0
162 if (d->type == QVariant::KeySequence
d->type == QVa...t::KeySequenceDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
163 const QKeySequence &seq = *v_cast<QKeySequence>(d);-
164 *static_cast<int *>(result) = seq.isEmpty()
seq.isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
? 0 : seq[0];
0
165 return
never executed: return true;
true;
never executed: return true;
0
166 }-
167 break;
never executed: break;
0
168-
169 case
never executed: case QVariant::Font:
QVariant::Font:
never executed: case QVariant::Font:
0
170 if (d->type == QVariant::String
d->type == QVariant::StringDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
171 QFont *f = static_cast<QFont *>(result);-
172 f->fromString(*v_cast<QString>(d));-
173 return
never executed: return true;
true;
never executed: return true;
0
174 }-
175 break;
never executed: break;
0
176 case
never executed: case QVariant::Color:
QVariant::Color:
never executed: case QVariant::Color:
0
177 if (d->type == QVariant::String
d->type == QVariant::StringDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
178 static_cast<QColor *>(result)->setNamedColor(*v_cast<QString>(d));-
179 return
never executed: return static_cast<QColor *>(result)->isValid();
static_cast<QColor *>(result)->isValid();
never executed: return static_cast<QColor *>(result)->isValid();
0
180 } else if (d->type == QVariant::ByteArray
d->type == QVariant::ByteArrayDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
181 static_cast<QColor *>(result)->setNamedColor(QString::fromLatin1(-
182 *v_cast<QByteArray>(d)));-
183 return
never executed: return true;
true;
never executed: return true;
0
184 } else if (d->type == QVariant::Brush
d->type == QVariant::BrushDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
185 if (v_cast<QBrush>(d)->style() == Qt::SolidPattern
v_cast<QBrush>...::SolidPatternDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
186 *static_cast<QColor *>(result) = v_cast<QBrush>(d)->color();-
187 return
never executed: return true;
true;
never executed: return true;
0
188 }-
189 }
never executed: end of block
0
190 break;
never executed: break;
0
191 case
never executed: case QVariant::Brush:
QVariant::Brush:
never executed: case QVariant::Brush:
0
192 if (d->type == QVariant::Color
d->type == QVariant::ColorDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
193 *static_cast<QBrush *>(result) = QBrush(*v_cast<QColor>(d));-
194 return
never executed: return true;
true;
never executed: return true;
0
195 } else if (d->type == QVariant::Pixmap
d->type == QVariant::PixmapDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
196 *static_cast<QBrush *>(result) = QBrush(*v_cast<QPixmap>(d));-
197 return
never executed: return true;
true;
never executed: return true;
0
198 }-
199 break;
never executed: break;
0
200-
201 case
never executed: case QVariant::KeySequence:
QVariant::KeySequence:
never executed: case QVariant::KeySequence:
{
0
202 QKeySequence *seq = static_cast<QKeySequence *>(result);-
203 switch (d->type) {-
204 case
never executed: case QVariant::String:
QVariant::String:
never executed: case QVariant::String:
0
205 *seq = QKeySequence(*v_cast<QString>(d));-
206 return
never executed: return true;
true;
never executed: return true;
0
207 case
never executed: case QVariant::Int:
QVariant::Int:
never executed: case QVariant::Int:
0
208 *seq = QKeySequence(d->data.i);-
209 return
never executed: return true;
true;
never executed: return true;
0
210 default
never executed: default:
:
never executed: default:
0
211 break;
never executed: break;
0
212 }-
213 }-
214-
215-
216 case
never executed: case QVariant::Icon:
QVariant::Icon:
never executed: case QVariant::Icon:
code before this statement never executed: case QVariant::Icon:
{
0
217 if (ok
okDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
218 *
never executed: *ok = false;
ok = false;
never executed: *ok = false;
0
219 return
never executed: return false;
false;
never executed: return false;
0
220 }-
221-
222 default
never executed: default:
:
never executed: default:
0
223 break;
never executed: break;
0
224 }-
225 return
never executed: return qcoreVariantHandler()->convert(d, t, result, ok);
qcoreVariantHandler()->convert(d, t, result, ok);
never executed: return qcoreVariantHandler()->convert(d, t, result, ok);
0
226}-
227-
228-
229static void streamDebug(QDebug dbg, const QVariant &v)-
230{-
231 QVariant::Private *d = const_cast<QVariant::Private *>(&v.data_ptr());-
232 QVariantDebugStream<GuiTypesFilter> stream(dbg, d);-
233 QMetaTypeSwitcher::switcher<void>(stream, d->type, 0);-
234}
never executed: end of block
0
235-
236-
237const QVariant::Handler qt_gui_variant_handler = {-
238 construct,-
239 clear,-
240 isNull,-
241-
242 0,-
243 0,-
244-
245 compare,-
246 convert,-
247 0,-
248-
249 streamDebug-
250-
251-
252-
253};-
254-
255-
256-
257-
258static const QMetaTypeInterface qVariantGuiHelper[] = {-
259 { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QFont, QtMetaTypePrivate::TypeDefinition<QFont>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QFont, QtMetaTypePrivate::TypeDefinition<QFont>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QFont, QtMetaTypePrivate::TypeDefinition<QFont>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QFont, QtMetaTypePrivate::TypeDefinition<QFont>::IsAvailable>::Destruct), (QTypeInfo<QFont>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QFont>::Flags, (QtPrivate::MetaObjectForType<QFont>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPixmap, QtMetaTypePrivate::TypeDefinition<QPixmap>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPixmap, QtMetaTypePrivate::TypeDefinition<QPixmap>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPixmap, QtMetaTypePrivate::TypeDefinition<QPixmap>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPixmap, QtMetaTypePrivate::TypeDefinition<QPixmap>::IsAvailable>::Destruct), (QTypeInfo<QPixmap>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QPixmap>::Flags, (QtPrivate::MetaObjectForType<QPixmap>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBrush, QtMetaTypePrivate::TypeDefinition<QBrush>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBrush, QtMetaTypePrivate::TypeDefinition<QBrush>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBrush, QtMetaTypePrivate::TypeDefinition<QBrush>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBrush, QtMetaTypePrivate::TypeDefinition<QBrush>::IsAvailable>::Destruct), (QTypeInfo<QBrush>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QBrush>::Flags, (QtPrivate::MetaObjectForType<QBrush>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QColor, QtMetaTypePrivate::TypeDefinition<QColor>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QColor, QtMetaTypePrivate::TypeDefinition<QColor>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QColor, QtMetaTypePrivate::TypeDefinition<QColor>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QColor, QtMetaTypePrivate::TypeDefinition<QColor>::IsAvailable>::Destruct), (QTypeInfo<QColor>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QColor>::Flags, (QtPrivate::MetaObjectForType<QColor>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPalette, QtMetaTypePrivate::TypeDefinition<QPalette>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPalette, QtMetaTypePrivate::TypeDefinition<QPalette>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPalette, QtMetaTypePrivate::TypeDefinition<QPalette>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPalette, QtMetaTypePrivate::TypeDefinition<QPalette>::IsAvailable>::Destruct), (QTypeInfo<QPalette>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QPalette>::Flags, (QtPrivate::MetaObjectForType<QPalette>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QIcon, QtMetaTypePrivate::TypeDefinition<QIcon>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QIcon, QtMetaTypePrivate::TypeDefinition<QIcon>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QIcon, QtMetaTypePrivate::TypeDefinition<QIcon>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QIcon, QtMetaTypePrivate::TypeDefinition<QIcon>::IsAvailable>::Destruct), (QTypeInfo<QIcon>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QIcon>::Flags, (QtPrivate::MetaObjectForType<QIcon>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QImage, QtMetaTypePrivate::TypeDefinition<QImage>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QImage, QtMetaTypePrivate::TypeDefinition<QImage>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QImage, QtMetaTypePrivate::TypeDefinition<QImage>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QImage, QtMetaTypePrivate::TypeDefinition<QImage>::IsAvailable>::Destruct), (QTypeInfo<QImage>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QImage>::Flags, (QtPrivate::MetaObjectForType<QImage>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygon, QtMetaTypePrivate::TypeDefinition<QPolygon>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygon, QtMetaTypePrivate::TypeDefinition<QPolygon>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygon, QtMetaTypePrivate::TypeDefinition<QPolygon>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygon, QtMetaTypePrivate::TypeDefinition<QPolygon>::IsAvailable>::Destruct), (QTypeInfo<QPolygon>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QPolygon>::Flags, (QtPrivate::MetaObjectForType<QPolygon>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QRegion, QtMetaTypePrivate::TypeDefinition<QRegion>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QRegion, QtMetaTypePrivate::TypeDefinition<QRegion>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QRegion, QtMetaTypePrivate::TypeDefinition<QRegion>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QRegion, QtMetaTypePrivate::TypeDefinition<QRegion>::IsAvailable>::Destruct), (QTypeInfo<QRegion>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QRegion>::Flags, (QtPrivate::MetaObjectForType<QRegion>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBitmap, QtMetaTypePrivate::TypeDefinition<QBitmap>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBitmap, QtMetaTypePrivate::TypeDefinition<QBitmap>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBitmap, QtMetaTypePrivate::TypeDefinition<QBitmap>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QBitmap, QtMetaTypePrivate::TypeDefinition<QBitmap>::IsAvailable>::Destruct), (QTypeInfo<QBitmap>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QBitmap>::Flags, (QtPrivate::MetaObjectForType<QBitmap>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QCursor, QtMetaTypePrivate::TypeDefinition<QCursor>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QCursor, QtMetaTypePrivate::TypeDefinition<QCursor>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QCursor, QtMetaTypePrivate::TypeDefinition<QCursor>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QCursor, QtMetaTypePrivate::TypeDefinition<QCursor>::IsAvailable>::Destruct), (QTypeInfo<QCursor>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QCursor>::Flags, (QtPrivate::MetaObjectForType<QCursor>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QKeySequence, QtMetaTypePrivate::TypeDefinition<QKeySequence>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QKeySequence, QtMetaTypePrivate::TypeDefinition<QKeySequence>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QKeySequence, QtMetaTypePrivate::TypeDefinition<QKeySequence>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QKeySequence, QtMetaTypePrivate::TypeDefinition<QKeySequence>::IsAvailable>::Destruct), (QTypeInfo<QKeySequence>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QKeySequence>::Flags, (QtPrivate::MetaObjectForType<QKeySequence>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPen, QtMetaTypePrivate::TypeDefinition<QPen>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPen, QtMetaTypePrivate::TypeDefinition<QPen>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPen, QtMetaTypePrivate::TypeDefinition<QPen>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPen, QtMetaTypePrivate::TypeDefinition<QPen>::IsAvailable>::Destruct), (QTypeInfo<QPen>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QPen>::Flags, (QtPrivate::MetaObjectForType<QPen>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextLength, QtMetaTypePrivate::TypeDefinition<QTextLength>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextLength, QtMetaTypePrivate::TypeDefinition<QTextLength>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextLength, QtMetaTypePrivate::TypeDefinition<QTextLength>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextLength, QtMetaTypePrivate::TypeDefinition<QTextLength>::IsAvailable>::Destruct), (QTypeInfo<QTextLength>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QTextLength>::Flags, (QtPrivate::MetaObjectForType<QTextLength>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextFormat, QtMetaTypePrivate::TypeDefinition<QTextFormat>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextFormat, QtMetaTypePrivate::TypeDefinition<QTextFormat>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextFormat, QtMetaTypePrivate::TypeDefinition<QTextFormat>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTextFormat, QtMetaTypePrivate::TypeDefinition<QTextFormat>::IsAvailable>::Destruct), (QTypeInfo<QTextFormat>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QTextFormat>::Flags, (QtPrivate::MetaObjectForType<QTextFormat>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix, QtMetaTypePrivate::TypeDefinition<QMatrix>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix, QtMetaTypePrivate::TypeDefinition<QMatrix>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix, QtMetaTypePrivate::TypeDefinition<QMatrix>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix, QtMetaTypePrivate::TypeDefinition<QMatrix>::IsAvailable>::Destruct), (QTypeInfo<QMatrix>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QMatrix>::Flags, (QtPrivate::MetaObjectForType<QMatrix>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTransform, QtMetaTypePrivate::TypeDefinition<QTransform>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTransform, QtMetaTypePrivate::TypeDefinition<QTransform>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTransform, QtMetaTypePrivate::TypeDefinition<QTransform>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QTransform, QtMetaTypePrivate::TypeDefinition<QTransform>::IsAvailable>::Destruct), (QTypeInfo<QTransform>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QTransform>::Flags, (QtPrivate::MetaObjectForType<QTransform>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix4x4, QtMetaTypePrivate::TypeDefinition<QMatrix4x4>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix4x4, QtMetaTypePrivate::TypeDefinition<QMatrix4x4>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix4x4, QtMetaTypePrivate::TypeDefinition<QMatrix4x4>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QMatrix4x4, QtMetaTypePrivate::TypeDefinition<QMatrix4x4>::IsAvailable>::Destruct), (QTypeInfo<QMatrix4x4>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QMatrix4x4>::Flags, (QtPrivate::MetaObjectForType<QMatrix4x4>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector2D, QtMetaTypePrivate::TypeDefinition<QVector2D>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector2D, QtMetaTypePrivate::TypeDefinition<QVector2D>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector2D, QtMetaTypePrivate::TypeDefinition<QVector2D>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector2D, QtMetaTypePrivate::TypeDefinition<QVector2D>::IsAvailable>::Destruct), (QTypeInfo<QVector2D>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QVector2D>::Flags, (QtPrivate::MetaObjectForType<QVector2D>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector3D, QtMetaTypePrivate::TypeDefinition<QVector3D>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector3D, QtMetaTypePrivate::TypeDefinition<QVector3D>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector3D, QtMetaTypePrivate::TypeDefinition<QVector3D>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector3D, QtMetaTypePrivate::TypeDefinition<QVector3D>::IsAvailable>::Destruct), (QTypeInfo<QVector3D>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QVector3D>::Flags, (QtPrivate::MetaObjectForType<QVector3D>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector4D, QtMetaTypePrivate::TypeDefinition<QVector4D>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector4D, QtMetaTypePrivate::TypeDefinition<QVector4D>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector4D, QtMetaTypePrivate::TypeDefinition<QVector4D>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QVector4D, QtMetaTypePrivate::TypeDefinition<QVector4D>::IsAvailable>::Destruct), (QTypeInfo<QVector4D>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QVector4D>::Flags, (QtPrivate::MetaObjectForType<QVector4D>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QQuaternion, QtMetaTypePrivate::TypeDefinition<QQuaternion>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QQuaternion, QtMetaTypePrivate::TypeDefinition<QQuaternion>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QQuaternion, QtMetaTypePrivate::TypeDefinition<QQuaternion>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QQuaternion, QtMetaTypePrivate::TypeDefinition<QQuaternion>::IsAvailable>::Destruct), (QTypeInfo<QQuaternion>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QQuaternion>::Flags, (QtPrivate::MetaObjectForType<QQuaternion>::value()) }, { (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygonF, QtMetaTypePrivate::TypeDefinition<QPolygonF>::IsAvailable>::Save), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygonF, QtMetaTypePrivate::TypeDefinition<QPolygonF>::IsAvailable>::Load), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygonF, QtMetaTypePrivate::TypeDefinition<QPolygonF>::IsAvailable>::Construct), (QtMetaTypePrivate::QMetaTypeFunctionHelper<QPolygonF, QtMetaTypePrivate::TypeDefinition<QPolygonF>::IsAvailable>::Destruct), (QTypeInfo<QPolygonF>::sizeOf), QtPrivate::QMetaTypeTypeFlags<QPolygonF>::Flags, (QtPrivate::MetaObjectForType<QPolygonF>::value()) },-
260};-
261-
262-
263}-
264-
265extern __attribute__((visibility("default"))) const QMetaTypeInterface *qMetaTypeGuiHelper;-
266-
267void qRegisterGuiVariant()-
268{-
269 QVariantPrivate::registerHandler(QModulesPrivate::Gui, &qt_gui_variant_handler);-
270 qMetaTypeGuiHelper = qVariantGuiHelper;-
271}
never executed: end of block
0
272namespace { static const struct qRegisterGuiVariant_ctor_class_ { inline qRegisterGuiVariant_ctor_class_() { qRegisterGuiVariant(); }
never executed: end of block
} qRegisterGuiVariant_ctor_instance_; }
0
273-
274-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9