123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'mainwindow.h'
- **
- ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include <memory>
- #include "../../mainwindow.h"
- #include <QtGui/qtextcursor.h>
- #include <QtCore/qbytearray.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.2.4. It"
- #error "cannot be used with the include files from this version of Qt."
- #error "(The moc has changed too much.)"
- #endif
- QT_BEGIN_MOC_NAMESPACE
- QT_WARNING_PUSH
- QT_WARNING_DISABLE_DEPRECATED
- struct qt_meta_stringdata_MainWindow_t {
- const uint offsetsAndSize[24];
- char stringdata0[184];
- };
- #define QT_MOC_LITERAL(ofs, len) \
- uint(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs), len
- static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
- {
- QT_MOC_LITERAL(0, 10), // "MainWindow"
- QT_MOC_LITERAL(11, 19), // "on_btn_link_clicked"
- QT_MOC_LITERAL(31, 0), // ""
- QT_MOC_LITERAL(32, 17), // "onTreeItemClicked"
- QT_MOC_LITERAL(50, 11), // "QModelIndex"
- QT_MOC_LITERAL(62, 5), // "index"
- QT_MOC_LITERAL(68, 20), // "on_tbtn_link_clicked"
- QT_MOC_LITERAL(89, 18), // "on_btn_set_clicked"
- QT_MOC_LITERAL(108, 19), // "on_tbtn_set_clicked"
- QT_MOC_LITERAL(128, 20), // "on_btn_scope_clicked"
- QT_MOC_LITERAL(149, 21), // "on_tbtn_scope_clicked"
- QT_MOC_LITERAL(171, 12) // "tree_connect"
- },
- "MainWindow\0on_btn_link_clicked\0\0"
- "onTreeItemClicked\0QModelIndex\0index\0"
- "on_tbtn_link_clicked\0on_btn_set_clicked\0"
- "on_tbtn_set_clicked\0on_btn_scope_clicked\0"
- "on_tbtn_scope_clicked\0tree_connect"
- };
- #undef QT_MOC_LITERAL
- static const uint qt_meta_data_MainWindow[] = {
- // content:
- 10, // revision
- 0, // classname
- 0, 0, // classinfo
- 8, 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, 62, 2, 0x08, 1 /* Private */,
- 3, 1, 63, 2, 0x08, 2 /* Private */,
- 6, 0, 66, 2, 0x08, 4 /* Private */,
- 7, 0, 67, 2, 0x08, 5 /* Private */,
- 8, 0, 68, 2, 0x08, 6 /* Private */,
- 9, 0, 69, 2, 0x08, 7 /* Private */,
- 10, 0, 70, 2, 0x08, 8 /* Private */,
- 11, 0, 71, 2, 0x08, 9 /* Private */,
- // slots: parameters
- QMetaType::Void,
- QMetaType::Void, 0x80000000 | 4, 5,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- 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->on_btn_link_clicked(); break;
- case 1: _t->onTreeItemClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
- case 2: _t->on_tbtn_link_clicked(); break;
- case 3: _t->on_btn_set_clicked(); break;
- case 4: _t->on_tbtn_set_clicked(); break;
- case 5: _t->on_btn_scope_clicked(); break;
- case 6: _t->on_tbtn_scope_clicked(); break;
- case 7: _t->tree_connect(); break;
- default: ;
- }
- }
- }
- const QMetaObject MainWindow::staticMetaObject = { {
- QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
- qt_meta_stringdata_MainWindow.offsetsAndSize,
- qt_meta_data_MainWindow,
- qt_static_metacall,
- nullptr,
- qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t
- , QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>
- , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
- >,
- nullptr
- } };
- 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 < 8)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 8;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 8)
- *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
- _id -= 8;
- }
- return _id;
- }
- QT_WARNING_POP
- QT_END_MOC_NAMESPACE
|