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

#include "../../../../../src/qttools-opensource-src-5.4.2/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.4.2. 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
struct qt_meta_stringdata_MainWindow_t {
    QByteArrayData data[84];
    char stringdata[1103];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata) + 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, 11), // "doneAndNext"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 4), // "prev"
QT_MOC_LITERAL(4, 29, 4), // "next"
QT_MOC_LITERAL(5, 34, 19), // "recentFileActivated"
QT_MOC_LITERAL(6, 54, 8), // "QAction*"
QT_MOC_LITERAL(7, 63, 6), // "action"
QT_MOC_LITERAL(8, 70, 20), // "setupRecentFilesMenu"
QT_MOC_LITERAL(9, 91, 4), // "open"
QT_MOC_LITERAL(10, 96, 7), // "openAux"
QT_MOC_LITERAL(11, 104, 7), // "saveAll"
QT_MOC_LITERAL(12, 112, 4), // "save"
QT_MOC_LITERAL(13, 117, 6), // "saveAs"
QT_MOC_LITERAL(14, 124, 10), // "releaseAll"
QT_MOC_LITERAL(15, 135, 7), // "release"
QT_MOC_LITERAL(16, 143, 9), // "releaseAs"
QT_MOC_LITERAL(17, 153, 5), // "print"
QT_MOC_LITERAL(18, 159, 9), // "closeFile"
QT_MOC_LITERAL(19, 169, 8), // "closeAll"
QT_MOC_LITERAL(20, 178, 9), // "findAgain"
QT_MOC_LITERAL(21, 188, 19), // "showTranslateDialog"
QT_MOC_LITERAL(22, 208, 24), // "showBatchTranslateDialog"
QT_MOC_LITERAL(23, 233, 23), // "showTranslationSettings"
QT_MOC_LITERAL(24, 257, 18), // "updateTranslateHit"
QT_MOC_LITERAL(25, 276, 5), // "bool&"
QT_MOC_LITERAL(26, 282, 3), // "hit"
QT_MOC_LITERAL(27, 286, 9), // "translate"
QT_MOC_LITERAL(28, 296, 4), // "mode"
QT_MOC_LITERAL(29, 301, 13), // "newPhraseBook"
QT_MOC_LITERAL(30, 315, 14), // "openPhraseBook"
QT_MOC_LITERAL(31, 330, 15), // "closePhraseBook"
QT_MOC_LITERAL(32, 346, 14), // "editPhraseBook"
QT_MOC_LITERAL(33, 361, 15), // "printPhraseBook"
QT_MOC_LITERAL(34, 377, 15), // "addToPhraseBook"
QT_MOC_LITERAL(35, 393, 6), // "manual"
QT_MOC_LITERAL(36, 400, 12), // "resetSorting"
QT_MOC_LITERAL(37, 413, 5), // "about"
QT_MOC_LITERAL(38, 419, 7), // "aboutQt"
QT_MOC_LITERAL(39, 427, 14), // "updateViewMenu"
QT_MOC_LITERAL(40, 442, 15), // "fileAboutToShow"
QT_MOC_LITERAL(41, 458, 15), // "editAboutToShow"
QT_MOC_LITERAL(42, 474, 15), // "showContextDock"
QT_MOC_LITERAL(43, 490, 16), // "showMessagesDock"
QT_MOC_LITERAL(44, 507, 15), // "showPhrasesDock"
QT_MOC_LITERAL(45, 523, 18), // "showSourceCodeDock"
QT_MOC_LITERAL(46, 542, 13), // "showErrorDock"
QT_MOC_LITERAL(47, 556, 11), // "setupPhrase"
QT_MOC_LITERAL(48, 568, 12), // "maybeSaveAll"
QT_MOC_LITERAL(49, 581, 9), // "maybeSave"
QT_MOC_LITERAL(50, 591, 5), // "model"
QT_MOC_LITERAL(51, 597, 14), // "updateProgress"
QT_MOC_LITERAL(52, 612, 21), // "maybeUpdateStatistics"
QT_MOC_LITERAL(53, 634, 14), // "MultiDataIndex"
QT_MOC_LITERAL(54, 649, 18), // "translationChanged"
QT_MOC_LITERAL(55, 668, 13), // "updateCaption"
QT_MOC_LITERAL(56, 682, 17), // "updateLatestModel"
QT_MOC_LITERAL(57, 700, 5), // "index"
QT_MOC_LITERAL(58, 706, 22), // "selectedContextChanged"
QT_MOC_LITERAL(59, 729, 11), // "sortedIndex"
QT_MOC_LITERAL(60, 741, 8), // "oldIndex"
QT_MOC_LITERAL(61, 750, 22), // "selectedMessageChanged"
QT_MOC_LITERAL(62, 773, 17), // "updateTranslation"
QT_MOC_LITERAL(63, 791, 12), // "translations"
QT_MOC_LITERAL(64, 804, 23), // "updateTranslatorComment"
QT_MOC_LITERAL(65, 828, 7), // "comment"
QT_MOC_LITERAL(66, 836, 17), // "updateActiveModel"
QT_MOC_LITERAL(67, 854, 16), // "refreshItemViews"
QT_MOC_LITERAL(68, 871, 14), // "toggleFinished"
QT_MOC_LITERAL(69, 886, 14), // "prevUnfinished"
QT_MOC_LITERAL(70, 901, 14), // "nextUnfinished"
QT_MOC_LITERAL(71, 916, 8), // "findNext"
QT_MOC_LITERAL(72, 925, 4), // "text"
QT_MOC_LITERAL(73, 930, 23), // "DataModel::FindLocation"
QT_MOC_LITERAL(74, 954, 5), // "where"
QT_MOC_LITERAL(75, 960, 9), // "matchCase"
QT_MOC_LITERAL(76, 970, 18), // "ignoreAccelerators"
QT_MOC_LITERAL(77, 989, 12), // "skipObsolete"
QT_MOC_LITERAL(78, 1002, 10), // "revalidate"
QT_MOC_LITERAL(79, 1013, 16), // "toggleStatistics"
QT_MOC_LITERAL(80, 1030, 25), // "toggleVisualizeWhitespace"
QT_MOC_LITERAL(81, 1056, 11), // "onWhatsThis"
QT_MOC_LITERAL(82, 1068, 17), // "updatePhraseDicts"
QT_MOC_LITERAL(83, 1086, 16) // "updatePhraseDict"

    },
    "MainWindow\0doneAndNext\0\0prev\0next\0"
    "recentFileActivated\0QAction*\0action\0"
    "setupRecentFilesMenu\0open\0openAux\0"
    "saveAll\0save\0saveAs\0releaseAll\0release\0"
    "releaseAs\0print\0closeFile\0closeAll\0"
    "findAgain\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\0index\0selectedContextChanged\0"
    "sortedIndex\0oldIndex\0selectedMessageChanged\0"
    "updateTranslation\0translations\0"
    "updateTranslatorComment\0comment\0"
    "updateActiveModel\0refreshItemViews\0"
    "toggleFinished\0prevUnfinished\0"
    "nextUnfinished\0findNext\0text\0"
    "DataModel::FindLocation\0where\0matchCase\0"
    "ignoreAccelerators\0skipObsolete\0"
    "revalidate\0toggleStatistics\0"
    "toggleVisualizeWhitespace\0onWhatsThis\0"
    "updatePhraseDicts\0updatePhraseDict"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  334,    2, 0x08 /* Private */,
       3,    0,  335,    2, 0x08 /* Private */,
       4,    0,  336,    2, 0x08 /* Private */,
       5,    1,  337,    2, 0x08 /* Private */,
       8,    0,  340,    2, 0x08 /* Private */,
       9,    0,  341,    2, 0x08 /* Private */,
      10,    0,  342,    2, 0x08 /* Private */,
      11,    0,  343,    2, 0x08 /* Private */,
      12,    0,  344,    2, 0x08 /* Private */,
      13,    0,  345,    2, 0x08 /* Private */,
      14,    0,  346,    2, 0x08 /* Private */,
      15,    0,  347,    2, 0x08 /* Private */,
      16,    0,  348,    2, 0x08 /* Private */,
      17,    0,  349,    2, 0x08 /* Private */,
      18,    0,  350,    2, 0x08 /* Private */,
      19,    0,  351,    2, 0x08 /* Private */,
      20,    0,  352,    2, 0x08 /* Private */,
      21,    0,  353,    2, 0x08 /* Private */,
      22,    0,  354,    2, 0x08 /* Private */,
      23,    0,  355,    2, 0x08 /* Private */,
      24,    1,  356,    2, 0x08 /* Private */,
      27,    1,  359,    2, 0x08 /* Private */,
      29,    0,  362,    2, 0x08 /* Private */,
      30,    0,  363,    2, 0x08 /* Private */,
      31,    1,  364,    2, 0x08 /* Private */,
      32,    1,  367,    2, 0x08 /* Private */,
      33,    1,  370,    2, 0x08 /* Private */,
      34,    0,  373,    2, 0x08 /* Private */,
      35,    0,  374,    2, 0x08 /* Private */,
      36,    0,  375,    2, 0x08 /* Private */,
      37,    0,  376,    2, 0x08 /* Private */,
      38,    0,  377,    2, 0x08 /* Private */,
      39,    0,  378,    2, 0x08 /* Private */,
      40,    0,  379,    2, 0x08 /* Private */,
      41,    0,  380,    2, 0x08 /* Private */,
      42,    0,  381,    2, 0x08 /* Private */,
      43,    0,  382,    2, 0x08 /* Private */,
      44,    0,  383,    2, 0x08 /* Private */,
      45,    0,  384,    2, 0x08 /* Private */,
      46,    0,  385,    2, 0x08 /* Private */,
      47,    0,  386,    2, 0x08 /* Private */,
      48,    0,  387,    2, 0x08 /* Private */,
      49,    1,  388,    2, 0x08 /* Private */,
      51,    0,  391,    2, 0x08 /* Private */,
      52,    1,  392,    2, 0x08 /* Private */,
      54,    1,  395,    2, 0x08 /* Private */,
      55,    0,  398,    2, 0x08 /* Private */,
      56,    1,  399,    2, 0x08 /* Private */,
      58,    2,  402,    2, 0x08 /* Private */,
      61,    2,  407,    2, 0x08 /* Private */,
      62,    1,  412,    2, 0x08 /* Private */,
      64,    1,  415,    2, 0x08 /* Private */,
      66,    1,  418,    2, 0x08 /* Private */,
      67,    0,  421,    2, 0x08 /* Private */,
      68,    1,  422,    2, 0x08 /* Private */,
      69,    0,  425,    2, 0x08 /* Private */,
      70,    0,  426,    2, 0x08 /* Private */,
      71,    5,  427,    2, 0x08 /* Private */,
      78,    0,  438,    2, 0x08 /* Private */,
      79,    0,  439,    2, 0x08 /* Private */,
      80,    0,  440,    2, 0x08 /* Private */,
      81,    0,  441,    2, 0x08 /* Private */,
      82,    0,  442,    2, 0x08 /* Private */,
      83,    1,  443,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    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 | 25,   26,
    QMetaType::Void, QMetaType::Int,   28,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    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,   50,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 53,    2,
    QMetaType::Void, 0x80000000 | 53,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   57,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   59,   60,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   59,   60,
    QMetaType::Void, QMetaType::QStringList,   63,
    QMetaType::Void, QMetaType::QString,   65,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   57,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 73, QMetaType::Bool, QMetaType::Bool, QMetaType::Bool,   72,   74,   75,   76,   77,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   50,

       0        // eod
};

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

const QMetaObject MainWindow::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
      qt_meta_data_MainWindow,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata))
        return static_cast<void*>(const_cast< MainWindow*>(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 < 64)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 64;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 64)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 64;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
