11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'imageviewer.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
23QT_WARNING_DISABLE_DEPRECATED
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_ImageViewer_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
47 "ImageViewer\0open\0\0fileName\0print\0"
48 "zoomIn\0zoomOut\0normalSize\0fitToWindow\0"
76 QMetaType::Bool, QMetaType::QString, 3,
87void ImageViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
89 if (_c == QMetaObject::InvokeMetaMethod) {
93 case 0: {
bool _r = _t->
open((*
reinterpret_cast< const QString(*)
>(_a[1])));
94 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
95 case 1: _t->print();
break;
96 case 2: _t->zoomIn();
break;
97 case 3: _t->zoomOut();
break;
98 case 4: _t->normalSize();
break;
99 case 5: _t->fitToWindow();
break;
100 case 6: _t->about();
break;
106QT_INIT_METAOBJECT
const QMetaObject ImageViewer::staticMetaObject = { {
107 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
116const QMetaObject *ImageViewer::metaObject()
const
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121void *ImageViewer::qt_metacast(
const char *_clname)
123 if (!_clname)
return nullptr;
125 return static_cast<void*
>(
this);
126 return QMainWindow::qt_metacast(_clname);
129int ImageViewer::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
131 _id = QMainWindow::qt_metacall(_c, _id, _a);
134 if (_c == QMetaObject::InvokeMetaMethod) {
136 qt_static_metacall(
this, _c, _id, _a);
138 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 *
reinterpret_cast<int*
>(_a[0]) = -1;
bool open(const QString &fileName)
static const qt_meta_stringdata_ImageViewer_t qt_meta_stringdata_ImageViewer
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_ImageViewer[]