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

#include "../../src/lokalize-17.12.3/src/glossary/glossarywindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'glossarywindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_AuxTextEdit_t {
    QByteArrayData data[3];
    char stringdata0[29];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AuxTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AuxTextEdit_t qt_meta_stringdata_AuxTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 11), // "AuxTextEdit"
QT_MOC_LITERAL(1, 12, 15), // "editingFinished"
QT_MOC_LITERAL(2, 28, 0) // ""

    },
    "AuxTextEdit\0editingFinished\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AuxTextEdit[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void AuxTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AuxTextEdit *_t = static_cast<AuxTextEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->editingFinished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AuxTextEdit::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AuxTextEdit::editingFinished)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject AuxTextEdit::staticMetaObject = {
    { &KTextEdit::staticMetaObject, qt_meta_stringdata_AuxTextEdit.data,
      qt_meta_data_AuxTextEdit,  qt_static_metacall, nullptr, nullptr}
};


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

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

int AuxTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void AuxTextEdit::editingFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_TermListView_t {
    QByteArrayData data[4];
    char stringdata0[30];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TermListView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TermListView_t qt_meta_stringdata_TermListView = {
    {
QT_MOC_LITERAL(0, 0, 12), // "TermListView"
QT_MOC_LITERAL(1, 13, 7), // "rmTerms"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 7) // "addTerm"

    },
    "TermListView\0rmTerms\0\0addTerm"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TermListView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x0a /* Public */,
       3,    0,   25,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TermListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TermListView *_t = static_cast<TermListView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->rmTerms(); break;
        case 1: _t->addTerm(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject TermListView::staticMetaObject = {
    { &QListView::staticMetaObject, qt_meta_stringdata_TermListView.data,
      qt_meta_data_TermListView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TermListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QListView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_GlossaryNS__GlossaryWindow_t {
    QByteArrayData data[16];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GlossaryNS__GlossaryWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GlossaryNS__GlossaryWindow_t qt_meta_stringdata_GlossaryNS__GlossaryWindow = {
    {
QT_MOC_LITERAL(0, 0, 26), // "GlossaryNS::GlossaryWindow"
QT_MOC_LITERAL(1, 27, 14), // "currentChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 17), // "showEntryInEditor"
QT_MOC_LITERAL(4, 61, 2), // "id"
QT_MOC_LITERAL(5, 64, 21), // "showDefinitionForLang"
QT_MOC_LITERAL(6, 86, 12), // "newTermEntry"
QT_MOC_LITERAL(7, 99, 8), // "_english"
QT_MOC_LITERAL(8, 108, 7), // "_target"
QT_MOC_LITERAL(9, 116, 11), // "rmTermEntry"
QT_MOC_LITERAL(10, 128, 1), // "i"
QT_MOC_LITERAL(11, 130, 7), // "restore"
QT_MOC_LITERAL(12, 138, 4), // "save"
QT_MOC_LITERAL(13, 143, 16), // "applyEntryChange"
QT_MOC_LITERAL(14, 160, 11), // "selectEntry"
QT_MOC_LITERAL(15, 172, 8) // "setFocus"

    },
    "GlossaryNS::GlossaryWindow\0currentChanged\0"
    "\0showEntryInEditor\0id\0showDefinitionForLang\0"
    "newTermEntry\0_english\0_target\0rmTermEntry\0"
    "i\0restore\0save\0applyEntryChange\0"
    "selectEntry\0setFocus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GlossaryNS__GlossaryWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x0a /* Public */,
       3,    1,   82,    2, 0x0a /* Public */,
       5,    1,   85,    2, 0x0a /* Public */,
       6,    2,   88,    2, 0x0a /* Public */,
       6,    1,   93,    2, 0x2a /* Public | MethodCloned */,
       6,    0,   96,    2, 0x2a /* Public | MethodCloned */,
       9,    1,   97,    2, 0x0a /* Public */,
       9,    0,  100,    2, 0x2a /* Public | MethodCloned */,
      11,    0,  101,    2, 0x0a /* Public */,
      12,    0,  102,    2, 0x0a /* Public */,
      13,    0,  103,    2, 0x0a /* Public */,
      14,    1,  104,    2, 0x0a /* Public */,
      15,    0,  107,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QByteArray,    4,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QByteArray,    4,
    QMetaType::Void,

       0        // eod
};

void GlossaryNS::GlossaryWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GlossaryWindow *_t = static_cast<GlossaryWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->showEntryInEditor((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 2: _t->showDefinitionForLang((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->newTermEntry((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 4: _t->newTermEntry((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 5: _t->newTermEntry(); break;
        case 6: _t->rmTermEntry((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->rmTermEntry(); break;
        case 8: _t->restore(); break;
        case 9: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->applyEntryChange(); break;
        case 11: _t->selectEntry((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 12: _t->setFocus(); break;
        default: ;
        }
    }
}

const QMetaObject GlossaryNS::GlossaryWindow::staticMetaObject = {
    { &KMainWindow::staticMetaObject, qt_meta_stringdata_GlossaryNS__GlossaryWindow.data,
      qt_meta_data_GlossaryNS__GlossaryWindow,  qt_static_metacall, nullptr, nullptr}
};


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

void *GlossaryNS::GlossaryWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GlossaryNS__GlossaryWindow.stringdata0))
        return static_cast<void*>(this);
    return KMainWindow::qt_metacast(_clname);
}

int GlossaryNS::GlossaryWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}
struct qt_meta_stringdata_GlossaryNS__GlossaryTreeView_t {
    QByteArrayData data[5];
    char stringdata0[58];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GlossaryNS__GlossaryTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GlossaryNS__GlossaryTreeView_t qt_meta_stringdata_GlossaryNS__GlossaryTreeView = {
    {
QT_MOC_LITERAL(0, 0, 28), // "GlossaryNS::GlossaryTreeView"
QT_MOC_LITERAL(1, 29, 14), // "currentChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 4), // "prev"
QT_MOC_LITERAL(4, 50, 7) // "current"

    },
    "GlossaryNS::GlossaryTreeView\0"
    "currentChanged\0\0prev\0current"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GlossaryNS__GlossaryTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x06 /* Public */,
       1,    1,   32,    2, 0x06 /* Public */,
       1,    2,   35,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QByteArray,    2,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::QByteArray,    3,    4,

       0        // eod
};

void GlossaryNS::GlossaryTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GlossaryTreeView *_t = static_cast<GlossaryTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->currentChanged((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 2: _t->currentChanged((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (GlossaryTreeView::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GlossaryTreeView::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GlossaryTreeView::*_t)(const QByteArray & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GlossaryTreeView::currentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (GlossaryTreeView::*_t)(const QByteArray & , const QByteArray & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GlossaryTreeView::currentChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject GlossaryNS::GlossaryTreeView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_GlossaryNS__GlossaryTreeView.data,
      qt_meta_data_GlossaryNS__GlossaryTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

void *GlossaryNS::GlossaryTreeView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GlossaryNS__GlossaryTreeView.stringdata0))
        return static_cast<void*>(this);
    return QTreeView::qt_metacast(_clname);
}

int GlossaryNS::GlossaryTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void GlossaryNS::GlossaryTreeView::currentChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void GlossaryNS::GlossaryTreeView::currentChanged(const QByteArray & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void GlossaryNS::GlossaryTreeView::currentChanged(const QByteArray & _t1, const QByteArray & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_GlossaryNS__TermsListModel_t {
    QByteArrayData data[4];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GlossaryNS__TermsListModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GlossaryNS__TermsListModel_t qt_meta_stringdata_GlossaryNS__TermsListModel = {
    {
QT_MOC_LITERAL(0, 0, 26), // "GlossaryNS::TermsListModel"
QT_MOC_LITERAL(1, 27, 8), // "setEntry"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 2) // "id"

    },
    "GlossaryNS::TermsListModel\0setEntry\0"
    "\0id"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GlossaryNS__TermsListModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QByteArray,    3,

       0        // eod
};

void GlossaryNS::TermsListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TermsListModel *_t = static_cast<TermsListModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setEntry((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject GlossaryNS::TermsListModel::staticMetaObject = {
    { &QStringListModel::staticMetaObject, qt_meta_stringdata_GlossaryNS__TermsListModel.data,
      qt_meta_data_GlossaryNS__TermsListModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *GlossaryNS::TermsListModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GlossaryNS__TermsListModel.stringdata0))
        return static_cast<void*>(this);
    return QStringListModel::qt_metacast(_clname);
}

int GlossaryNS::TermsListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStringListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
