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

#include <memory>
#include "../../src/gui/CMainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'CMainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_CMainWindow_t {
    QByteArrayData data[53];
    char stringdata0[729];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CMainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CMainWindow_t qt_meta_stringdata_CMainWindow = {
    {
QT_MOC_LITERAL(0, 0, 11), // "CMainWindow"
QT_MOC_LITERAL(1, 12, 11), // "showMessage"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 8), // "sMessage"
QT_MOC_LITERAL(4, 34, 8), // "iSeconds"
QT_MOC_LITERAL(5, 43, 16), // "recognizeChanges"
QT_MOC_LITERAL(6, 60, 12), // "clearChanges"
QT_MOC_LITERAL(7, 73, 8), // "clearAll"
QT_MOC_LITERAL(8, 82, 4), // "open"
QT_MOC_LITERAL(9, 87, 9), // "sFileName"
QT_MOC_LITERAL(10, 97, 4), // "save"
QT_MOC_LITERAL(11, 102, 6), // "saveAs"
QT_MOC_LITERAL(12, 109, 10), // "exportHTML"
QT_MOC_LITERAL(13, 120, 4), // "exit"
QT_MOC_LITERAL(14, 125, 9), // "showAbout"
QT_MOC_LITERAL(15, 135, 16), // "setEditListStyle"
QT_MOC_LITERAL(16, 152, 11), // "iStyleIndex"
QT_MOC_LITERAL(17, 164, 17), // "setEditFontFamily"
QT_MOC_LITERAL(18, 182, 1), // "f"
QT_MOC_LITERAL(19, 184, 15), // "setEditFontSize"
QT_MOC_LITERAL(20, 200, 1), // "s"
QT_MOC_LITERAL(21, 202, 16), // "setEditTextColor"
QT_MOC_LITERAL(22, 219, 8), // "textLeft"
QT_MOC_LITERAL(23, 228, 11), // "textHCenter"
QT_MOC_LITERAL(24, 240, 9), // "textRight"
QT_MOC_LITERAL(25, 250, 9), // "textBlock"
QT_MOC_LITERAL(26, 260, 15), // "textFontChanged"
QT_MOC_LITERAL(27, 276, 15), // "QTextCharFormat"
QT_MOC_LITERAL(28, 292, 20), // "textAlignmentChanged"
QT_MOC_LITERAL(29, 313, 13), // "Qt::Alignment"
QT_MOC_LITERAL(30, 327, 20), // "clipboardDataChanged"
QT_MOC_LITERAL(31, 348, 20), // "showRecognizedFormat"
QT_MOC_LITERAL(32, 369, 17), // "InformationFormat"
QT_MOC_LITERAL(33, 387, 6), // "format"
QT_MOC_LITERAL(34, 394, 21), // "slotEditConfiguration"
QT_MOC_LITERAL(35, 416, 18), // "applyConfiguration"
QT_MOC_LITERAL(36, 435, 9), // "wordCount"
QT_MOC_LITERAL(37, 445, 17), // "insertCurrentDate"
QT_MOC_LITERAL(38, 463, 17), // "insertCurrentTime"
QT_MOC_LITERAL(39, 481, 29), // "slotActiveIEChangedViaHistory"
QT_MOC_LITERAL(40, 511, 20), // "CInformationElement*"
QT_MOC_LITERAL(41, 532, 3), // "pIE"
QT_MOC_LITERAL(42, 536, 5), // "print"
QT_MOC_LITERAL(43, 542, 22), // "slotSaveAndLoadNewFile"
QT_MOC_LITERAL(44, 565, 8), // "sNewFile"
QT_MOC_LITERAL(45, 574, 20), // "slotShowSearchDialog"
QT_MOC_LITERAL(46, 595, 11), // "makeVisible"
QT_MOC_LITERAL(47, 607, 21), // "CSearchPosition*const"
QT_MOC_LITERAL(48, 629, 9), // "pPosition"
QT_MOC_LITERAL(49, 639, 25), // "slotSetMainToolBarVisible"
QT_MOC_LITERAL(50, 665, 8), // "bVisible"
QT_MOC_LITERAL(51, 674, 26), // "slotSetEntryToolBarVisible"
QT_MOC_LITERAL(52, 701, 27) // "slotSetEditorToolBarVisible"

    },
    "CMainWindow\0showMessage\0\0sMessage\0"
    "iSeconds\0recognizeChanges\0clearChanges\0"
    "clearAll\0open\0sFileName\0save\0saveAs\0"
    "exportHTML\0exit\0showAbout\0setEditListStyle\0"
    "iStyleIndex\0setEditFontFamily\0f\0"
    "setEditFontSize\0s\0setEditTextColor\0"
    "textLeft\0textHCenter\0textRight\0textBlock\0"
    "textFontChanged\0QTextCharFormat\0"
    "textAlignmentChanged\0Qt::Alignment\0"
    "clipboardDataChanged\0showRecognizedFormat\0"
    "InformationFormat\0format\0slotEditConfiguration\0"
    "applyConfiguration\0wordCount\0"
    "insertCurrentDate\0insertCurrentTime\0"
    "slotActiveIEChangedViaHistory\0"
    "CInformationElement*\0pIE\0print\0"
    "slotSaveAndLoadNewFile\0sNewFile\0"
    "slotShowSearchDialog\0makeVisible\0"
    "CSearchPosition*const\0pPosition\0"
    "slotSetMainToolBarVisible\0bVisible\0"
    "slotSetEntryToolBarVisible\0"
    "slotSetEditorToolBarVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CMainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,  199,    2, 0x08 /* Private */,
       5,    0,  204,    2, 0x08 /* Private */,
       6,    0,  205,    2, 0x08 /* Private */,
       7,    0,  206,    2, 0x08 /* Private */,
       8,    0,  207,    2, 0x08 /* Private */,
       8,    1,  208,    2, 0x08 /* Private */,
      10,    0,  211,    2, 0x08 /* Private */,
      10,    1,  212,    2, 0x08 /* Private */,
      11,    0,  215,    2, 0x08 /* Private */,
      12,    0,  216,    2, 0x08 /* Private */,
      13,    0,  217,    2, 0x08 /* Private */,
      14,    0,  218,    2, 0x08 /* Private */,
      15,    1,  219,    2, 0x08 /* Private */,
      17,    1,  222,    2, 0x08 /* Private */,
      19,    1,  225,    2, 0x08 /* Private */,
      21,    0,  228,    2, 0x08 /* Private */,
      22,    0,  229,    2, 0x08 /* Private */,
      23,    0,  230,    2, 0x08 /* Private */,
      24,    0,  231,    2, 0x08 /* Private */,
      25,    0,  232,    2, 0x08 /* Private */,
      26,    1,  233,    2, 0x08 /* Private */,
      28,    1,  236,    2, 0x08 /* Private */,
      30,    0,  239,    2, 0x08 /* Private */,
      31,    1,  240,    2, 0x08 /* Private */,
      34,    0,  243,    2, 0x08 /* Private */,
      35,    0,  244,    2, 0x08 /* Private */,
      36,    0,  245,    2, 0x08 /* Private */,
      37,    0,  246,    2, 0x08 /* Private */,
      38,    0,  247,    2, 0x08 /* Private */,
      39,    1,  248,    2, 0x08 /* Private */,
      42,    0,  251,    2, 0x08 /* Private */,
      43,    1,  252,    2, 0x08 /* Private */,
      45,    0,  255,    2, 0x08 /* Private */,
      46,    1,  256,    2, 0x08 /* Private */,
      49,    1,  259,    2, 0x08 /* Private */,
      51,    1,  262,    2, 0x08 /* Private */,
      52,    1,  265,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27,   18,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 32,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 40,   41,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   44,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 47,   48,
    QMetaType::Void, QMetaType::Bool,   50,
    QMetaType::Void, QMetaType::Bool,   50,
    QMetaType::Void, QMetaType::Bool,   50,

       0        // eod
};

void CMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CMainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->recognizeChanges(); break;
        case 2: _t->clearChanges(); break;
        case 3: _t->clearAll(); break;
        case 4: _t->open(); break;
        case 5: { bool _r = _t->open((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->save(); break;
        case 7: _t->save((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->saveAs(); break;
        case 9: _t->exportHTML(); break;
        case 10: _t->exit(); break;
        case 11: _t->showAbout(); break;
        case 12: _t->setEditListStyle((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setEditFontFamily((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->setEditFontSize((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->setEditTextColor(); break;
        case 16: _t->textLeft(); break;
        case 17: _t->textHCenter(); break;
        case 18: _t->textRight(); break;
        case 19: _t->textBlock(); break;
        case 20: _t->textFontChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        case 21: _t->textAlignmentChanged((*reinterpret_cast< Qt::Alignment(*)>(_a[1]))); break;
        case 22: _t->clipboardDataChanged(); break;
        case 23: _t->showRecognizedFormat((*reinterpret_cast< InformationFormat(*)>(_a[1]))); break;
        case 24: _t->slotEditConfiguration(); break;
        case 25: _t->applyConfiguration(); break;
        case 26: _t->wordCount(); break;
        case 27: _t->insertCurrentDate(); break;
        case 28: _t->insertCurrentTime(); break;
        case 29: _t->slotActiveIEChangedViaHistory((*reinterpret_cast< CInformationElement*(*)>(_a[1]))); break;
        case 30: _t->print(); break;
        case 31: _t->slotSaveAndLoadNewFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 32: _t->slotShowSearchDialog(); break;
        case 33: _t->makeVisible((*reinterpret_cast< const CSearchPosition*const(*)>(_a[1]))); break;
        case 34: _t->slotSetMainToolBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 35: _t->slotSetEntryToolBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 36: _t->slotSetEditorToolBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 29:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< CInformationElement* >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject CMainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_CMainWindow.data,
    qt_meta_data_CMainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int CMainWindow::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 < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
