/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../../kbibtex-0.10.0/src/program/mainwindow.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 != 67
#error "This file was generated using the moc from 5.15.18. 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_KBibTeXMainWindow_t {
    QByteArrayData data[16];
    char stringdata0[224];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KBibTeXMainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KBibTeXMainWindow_t qt_meta_stringdata_KBibTeXMainWindow = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KBibTeXMainWindow"
QT_MOC_LITERAL(1, 18, 12), // "openDocument"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 3), // "url"
QT_MOC_LITERAL(4, 36, 11), // "newDocument"
QT_MOC_LITERAL(5, 48, 18), // "openDocumentDialog"
QT_MOC_LITERAL(6, 67, 15), // "showPreferences"
QT_MOC_LITERAL(7, 83, 16), // "documentSwitched"
QT_MOC_LITERAL(8, 100, 9), // "FileView*"
QT_MOC_LITERAL(9, 110, 17), // "showSearchResults"
QT_MOC_LITERAL(10, 128, 20), // "documentListsChanged"
QT_MOC_LITERAL(11, 149, 25), // "OpenFileInfo::StatusFlags"
QT_MOC_LITERAL(12, 175, 11), // "statusFlags"
QT_MOC_LITERAL(13, 187, 14), // "openRecentFile"
QT_MOC_LITERAL(14, 202, 13), // "queryCloseAll"
QT_MOC_LITERAL(15, 216, 7) // "delayed"

    },
    "KBibTeXMainWindow\0openDocument\0\0url\0"
    "newDocument\0openDocumentDialog\0"
    "showPreferences\0documentSwitched\0"
    "FileView*\0showSearchResults\0"
    "documentListsChanged\0OpenFileInfo::StatusFlags\0"
    "statusFlags\0openRecentFile\0queryCloseAll\0"
    "delayed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KBibTeXMainWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x0a /* Public */,
       4,    0,   67,    2, 0x09 /* Protected */,
       5,    0,   68,    2, 0x09 /* Protected */,
       6,    0,   69,    2, 0x09 /* Protected */,
       7,    2,   70,    2, 0x09 /* Protected */,
       9,    0,   75,    2, 0x08 /* Private */,
      10,    1,   76,    2, 0x08 /* Private */,
      13,    0,   79,    2, 0x08 /* Private */,
      14,    0,   80,    2, 0x08 /* Private */,
      15,    0,   81,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KBibTeXMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KBibTeXMainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->newDocument(); break;
        case 2: _t->openDocumentDialog(); break;
        case 3: _t->showPreferences(); break;
        case 4: _t->documentSwitched((*reinterpret_cast< FileView*(*)>(_a[1])),(*reinterpret_cast< FileView*(*)>(_a[2]))); break;
        case 5: _t->showSearchResults(); break;
        case 6: _t->documentListsChanged((*reinterpret_cast< OpenFileInfo::StatusFlags(*)>(_a[1]))); break;
        case 7: _t->openRecentFile(); break;
        case 8: _t->queryCloseAll(); break;
        case 9: _t->delayed(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KBibTeXMainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<KParts::MainWindow::staticMetaObject>(),
    qt_meta_stringdata_KBibTeXMainWindow.data,
    qt_meta_data_KBibTeXMainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *KBibTeXMainWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *KBibTeXMainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KBibTeXMainWindow.stringdata0))
        return static_cast<void*>(this);
    return KParts::MainWindow::qt_metacast(_clname);
}

int KBibTeXMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::MainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
