/****************************************************************************
** 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 "../../gui/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_QtGui__MainWindow_t {
    QByteArrayData data[58];
    char stringdata0[799];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__MainWindow_t qt_meta_stringdata_QtGui__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 17), // "QtGui::MainWindow"
QT_MOC_LITERAL(1, 18, 8), // "openFile"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 4), // "path"
QT_MOC_LITERAL(4, 33, 10), // "createFile"
QT_MOC_LITERAL(5, 44, 8), // "password"
QT_MOC_LITERAL(6, 53, 14), // "changePassword"
QT_MOC_LITERAL(7, 68, 8), // "saveFile"
QT_MOC_LITERAL(8, 77, 10), // "exportFile"
QT_MOC_LITERAL(9, 88, 9), // "closeFile"
QT_MOC_LITERAL(10, 98, 18), // "showOpenFileDialog"
QT_MOC_LITERAL(11, 117, 18), // "showSaveFileDialog"
QT_MOC_LITERAL(12, 136, 18), // "showSettingsDialog"
QT_MOC_LITERAL(13, 155, 15), // "showAboutDialog"
QT_MOC_LITERAL(14, 171, 27), // "showPassowrdGeneratorDialog"
QT_MOC_LITERAL(15, 199, 12), // "showUndoView"
QT_MOC_LITERAL(16, 212, 8), // "showFile"
QT_MOC_LITERAL(17, 221, 10), // "addAccount"
QT_MOC_LITERAL(18, 232, 11), // "addCategory"
QT_MOC_LITERAL(19, 244, 8), // "addEntry"
QT_MOC_LITERAL(20, 253, 13), // "Io::EntryType"
QT_MOC_LITERAL(21, 267, 4), // "type"
QT_MOC_LITERAL(22, 272, 11), // "removeEntry"
QT_MOC_LITERAL(23, 284, 11), // "applyFilter"
QT_MOC_LITERAL(24, 296, 10), // "filterText"
QT_MOC_LITERAL(25, 307, 15), // "accountSelected"
QT_MOC_LITERAL(26, 323, 11), // "QModelIndex"
QT_MOC_LITERAL(27, 335, 8), // "selected"
QT_MOC_LITERAL(28, 344, 9), // "insertRow"
QT_MOC_LITERAL(29, 354, 10), // "removeRows"
QT_MOC_LITERAL(30, 365, 19), // "markAsPasswordField"
QT_MOC_LITERAL(31, 385, 17), // "markAsNormalField"
QT_MOC_LITERAL(32, 403, 12), // "setFieldType"
QT_MOC_LITERAL(33, 416, 13), // "Io::FieldType"
QT_MOC_LITERAL(34, 430, 9), // "fieldType"
QT_MOC_LITERAL(35, 440, 21), // "setPasswordVisibility"
QT_MOC_LITERAL(36, 462, 8), // "QAction*"
QT_MOC_LITERAL(37, 471, 14), // "selectedAction"
QT_MOC_LITERAL(38, 486, 12), // "insertFields"
QT_MOC_LITERAL(39, 499, 12), // "fieldsString"
QT_MOC_LITERAL(40, 512, 26), // "copyFieldsForXMilliSeconds"
QT_MOC_LITERAL(41, 539, 1), // "x"
QT_MOC_LITERAL(42, 541, 10), // "copyFields"
QT_MOC_LITERAL(43, 552, 14), // "copyFieldsTOTP"
QT_MOC_LITERAL(44, 567, 8), // "copyTOTP"
QT_MOC_LITERAL(45, 576, 11), // "std::string"
QT_MOC_LITERAL(46, 588, 3), // "url"
QT_MOC_LITERAL(47, 592, 25), // "insertFieldsFromClipboard"
QT_MOC_LITERAL(48, 618, 23), // "showTreeViewContextMenu"
QT_MOC_LITERAL(49, 642, 3), // "pos"
QT_MOC_LITERAL(50, 646, 24), // "showTableViewContextMenu"
QT_MOC_LITERAL(51, 671, 15), // "showFileDetails"
QT_MOC_LITERAL(52, 687, 23), // "showContainingDirectory"
QT_MOC_LITERAL(53, 711, 14), // "clearClipboard"
QT_MOC_LITERAL(54, 726, 19), // "setSomethingChanged"
QT_MOC_LITERAL(55, 746, 16), // "somethingChanged"
QT_MOC_LITERAL(56, 763, 16), // "updateStyleSheet"
QT_MOC_LITERAL(57, 780, 18) // "updateColumnSizing"

    },
    "QtGui::MainWindow\0openFile\0\0path\0"
    "createFile\0password\0changePassword\0"
    "saveFile\0exportFile\0closeFile\0"
    "showOpenFileDialog\0showSaveFileDialog\0"
    "showSettingsDialog\0showAboutDialog\0"
    "showPassowrdGeneratorDialog\0showUndoView\0"
    "showFile\0addAccount\0addCategory\0"
    "addEntry\0Io::EntryType\0type\0removeEntry\0"
    "applyFilter\0filterText\0accountSelected\0"
    "QModelIndex\0selected\0insertRow\0"
    "removeRows\0markAsPasswordField\0"
    "markAsNormalField\0setFieldType\0"
    "Io::FieldType\0fieldType\0setPasswordVisibility\0"
    "QAction*\0selectedAction\0insertFields\0"
    "fieldsString\0copyFieldsForXMilliSeconds\0"
    "x\0copyFields\0copyFieldsTOTP\0copyTOTP\0"
    "std::string\0url\0insertFieldsFromClipboard\0"
    "showTreeViewContextMenu\0pos\0"
    "showTableViewContextMenu\0showFileDetails\0"
    "showContainingDirectory\0clearClipboard\0"
    "setSomethingChanged\0somethingChanged\0"
    "updateStyleSheet\0updateColumnSizing"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  229,    2, 0x0a /* Public */,
       4,    2,  232,    2, 0x0a /* Public */,
       4,    1,  237,    2, 0x0a /* Public */,
       4,    0,  240,    2, 0x0a /* Public */,
       6,    0,  241,    2, 0x0a /* Public */,
       7,    0,  242,    2, 0x0a /* Public */,
       8,    0,  243,    2, 0x0a /* Public */,
       9,    0,  244,    2, 0x0a /* Public */,
      10,    0,  245,    2, 0x0a /* Public */,
      11,    0,  246,    2, 0x0a /* Public */,
      12,    0,  247,    2, 0x0a /* Public */,
      13,    0,  248,    2, 0x0a /* Public */,
      14,    0,  249,    2, 0x0a /* Public */,
      15,    0,  250,    2, 0x0a /* Public */,
      16,    0,  251,    2, 0x08 /* Private */,
      17,    0,  252,    2, 0x08 /* Private */,
      18,    0,  253,    2, 0x08 /* Private */,
      19,    1,  254,    2, 0x08 /* Private */,
      22,    0,  257,    2, 0x08 /* Private */,
      23,    1,  258,    2, 0x08 /* Private */,
      25,    2,  261,    2, 0x08 /* Private */,
      28,    0,  266,    2, 0x08 /* Private */,
      29,    0,  267,    2, 0x08 /* Private */,
      30,    0,  268,    2, 0x08 /* Private */,
      31,    0,  269,    2, 0x08 /* Private */,
      32,    1,  270,    2, 0x08 /* Private */,
      35,    1,  273,    2, 0x08 /* Private */,
      38,    1,  276,    2, 0x08 /* Private */,
      40,    1,  279,    2, 0x08 /* Private */,
      40,    0,  282,    2, 0x28 /* Private | MethodCloned */,
      42,    0,  283,    2, 0x08 /* Private */,
      43,    0,  284,    2, 0x08 /* Private */,
      44,    1,  285,    2, 0x08 /* Private */,
      47,    0,  288,    2, 0x08 /* Private */,
      48,    1,  289,    2, 0x08 /* Private */,
      50,    1,  292,    2, 0x08 /* Private */,
      51,    0,  295,    2, 0x08 /* Private */,
      52,    0,  296,    2, 0x08 /* Private */,
      53,    0,  297,    2, 0x08 /* Private */,
      54,    0,  298,    2, 0x08 /* Private */,
      54,    1,  299,    2, 0x08 /* Private */,
      56,    0,  302,    2, 0x08 /* Private */,
      57,    0,  303,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    5,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, 0x80000000 | 26, 0x80000000 | 26,   27,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,   34,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, QMetaType::QString,   39,
    QMetaType::Void, QMetaType::Int,   41,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 45,   46,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   49,
    QMetaType::Void, QMetaType::QPoint,   49,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   55,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void QtGui::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: { bool _r = _t->openFile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->createFile((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->createFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: { bool _r = _t->createFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->changePassword(); break;
        case 5: { bool _r = _t->saveFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->exportFile(); break;
        case 7: { bool _r = _t->closeFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->showOpenFileDialog(); break;
        case 9: _t->showSaveFileDialog(); break;
        case 10: _t->showSettingsDialog(); break;
        case 11: _t->showAboutDialog(); break;
        case 12: _t->showPassowrdGeneratorDialog(); break;
        case 13: _t->showUndoView(); break;
        case 14: { bool _r = _t->showFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->addAccount(); break;
        case 16: _t->addCategory(); break;
        case 17: _t->addEntry((*reinterpret_cast< Io::EntryType(*)>(_a[1]))); break;
        case 18: _t->removeEntry(); break;
        case 19: _t->applyFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->accountSelected((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 21: _t->insertRow(); break;
        case 22: _t->removeRows(); break;
        case 23: _t->markAsPasswordField(); break;
        case 24: _t->markAsNormalField(); break;
        case 25: _t->setFieldType((*reinterpret_cast< Io::FieldType(*)>(_a[1]))); break;
        case 26: _t->setPasswordVisibility((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 27: _t->insertFields((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 28: _t->copyFieldsForXMilliSeconds((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->copyFieldsForXMilliSeconds(); break;
        case 30: _t->copyFields(); break;
        case 31: _t->copyFieldsTOTP(); break;
        case 32: _t->copyTOTP((*reinterpret_cast< std::string(*)>(_a[1]))); break;
        case 33: _t->insertFieldsFromClipboard(); break;
        case 34: _t->showTreeViewContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 35: _t->showTableViewContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 36: _t->showFileDetails(); break;
        case 37: _t->showContainingDirectory(); break;
        case 38: _t->clearClipboard(); break;
        case 39: _t->setSomethingChanged(); break;
        case 40: _t->setSomethingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 41: _t->updateStyleSheet(); break;
        case 42: _t->updateColumnSizing(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QtGui::MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_QtGui__MainWindow.data,
    qt_meta_data_QtGui__MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QtGui::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 < 43)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 43;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 43)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 43;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
