1/****************************************************************************
2** Meta object code from reading C++ file 'imagescaling.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "imagescaling.h"
11#include <QtGui/qtextcursor.h>
12#include <QScreen>
13#include <QtCore/qbytearray.h>
14#include <QtCore/qmetatype.h>
15#if !defined(Q_MOC_OUTPUT_REVISION)
16#error "The header file 'imagescaling.h' doesn't include <QObject>."
17#elif Q_MOC_OUTPUT_REVISION != 68
18#error "This file was generated using the moc from 6.0.0. It"
19#error "cannot be used with the include files from this version of Qt."
20#error "(The moc has changed too much.)"
21#endif
22
23QT_BEGIN_MOC_NAMESPACE
24QT_WARNING_PUSH
25QT_WARNING_DISABLE_DEPRECATED
26struct qt_meta_stringdata_Images_t {
27 const uint offsetsAndSize[12];
28 char stringdata0[36];
29};
30#define QT_MOC_LITERAL(ofs, len) \
31 uint(offsetof(qt_meta_stringdata_Images_t, stringdata0) + ofs), len
32static const qt_meta_stringdata_Images_t qt_meta_stringdata_Images = {
33 {
34QT_MOC_LITERAL(0, 6), // "Images"
35QT_MOC_LITERAL(7, 4), // "open"
36QT_MOC_LITERAL(12, 0), // ""
37QT_MOC_LITERAL(13, 9), // "showImage"
38QT_MOC_LITERAL(23, 3), // "num"
39QT_MOC_LITERAL(27, 8) // "finished"
40
41 },
42 "Images\0open\0\0showImage\0num\0finished"
43};
44#undef QT_MOC_LITERAL
45
46static const uint qt_meta_data_Images[] = {
47
48 // content:
49 9, // revision
50 0, // classname
51 0, 0, // classinfo
52 3, 14, // methods
53 0, 0, // properties
54 0, 0, // enums/sets
55 0, 0, // constructors
56 0, // flags
57 0, // signalCount
58
59 // slots: name, argc, parameters, tag, flags, initial metatype offsets
60 1, 0, 32, 2, 0x0a, 0 /* Public */,
61 3, 1, 33, 2, 0x0a, 1 /* Public */,
62 5, 0, 36, 2, 0x0a, 3 /* Public */,
63
64 // slots: parameters
65 QMetaType::Void,
66 QMetaType::Void, QMetaType::Int, 4,
67 QMetaType::Void,
68
69 0 // eod
70};
71
72void Images::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73{
74 if (_c == QMetaObject::InvokeMetaMethod) {
75 Q_ASSERT(staticMetaObject.cast(_o));
76 auto *_t = static_cast<Images *>(_o);
77 Q_UNUSED(_t)
78 switch (_id) {
79 case 0: _t->open(); break;
80 case 1: _t->showImage((*reinterpret_cast< int(*)>(_a[1]))); break;
81 case 2: _t->finished(); break;
82 default: ;
83 }
84 }
85}
86
87const QMetaObject Images::staticMetaObject = { {
88 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
89 qt_meta_stringdata_Images.offsetsAndSize,
90 qt_meta_data_Images,
91 qt_static_metacall,
92 nullptr,
93qt_incomplete_metaTypeArray<qt_meta_stringdata_Images_t
94
95, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
96
97
98>,
99 nullptr
100} };
101
102
103const QMetaObject *Images::metaObject() const
104{
105 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106}
107
108void *Images::qt_metacast(const char *_clname)
109{
110 if (!_clname) return nullptr;
111 if (!strcmp(_clname, qt_meta_stringdata_Images.stringdata0))
112 return static_cast<void*>(this);
113 return QWidget::qt_metacast(_clname);
114}
115
116int Images::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
117{
118 _id = QWidget::qt_metacall(_c, _id, _a);
119 if (_id < 0)
120 return _id;
121 if (_c == QMetaObject::InvokeMetaMethod) {
122 if (_id < 3)
123 qt_static_metacall(this, _c, _id, _a);
124 _id -= 3;
125 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
126 if (_id < 3)
127 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
128 _id -= 3;
129 }
130 return _id;
131}
132QT_WARNING_POP
133QT_END_MOC_NAMESPACE
134