187 lines
6.2 KiB
C++
187 lines
6.2 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'MainWindow.h'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.4.2)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include <memory>
|
|
#include "../../../src/MainWindow.h"
|
|
#include <QtGui/qtextcursor.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'MainWindow.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 68
|
|
#error "This file was generated using the moc from 6.4.2. It"
|
|
#error "cannot be used with the include files from this version of Qt."
|
|
#error "(The moc has changed too much.)"
|
|
#endif
|
|
|
|
#ifndef Q_CONSTINIT
|
|
#define Q_CONSTINIT
|
|
#endif
|
|
|
|
QT_BEGIN_MOC_NAMESPACE
|
|
QT_WARNING_PUSH
|
|
QT_WARNING_DISABLE_DEPRECATED
|
|
namespace {
|
|
struct qt_meta_stringdata_MainWindow_t {
|
|
uint offsetsAndSizes[22];
|
|
char stringdata0[11];
|
|
char stringdata1[16];
|
|
char stringdata2[1];
|
|
char stringdata3[16];
|
|
char stringdata4[17];
|
|
char stringdata5[17];
|
|
char stringdata6[20];
|
|
char stringdata7[4];
|
|
char stringdata8[18];
|
|
char stringdata9[17];
|
|
char stringdata10[8];
|
|
};
|
|
#define QT_MOC_LITERAL(ofs, len) \
|
|
uint(sizeof(qt_meta_stringdata_MainWindow_t::offsetsAndSizes) + ofs), len
|
|
Q_CONSTINIT static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
|
{
|
|
QT_MOC_LITERAL(0, 10), // "MainWindow"
|
|
QT_MOC_LITERAL(11, 15), // "onModifyClicked"
|
|
QT_MOC_LITERAL(27, 0), // ""
|
|
QT_MOC_LITERAL(28, 15), // "onBackupClicked"
|
|
QT_MOC_LITERAL(44, 16), // "onConnectClicked"
|
|
QT_MOC_LITERAL(61, 16), // "onRefreshClicked"
|
|
QT_MOC_LITERAL(78, 19), // "onPresetPassChanged"
|
|
QT_MOC_LITERAL(98, 3), // "idx"
|
|
QT_MOC_LITERAL(102, 17), // "onPresetIpChanged"
|
|
QT_MOC_LITERAL(120, 16), // "onSshModeToggled"
|
|
QT_MOC_LITERAL(137, 7) // "checked"
|
|
},
|
|
"MainWindow",
|
|
"onModifyClicked",
|
|
"",
|
|
"onBackupClicked",
|
|
"onConnectClicked",
|
|
"onRefreshClicked",
|
|
"onPresetPassChanged",
|
|
"idx",
|
|
"onPresetIpChanged",
|
|
"onSshModeToggled",
|
|
"checked"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
} // unnamed namespace
|
|
|
|
Q_CONSTINIT static const uint qt_meta_data_MainWindow[] = {
|
|
|
|
// content:
|
|
10, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
7, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
0, // signalCount
|
|
|
|
// slots: name, argc, parameters, tag, flags, initial metatype offsets
|
|
1, 0, 56, 2, 0x08, 1 /* Private */,
|
|
3, 0, 57, 2, 0x08, 2 /* Private */,
|
|
4, 0, 58, 2, 0x08, 3 /* Private */,
|
|
5, 0, 59, 2, 0x08, 4 /* Private */,
|
|
6, 1, 60, 2, 0x08, 5 /* Private */,
|
|
8, 1, 63, 2, 0x08, 7 /* Private */,
|
|
9, 1, 66, 2, 0x08, 9 /* Private */,
|
|
|
|
// slots: parameters
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void, QMetaType::Int, 7,
|
|
QMetaType::Void, QMetaType::Bool, 10,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
|
|
qt_meta_stringdata_MainWindow.offsetsAndSizes,
|
|
qt_meta_data_MainWindow,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t,
|
|
// Q_OBJECT / Q_GADGET
|
|
QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>,
|
|
// method 'onModifyClicked'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
// method 'onBackupClicked'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
// method 'onConnectClicked'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
// method 'onRefreshClicked'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
// method 'onPresetPassChanged'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
QtPrivate::TypeAndForceComplete<int, std::false_type>,
|
|
// method 'onPresetIpChanged'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
QtPrivate::TypeAndForceComplete<int, std::false_type>,
|
|
// method 'onSshModeToggled'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
QtPrivate::TypeAndForceComplete<bool, std::false_type>
|
|
>,
|
|
nullptr
|
|
} };
|
|
|
|
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
auto *_t = static_cast<MainWindow *>(_o);
|
|
(void)_t;
|
|
switch (_id) {
|
|
case 0: _t->onModifyClicked(); break;
|
|
case 1: _t->onBackupClicked(); break;
|
|
case 2: _t->onConnectClicked(); break;
|
|
case 3: _t->onRefreshClicked(); break;
|
|
case 4: _t->onPresetPassChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 5: _t->onPresetIpChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 6: _t->onSshModeToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
|
|
default: ;
|
|
}
|
|
}
|
|
}
|
|
|
|
const QMetaObject *MainWindow::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *MainWindow::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
|
return static_cast<void*>(this);
|
|
return QMainWindow::qt_metacast(_clname);
|
|
}
|
|
|
|
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
|
if (_id < 0)
|
|
return _id;
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
if (_id < 7)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 7;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 7)
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
|
_id -= 7;
|
|
}
|
|
return _id;
|
|
}
|
|
QT_WARNING_POP
|
|
QT_END_MOC_NAMESPACE
|