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

#include "../../quickgui/controller.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'controller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN5QtGui10ControllerE_t {};
} // unnamed namespace

template <> constexpr inline auto QtGui::Controller::qt_create_metaobjectdata<qt_meta_tag_ZN5QtGui10ControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QtGui::Controller",
        "filePathChanged",
        "",
        "newFilePath",
        "passwordChanged",
        "newPassword",
        "passwordRequired",
        "filePath",
        "windowTitleChanged",
        "windowTitle",
        "fileOpenChanged",
        "fileOpen",
        "fileError",
        "errorMessage",
        "retryAction",
        "fileSaved",
        "entryModelChanged",
        "entryFilterModelChanged",
        "fieldModelChanged",
        "currentAccountChanged",
        "cutEntriesChanged",
        "QList<QPersistentModelIndex>",
        "cutEntries",
        "recentFilesChanged",
        "recentFiles",
        "newNotification",
        "message",
        "useNativeFileDialogChanged",
        "useNativeFileDialog",
        "supportsNativeFileDialogChanged",
        "entryAboutToBeRemoved",
        "QModelIndex",
        "removedIndex",
        "entryFilterChanged",
        "newFilter",
        "hasEntryFilterChanged",
        "hasEntryFilter",
        "filterAsDialogChanged",
        "filterAsDialog",
        "undoStackChanged",
        "QUndoStack*",
        "undoStack",
        "undoTextChanged",
        "undoText",
        "redoTextChanged",
        "redoText",
        "settingsError",
        "darkModeEnabledChanged",
        "darkModeEnabled",
        "init",
        "load",
        "create",
        "close",
        "clear",
        "save",
        "showNativeFileDialog",
        "existing",
        "createNew",
        "handleFileSelectionAccepted",
        "nativeUrl",
        "handleFileSelectionCanceled",
        "undo",
        "redo",
        "computeFileSummary",
        "handleEntriesRemoved",
        "parentIndex",
        "first",
        "last",
        "handleRecentFilesChanged",
        "clearPassword",
        "cutEntry",
        "entryIndexMaybeFromFilterModel",
        "pasteEntries",
        "destinationParent",
        "row",
        "copyToClipboard",
        "text",
        "copyTOTP",
        "url",
        "clearRecentFiles",
        "filterEntryIndex",
        "entryIndex",
        "fileName",
        "password",
        "passwordSet",
        "entryModel",
        "EntryModel*",
        "entryFilterModel",
        "EntryFilterModel*",
        "fieldModel",
        "FieldModel*",
        "currentAccountIndex",
        "currentAccountName",
        "hasCurrentAccount",
        "canPaste",
        "supportsNativeFileDialog",
        "entryFilter"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'filePathChanged'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'passwordChanged'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'passwordRequired'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'windowTitleChanged'
        QtMocHelpers::SignalData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'fileOpenChanged'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Signal 'fileError'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Signal 'fileSaved'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'entryModelChanged'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'entryFilterModelChanged'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fieldModelChanged'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentAccountChanged'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'cutEntriesChanged'
        QtMocHelpers::SignalData<void(const QList<QPersistentModelIndex> &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Signal 'recentFilesChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 24 },
        }}),
        // Signal 'newNotification'
        QtMocHelpers::SignalData<void(const QString &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 26 },
        }}),
        // Signal 'useNativeFileDialogChanged'
        QtMocHelpers::SignalData<void(bool)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Signal 'supportsNativeFileDialogChanged'
        QtMocHelpers::SignalData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'entryAboutToBeRemoved'
        QtMocHelpers::SignalData<void(const QModelIndex &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'entryFilterChanged'
        QtMocHelpers::SignalData<void(const QString &)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 34 },
        }}),
        // Signal 'hasEntryFilterChanged'
        QtMocHelpers::SignalData<void(bool)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 36 },
        }}),
        // Signal 'filterAsDialogChanged'
        QtMocHelpers::SignalData<void(bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 38 },
        }}),
        // Signal 'undoStackChanged'
        QtMocHelpers::SignalData<void(QUndoStack *)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 40, 41 },
        }}),
        // Signal 'undoTextChanged'
        QtMocHelpers::SignalData<void(const QString &)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 43 },
        }}),
        // Signal 'redoTextChanged'
        QtMocHelpers::SignalData<void(const QString &)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 45 },
        }}),
        // Signal 'settingsError'
        QtMocHelpers::SignalData<void(const QString &)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Signal 'darkModeEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 48 },
        }}),
        // Slot 'init'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'load'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'create'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'close'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'save'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showNativeFileDialog'
        QtMocHelpers::SlotData<bool(bool, bool)>(55, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 56 }, { QMetaType::Bool, 57 },
        }}),
        // Slot 'handleFileSelectionAccepted'
        QtMocHelpers::SlotData<void(const QString &, const QString &, bool, bool)>(58, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { QMetaType::QString, 59 }, { QMetaType::Bool, 56 }, { QMetaType::Bool, 57 },
        }}),
        // Slot 'handleFileSelectionCanceled'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'undo'
        QtMocHelpers::SlotData<void()>(61, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'redo'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'computeFileSummary'
        QtMocHelpers::SlotData<QString()>(63, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'handleEntriesRemoved'
        QtMocHelpers::SlotData<void(const QModelIndex &, int, int)>(64, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 65 }, { QMetaType::Int, 66 }, { QMetaType::Int, 67 },
        }}),
        // Slot 'handleRecentFilesChanged'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPrivate, QMetaType::Void),
        // Method 'clearPassword'
        QtMocHelpers::MethodData<void()>(69, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'cutEntry'
        QtMocHelpers::MethodData<void(const QModelIndex &)>(70, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 71 },
        }}),
        // Method 'pasteEntries'
        QtMocHelpers::MethodData<QStringList(const QModelIndex &, int)>(72, 2, QMC::AccessPublic, QMetaType::QStringList, {{
            { 0x80000000 | 31, 73 }, { QMetaType::Int, 74 },
        }}),
        // Method 'pasteEntries'
        QtMocHelpers::MethodData<QStringList(const QModelIndex &)>(72, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QStringList, {{
            { 0x80000000 | 31, 73 },
        }}),
        // Method 'copyToClipboard'
        QtMocHelpers::MethodData<bool(const QString &) const>(75, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 76 },
        }}),
        // Method 'copyTOTP'
        QtMocHelpers::MethodData<QString(const QString &) const>(77, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 78 },
        }}),
        // Method 'clearRecentFiles'
        QtMocHelpers::MethodData<void()>(79, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'filterEntryIndex'
        QtMocHelpers::MethodData<QModelIndex(const QModelIndex &) const>(80, 2, QMC::AccessPublic, 0x80000000 | 31, {{
            { 0x80000000 | 31, 81 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'filePath'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'fileName'
        QtMocHelpers::PropertyData<QString>(82, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'password'
        QtMocHelpers::PropertyData<QString>(83, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::Resettable | QMC::StdCppSet, 1),
        // property 'windowTitle'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags, 3),
        // property 'fileOpen'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags, 4),
        // property 'passwordSet'
        QtMocHelpers::PropertyData<bool>(84, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'entryModel'
        QtMocHelpers::PropertyData<EntryModel*>(85, 0x80000000 | 86, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
        // property 'entryFilterModel'
        QtMocHelpers::PropertyData<EntryFilterModel*>(87, 0x80000000 | 88, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'fieldModel'
        QtMocHelpers::PropertyData<FieldModel*>(89, 0x80000000 | 90, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 9),
        // property 'currentAccountIndex'
        QtMocHelpers::PropertyData<QModelIndex>(91, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 10),
        // property 'currentAccountName'
        QtMocHelpers::PropertyData<QString>(92, QMetaType::QString, QMC::DefaultPropertyFlags, 10),
        // property 'hasCurrentAccount'
        QtMocHelpers::PropertyData<bool>(93, QMetaType::Bool, QMC::DefaultPropertyFlags, 10),
        // property 'canPaste'
        QtMocHelpers::PropertyData<bool>(94, QMetaType::Bool, QMC::DefaultPropertyFlags, 11),
        // property 'recentFiles'
        QtMocHelpers::PropertyData<QStringList>(24, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Resettable, 12),
        // property 'useNativeFileDialog'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 14),
        // property 'supportsNativeFileDialog'
        QtMocHelpers::PropertyData<bool>(95, QMetaType::Bool, QMC::DefaultPropertyFlags, 15),
        // property 'entryFilter'
        QtMocHelpers::PropertyData<QString>(96, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 17),
        // property 'hasEntryFilter'
        QtMocHelpers::PropertyData<bool>(36, QMetaType::Bool, QMC::DefaultPropertyFlags, 18),
        // property 'filterAsDialog'
        QtMocHelpers::PropertyData<bool>(38, QMetaType::Bool, QMC::DefaultPropertyFlags, 19),
        // property 'undoStack'
        QtMocHelpers::PropertyData<QUndoStack*>(41, 0x80000000 | 40, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 20),
        // property 'undoText'
        QtMocHelpers::PropertyData<QString>(43, QMetaType::QString, QMC::DefaultPropertyFlags, 21),
        // property 'redoText'
        QtMocHelpers::PropertyData<QString>(45, QMetaType::QString, QMC::DefaultPropertyFlags, 22),
        // property 'darkModeEnabled'
        QtMocHelpers::PropertyData<bool>(48, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 24),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Controller, qt_meta_tag_ZN5QtGui10ControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QtGui::Controller::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui10ControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui10ControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5QtGui10ControllerE_t>.metaTypes,
    nullptr
} };

void QtGui::Controller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Controller *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->filePathChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->passwordChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->passwordRequired((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->windowTitleChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->fileOpenChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->fileError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: _t->fileSaved(); break;
        case 7: _t->entryModelChanged(); break;
        case 8: _t->entryFilterModelChanged(); break;
        case 9: _t->fieldModelChanged(); break;
        case 10: _t->currentAccountChanged(); break;
        case 11: _t->cutEntriesChanged((*reinterpret_cast<std::add_pointer_t<QList<QPersistentModelIndex>>>(_a[1]))); break;
        case 12: _t->recentFilesChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 13: _t->newNotification((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->useNativeFileDialogChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->supportsNativeFileDialogChanged(); break;
        case 16: _t->entryAboutToBeRemoved((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 17: _t->entryFilterChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->hasEntryFilterChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->filterAsDialogChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->undoStackChanged((*reinterpret_cast<std::add_pointer_t<QUndoStack*>>(_a[1]))); break;
        case 21: _t->undoTextChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->redoTextChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 23: _t->settingsError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->darkModeEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->init(); break;
        case 26: _t->load(); break;
        case 27: _t->create(); break;
        case 28: _t->close(); break;
        case 29: _t->clear(); break;
        case 30: _t->save(); break;
        case 31: { bool _r = _t->showNativeFileDialog((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 32: _t->handleFileSelectionAccepted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 33: _t->handleFileSelectionCanceled(); break;
        case 34: _t->undo(); break;
        case 35: _t->redo(); break;
        case 36: { QString _r = _t->computeFileSummary();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 37: _t->handleEntriesRemoved((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 38: _t->handleRecentFilesChanged(); break;
        case 39: _t->clearPassword(); break;
        case 40: _t->cutEntry((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 41: { QStringList _r = _t->pasteEntries((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 42: { QStringList _r = _t->pasteEntries((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 43: { bool _r = _t->copyToClipboard((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 44: { QString _r = _t->copyTOTP((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 45: _t->clearRecentFiles(); break;
        case 46: { QModelIndex _r = _t->filterEntryIndex((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QModelIndex*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QUndoStack* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::filePathChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::passwordChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::passwordRequired, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::windowTitleChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(bool )>(_a, &Controller::fileOpenChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & , const QString & )>(_a, &Controller::fileError, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::fileSaved, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::entryModelChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::entryFilterModelChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::fieldModelChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::currentAccountChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QList<QPersistentModelIndex> & )>(_a, &Controller::cutEntriesChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QStringList & )>(_a, &Controller::recentFilesChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::newNotification, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(bool )>(_a, &Controller::useNativeFileDialogChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)()>(_a, &Controller::supportsNativeFileDialogChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QModelIndex & )>(_a, &Controller::entryAboutToBeRemoved, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::entryFilterChanged, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(bool )>(_a, &Controller::hasEntryFilterChanged, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(bool )>(_a, &Controller::filterAsDialogChanged, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(QUndoStack * )>(_a, &Controller::undoStackChanged, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::undoTextChanged, 21))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::redoTextChanged, 22))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(const QString & )>(_a, &Controller::settingsError, 23))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controller::*)(bool )>(_a, &Controller::darkModeEnabledChanged, 24))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EntryFilterModel* >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EntryModel* >(); break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FieldModel* >(); break;
        case 19:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QUndoStack* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->filePath(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->fileName(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->password(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->windowTitle(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->isFileOpen(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isPasswordSet(); break;
        case 6: *reinterpret_cast<EntryModel**>(_v) = _t->entryModel(); break;
        case 7: *reinterpret_cast<EntryFilterModel**>(_v) = _t->entryFilterModel(); break;
        case 8: *reinterpret_cast<FieldModel**>(_v) = _t->fieldModel(); break;
        case 9: *reinterpret_cast<QModelIndex*>(_v) = _t->currentAccountIndex(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->currentAccountName(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->hasCurrentAccount(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->canPaste(); break;
        case 13: *reinterpret_cast<QStringList*>(_v) = _t->recentFiles(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->useNativeFileDialog(); break;
        case 15: *reinterpret_cast<bool*>(_v) = _t->supportsNativeFileDialog(); break;
        case 16: *reinterpret_cast<QString*>(_v) = _t->entryFilter(); break;
        case 17: *reinterpret_cast<bool*>(_v) = _t->hasEntryFilter(); break;
        case 18: *reinterpret_cast<bool*>(_v) = _t->filterAsDialog(); break;
        case 19: *reinterpret_cast<QUndoStack**>(_v) = _t->undoStack(); break;
        case 20: *reinterpret_cast<QString*>(_v) = _t->undoText(); break;
        case 21: *reinterpret_cast<QString*>(_v) = _t->redoText(); break;
        case 22: *reinterpret_cast<bool*>(_v) = _t->isDarkModeEnabled(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFilePath(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setPassword(*reinterpret_cast<QString*>(_v)); break;
        case 9: _t->setCurrentAccountIndex(*reinterpret_cast<QModelIndex*>(_v)); break;
        case 14: _t->setUseNativeFileDialog(*reinterpret_cast<bool*>(_v)); break;
        case 16: _t->setEntryFilter(*reinterpret_cast<QString*>(_v)); break;
        case 22: _t->setDarkModeEnabled(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
    if (_c == QMetaObject::ResetProperty) {
        switch (_id) {
        case 2: _t->clearPassword(); break;
        case 13: _t->clearRecentFiles(); break;
        default: break;
        }
    }
}

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

void *QtGui::Controller::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui10ControllerE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QtGui::Controller::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 47)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 47;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 47)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 47;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void QtGui::Controller::filePathChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void QtGui::Controller::passwordChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void QtGui::Controller::passwordRequired(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void QtGui::Controller::windowTitleChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void QtGui::Controller::fileOpenChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void QtGui::Controller::fileError(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void QtGui::Controller::fileSaved()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QtGui::Controller::entryModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QtGui::Controller::entryFilterModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QtGui::Controller::fieldModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QtGui::Controller::currentAccountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QtGui::Controller::cutEntriesChanged(const QList<QPersistentModelIndex> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void QtGui::Controller::recentFilesChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void QtGui::Controller::newNotification(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void QtGui::Controller::useNativeFileDialogChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void QtGui::Controller::supportsNativeFileDialogChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void QtGui::Controller::entryAboutToBeRemoved(const QModelIndex & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void QtGui::Controller::entryFilterChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void QtGui::Controller::hasEntryFilterChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void QtGui::Controller::filterAsDialogChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 19, nullptr, _t1);
}

// SIGNAL 20
void QtGui::Controller::undoStackChanged(QUndoStack * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 20, nullptr, _t1);
}

// SIGNAL 21
void QtGui::Controller::undoTextChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 21, nullptr, _t1);
}

// SIGNAL 22
void QtGui::Controller::redoTextChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 22, nullptr, _t1);
}

// SIGNAL 23
void QtGui::Controller::settingsError(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 23, nullptr, _t1);
}

// SIGNAL 24
void QtGui::Controller::darkModeEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 24, nullptr, _t1);
}
QT_WARNING_POP
