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

#include <memory>
#include "../../../../../qttools/src/linguist/linguist/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.6. 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 {
    QByteArrayData data[91];
    char stringdata0[1173];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 4), // "done"
QT_MOC_LITERAL(2, 16, 0), // ""
QT_MOC_LITERAL(3, 17, 11), // "doneAndNext"
QT_MOC_LITERAL(4, 29, 4), // "prev"
QT_MOC_LITERAL(5, 34, 4), // "next"
QT_MOC_LITERAL(6, 39, 19), // "recentFileActivated"
QT_MOC_LITERAL(7, 59, 8), // "QAction*"
QT_MOC_LITERAL(8, 68, 6), // "action"
QT_MOC_LITERAL(9, 75, 20), // "setupRecentFilesMenu"
QT_MOC_LITERAL(10, 96, 4), // "open"
QT_MOC_LITERAL(11, 101, 7), // "openAux"
QT_MOC_LITERAL(12, 109, 7), // "saveAll"
QT_MOC_LITERAL(13, 117, 4), // "save"
QT_MOC_LITERAL(14, 122, 6), // "saveAs"
QT_MOC_LITERAL(15, 129, 10), // "releaseAll"
QT_MOC_LITERAL(16, 140, 7), // "release"
QT_MOC_LITERAL(17, 148, 9), // "releaseAs"
QT_MOC_LITERAL(18, 158, 5), // "print"
QT_MOC_LITERAL(19, 164, 9), // "closeFile"
QT_MOC_LITERAL(20, 174, 8), // "closeAll"
QT_MOC_LITERAL(21, 183, 9), // "findAgain"
QT_MOC_LITERAL(22, 193, 19), // "showTranslateDialog"
QT_MOC_LITERAL(23, 213, 24), // "showBatchTranslateDialog"
QT_MOC_LITERAL(24, 238, 23), // "showTranslationSettings"
QT_MOC_LITERAL(25, 262, 18), // "updateTranslateHit"
QT_MOC_LITERAL(26, 281, 5), // "bool&"
QT_MOC_LITERAL(27, 287, 3), // "hit"
QT_MOC_LITERAL(28, 291, 9), // "translate"
QT_MOC_LITERAL(29, 301, 4), // "mode"
QT_MOC_LITERAL(30, 306, 13), // "newPhraseBook"
QT_MOC_LITERAL(31, 320, 14), // "openPhraseBook"
QT_MOC_LITERAL(32, 335, 15), // "closePhraseBook"
QT_MOC_LITERAL(33, 351, 14), // "editPhraseBook"
QT_MOC_LITERAL(34, 366, 15), // "printPhraseBook"
QT_MOC_LITERAL(35, 382, 15), // "addToPhraseBook"
QT_MOC_LITERAL(36, 398, 6), // "manual"
QT_MOC_LITERAL(37, 405, 12), // "resetSorting"
QT_MOC_LITERAL(38, 418, 5), // "about"
QT_MOC_LITERAL(39, 424, 7), // "aboutQt"
QT_MOC_LITERAL(40, 432, 14), // "updateViewMenu"
QT_MOC_LITERAL(41, 447, 15), // "fileAboutToShow"
QT_MOC_LITERAL(42, 463, 15), // "editAboutToShow"
QT_MOC_LITERAL(43, 479, 15), // "showContextDock"
QT_MOC_LITERAL(44, 495, 16), // "showMessagesDock"
QT_MOC_LITERAL(45, 512, 15), // "showPhrasesDock"
QT_MOC_LITERAL(46, 528, 18), // "showSourceCodeDock"
QT_MOC_LITERAL(47, 547, 13), // "showErrorDock"
QT_MOC_LITERAL(48, 561, 11), // "setupPhrase"
QT_MOC_LITERAL(49, 573, 12), // "maybeSaveAll"
QT_MOC_LITERAL(50, 586, 9), // "maybeSave"
QT_MOC_LITERAL(51, 596, 5), // "model"
QT_MOC_LITERAL(52, 602, 14), // "updateProgress"
QT_MOC_LITERAL(53, 617, 21), // "maybeUpdateStatistics"
QT_MOC_LITERAL(54, 639, 14), // "MultiDataIndex"
QT_MOC_LITERAL(55, 654, 18), // "translationChanged"
QT_MOC_LITERAL(56, 673, 13), // "updateCaption"
QT_MOC_LITERAL(57, 687, 17), // "updateLatestModel"
QT_MOC_LITERAL(58, 705, 11), // "QModelIndex"
QT_MOC_LITERAL(59, 717, 5), // "index"
QT_MOC_LITERAL(60, 723, 22), // "selectedContextChanged"
QT_MOC_LITERAL(61, 746, 11), // "sortedIndex"
QT_MOC_LITERAL(62, 758, 8), // "oldIndex"
QT_MOC_LITERAL(63, 767, 22), // "selectedMessageChanged"
QT_MOC_LITERAL(64, 790, 17), // "setCurrentMessage"
QT_MOC_LITERAL(65, 808, 10), // "modelIndex"
QT_MOC_LITERAL(66, 819, 9), // "Candidate"
QT_MOC_LITERAL(67, 829, 2), // "tm"
QT_MOC_LITERAL(68, 832, 17), // "updateTranslation"
QT_MOC_LITERAL(69, 850, 12), // "translations"
QT_MOC_LITERAL(70, 863, 23), // "updateTranslatorComment"
QT_MOC_LITERAL(71, 887, 7), // "comment"
QT_MOC_LITERAL(72, 895, 17), // "updateActiveModel"
QT_MOC_LITERAL(73, 913, 16), // "refreshItemViews"
QT_MOC_LITERAL(74, 930, 14), // "toggleFinished"
QT_MOC_LITERAL(75, 945, 14), // "prevUnfinished"
QT_MOC_LITERAL(76, 960, 14), // "nextUnfinished"
QT_MOC_LITERAL(77, 975, 8), // "findNext"
QT_MOC_LITERAL(78, 984, 4), // "text"
QT_MOC_LITERAL(79, 989, 23), // "DataModel::FindLocation"
QT_MOC_LITERAL(80, 1013, 5), // "where"
QT_MOC_LITERAL(81, 1019, 9), // "matchCase"
QT_MOC_LITERAL(82, 1029, 18), // "ignoreAccelerators"
QT_MOC_LITERAL(83, 1048, 12), // "skipObsolete"
QT_MOC_LITERAL(84, 1061, 10), // "regularExp"
QT_MOC_LITERAL(85, 1072, 10), // "revalidate"
QT_MOC_LITERAL(86, 1083, 16), // "toggleStatistics"
QT_MOC_LITERAL(87, 1100, 25), // "toggleVisualizeWhitespace"
QT_MOC_LITERAL(88, 1126, 11), // "onWhatsThis"
QT_MOC_LITERAL(89, 1138, 17), // "updatePhraseDicts"
QT_MOC_LITERAL(90, 1156, 16) // "updatePhraseDict"

    },
    "MainWindow\0done\0\0doneAndNext\0prev\0"
    "next\0recentFileActivated\0QAction*\0"
    "action\0setupRecentFilesMenu\0open\0"
    "openAux\0saveAll\0save\0saveAs\0releaseAll\0"
    "release\0releaseAs\0print\0closeFile\0"
    "closeAll\0findAgain\0showTranslateDialog\0"
    "showBatchTranslateDialog\0"
    "showTranslationSettings\0updateTranslateHit\0"
    "bool&\0hit\0translate\0mode\0newPhraseBook\0"
    "openPhraseBook\0closePhraseBook\0"
    "editPhraseBook\0printPhraseBook\0"
    "addToPhraseBook\0manual\0resetSorting\0"
    "about\0aboutQt\0updateViewMenu\0"
    "fileAboutToShow\0editAboutToShow\0"
    "showContextDock\0showMessagesDock\0"
    "showPhrasesDock\0showSourceCodeDock\0"
    "showErrorDock\0setupPhrase\0maybeSaveAll\0"
    "maybeSave\0model\0updateProgress\0"
    "maybeUpdateStatistics\0MultiDataIndex\0"
    "translationChanged\0updateCaption\0"
    "updateLatestModel\0QModelIndex\0index\0"
    "selectedContextChanged\0sortedIndex\0"
    "oldIndex\0selectedMessageChanged\0"
    "setCurrentMessage\0modelIndex\0Candidate\0"
    "tm\0updateTranslation\0translations\0"
    "updateTranslatorComment\0comment\0"
    "updateActiveModel\0refreshItemViews\0"
    "toggleFinished\0prevUnfinished\0"
    "nextUnfinished\0findNext\0text\0"
    "DataModel::FindLocation\0where\0matchCase\0"
    "ignoreAccelerators\0skipObsolete\0"
    "regularExp\0revalidate\0toggleStatistics\0"
    "toggleVisualizeWhitespace\0onWhatsThis\0"
    "updatePhraseDicts\0updatePhraseDict"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  344,    2, 0x08 /* Private */,
       3,    0,  345,    2, 0x08 /* Private */,
       4,    0,  346,    2, 0x08 /* Private */,
       5,    0,  347,    2, 0x08 /* Private */,
       6,    1,  348,    2, 0x08 /* Private */,
       9,    0,  351,    2, 0x08 /* Private */,
      10,    0,  352,    2, 0x08 /* Private */,
      11,    0,  353,    2, 0x08 /* Private */,
      12,    0,  354,    2, 0x08 /* Private */,
      13,    0,  355,    2, 0x08 /* Private */,
      14,    0,  356,    2, 0x08 /* Private */,
      15,    0,  357,    2, 0x08 /* Private */,
      16,    0,  358,    2, 0x08 /* Private */,
      17,    0,  359,    2, 0x08 /* Private */,
      18,    0,  360,    2, 0x08 /* Private */,
      19,    0,  361,    2, 0x08 /* Private */,
      20,    0,  362,    2, 0x08 /* Private */,
      21,    0,  363,    2, 0x08 /* Private */,
      22,    0,  364,    2, 0x08 /* Private */,
      23,    0,  365,    2, 0x08 /* Private */,
      24,    0,  366,    2, 0x08 /* Private */,
      25,    1,  367,    2, 0x08 /* Private */,
      28,    1,  370,    2, 0x08 /* Private */,
      30,    0,  373,    2, 0x08 /* Private */,
      31,    0,  374,    2, 0x08 /* Private */,
      32,    1,  375,    2, 0x08 /* Private */,
      33,    1,  378,    2, 0x08 /* Private */,
      34,    1,  381,    2, 0x08 /* Private */,
      35,    0,  384,    2, 0x08 /* Private */,
      36,    0,  385,    2, 0x08 /* Private */,
      37,    0,  386,    2, 0x08 /* Private */,
      38,    0,  387,    2, 0x08 /* Private */,
      39,    0,  388,    2, 0x08 /* Private */,
      40,    0,  389,    2, 0x08 /* Private */,
      41,    0,  390,    2, 0x08 /* Private */,
      42,    0,  391,    2, 0x08 /* Private */,
      43,    0,  392,    2, 0x08 /* Private */,
      44,    0,  393,    2, 0x08 /* Private */,
      45,    0,  394,    2, 0x08 /* Private */,
      46,    0,  395,    2, 0x08 /* Private */,
      47,    0,  396,    2, 0x08 /* Private */,
      48,    0,  397,    2, 0x08 /* Private */,
      49,    0,  398,    2, 0x08 /* Private */,
      50,    1,  399,    2, 0x08 /* Private */,
      52,    0,  402,    2, 0x08 /* Private */,
      53,    1,  403,    2, 0x08 /* Private */,
      55,    1,  406,    2, 0x08 /* Private */,
      56,    0,  409,    2, 0x08 /* Private */,
      57,    1,  410,    2, 0x08 /* Private */,
      60,    2,  413,    2, 0x08 /* Private */,
      63,    2,  418,    2, 0x08 /* Private */,
      64,    2,  423,    2, 0x08 /* Private */,
      68,    1,  428,    2, 0x08 /* Private */,
      70,    1,  431,    2, 0x08 /* Private */,
      72,    1,  434,    2, 0x08 /* Private */,
      73,    0,  437,    2, 0x08 /* Private */,
      74,    1,  438,    2, 0x08 /* Private */,
      75,    0,  441,    2, 0x08 /* Private */,
      76,    0,  442,    2, 0x08 /* Private */,
      77,    6,  443,    2, 0x08 /* Private */,
      85,    0,  456,    2, 0x08 /* Private */,
      86,    0,  457,    2, 0x08 /* Private */,
      87,    0,  458,    2, 0x08 /* Private */,
      88,    0,  459,    2, 0x08 /* Private */,
      89,    0,  460,    2, 0x08 /* Private */,
      90,    1,  461,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, QMetaType::Int,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::Int,   51,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 54,    2,
    QMetaType::Void, 0x80000000 | 54,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 58,   59,
    QMetaType::Void, 0x80000000 | 58, 0x80000000 | 58,   61,   62,
    QMetaType::Void, 0x80000000 | 58, 0x80000000 | 58,   61,   62,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 66,   65,   67,
    QMetaType::Void, QMetaType::QStringList,   69,
    QMetaType::Void, QMetaType::QString,   71,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 58,   59,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 79, QMetaType::Bool, QMetaType::Bool, QMetaType::Bool, QMetaType::Bool,   78,   80,   81,   82,   83,   84,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   51,

       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->done(); break;
        case 1: _t->doneAndNext(); break;
        case 2: _t->prev(); break;
        case 3: _t->next(); break;
        case 4: _t->recentFileActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 5: _t->setupRecentFilesMenu(); break;
        case 6: _t->open(); break;
        case 7: _t->openAux(); break;
        case 8: _t->saveAll(); break;
        case 9: _t->save(); break;
        case 10: _t->saveAs(); break;
        case 11: _t->releaseAll(); break;
        case 12: _t->release(); break;
        case 13: _t->releaseAs(); break;
        case 14: _t->print(); break;
        case 15: _t->closeFile(); break;
        case 16: { bool _r = _t->closeAll();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->findAgain(); break;
        case 18: _t->showTranslateDialog(); break;
        case 19: _t->showBatchTranslateDialog(); break;
        case 20: _t->showTranslationSettings(); break;
        case 21: _t->updateTranslateHit((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->translate((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->newPhraseBook(); break;
        case 24: _t->openPhraseBook(); break;
        case 25: _t->closePhraseBook((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 26: _t->editPhraseBook((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 27: _t->printPhraseBook((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 28: _t->addToPhraseBook(); break;
        case 29: _t->manual(); break;
        case 30: _t->resetSorting(); break;
        case 31: _t->about(); break;
        case 32: _t->aboutQt(); break;
        case 33: _t->updateViewMenu(); break;
        case 34: _t->fileAboutToShow(); break;
        case 35: _t->editAboutToShow(); break;
        case 36: _t->showContextDock(); break;
        case 37: _t->showMessagesDock(); break;
        case 38: _t->showPhrasesDock(); break;
        case 39: _t->showSourceCodeDock(); break;
        case 40: _t->showErrorDock(); break;
        case 41: _t->setupPhrase(); break;
        case 42: { bool _r = _t->maybeSaveAll();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 43: { bool _r = _t->maybeSave((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 44: _t->updateProgress(); break;
        case 45: _t->maybeUpdateStatistics((*reinterpret_cast< const MultiDataIndex(*)>(_a[1]))); break;
        case 46: _t->translationChanged((*reinterpret_cast< const MultiDataIndex(*)>(_a[1]))); break;
        case 47: _t->updateCaption(); break;
        case 48: _t->updateLatestModel((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 49: _t->selectedContextChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 50: _t->selectedMessageChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 51: _t->setCurrentMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Candidate(*)>(_a[2]))); break;
        case 52: _t->updateTranslation((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 53: _t->updateTranslatorComment((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 54: _t->updateActiveModel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 55: _t->refreshItemViews(); break;
        case 56: _t->toggleFinished((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 57: _t->prevUnfinished(); break;
        case 58: _t->nextUnfinished(); break;
        case 59: _t->findNext((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< DataModel::FindLocation(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6]))); break;
        case 60: _t->revalidate(); break;
        case 61: _t->toggleStatistics(); break;
        case 62: _t->toggleVisualizeWhitespace(); break;
        case 63: _t->onWhatsThis(); break;
        case 64: _t->updatePhraseDicts(); break;
        case 65: _t->updatePhraseDict((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    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 < 66)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 66;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 66)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 66;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
