/****************************************************************************
** Meta object code from reading C++ file 'phrasebookdialog.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/kmouth-17.12.3/phrasebook/phrasebookdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'phrasebookdialog.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_StandardPhraseBookInsertAction_t {
    QByteArrayData data[4];
    char stringdata0[50];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StandardPhraseBookInsertAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StandardPhraseBookInsertAction_t qt_meta_stringdata_StandardPhraseBookInsertAction = {
    {
QT_MOC_LITERAL(0, 0, 30), // "StandardPhraseBookInsertAction"
QT_MOC_LITERAL(1, 31, 13), // "slotActivated"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 3) // "url"

    },
    "StandardPhraseBookInsertAction\0"
    "slotActivated\0\0url"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StandardPhraseBookInsertAction[] = {

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

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

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

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    3,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject StandardPhraseBookInsertAction::staticMetaObject = {
    { &QAction::staticMetaObject, qt_meta_stringdata_StandardPhraseBookInsertAction.data,
      qt_meta_data_StandardPhraseBookInsertAction,  qt_static_metacall, nullptr, nullptr}
};


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

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

int StandardPhraseBookInsertAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAction::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;
}

// SIGNAL 0
void StandardPhraseBookInsertAction::slotActivated(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_PhraseBookDialog_t {
    QByteArrayData data[23];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PhraseBookDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PhraseBookDialog_t qt_meta_stringdata_PhraseBookDialog = {
    {
QT_MOC_LITERAL(0, 0, 16), // "PhraseBookDialog"
QT_MOC_LITERAL(1, 17, 19), // "phrasebookConfirmed"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 15), // "slotTextChanged"
QT_MOC_LITERAL(4, 54, 1), // "s"
QT_MOC_LITERAL(5, 56, 9), // "slotNoKey"
QT_MOC_LITERAL(6, 66, 13), // "slotCustomKey"
QT_MOC_LITERAL(7, 80, 22), // "slotKeySequenceChanged"
QT_MOC_LITERAL(8, 103, 8), // "sequence"
QT_MOC_LITERAL(9, 112, 16), // "selectionChanged"
QT_MOC_LITERAL(10, 129, 20), // "contextMenuRequested"
QT_MOC_LITERAL(11, 150, 3), // "pos"
QT_MOC_LITERAL(12, 154, 10), // "slotRemove"
QT_MOC_LITERAL(13, 165, 7), // "slotCut"
QT_MOC_LITERAL(14, 173, 8), // "slotCopy"
QT_MOC_LITERAL(15, 182, 9), // "slotPaste"
QT_MOC_LITERAL(16, 192, 17), // "slotAddPhrasebook"
QT_MOC_LITERAL(17, 210, 13), // "slotAddPhrase"
QT_MOC_LITERAL(18, 224, 8), // "slotSave"
QT_MOC_LITERAL(19, 233, 20), // "slotImportPhrasebook"
QT_MOC_LITERAL(20, 254, 3), // "url"
QT_MOC_LITERAL(21, 258, 20), // "slotExportPhrasebook"
QT_MOC_LITERAL(22, 279, 16) // "slotModelChanged"

    },
    "PhraseBookDialog\0phrasebookConfirmed\0"
    "\0slotTextChanged\0s\0slotNoKey\0slotCustomKey\0"
    "slotKeySequenceChanged\0sequence\0"
    "selectionChanged\0contextMenuRequested\0"
    "pos\0slotRemove\0slotCut\0slotCopy\0"
    "slotPaste\0slotAddPhrasebook\0slotAddPhrase\0"
    "slotSave\0slotImportPhrasebook\0url\0"
    "slotExportPhrasebook\0slotModelChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PhraseBookDialog[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,  105,    2, 0x0a /* Public */,
       5,    0,  108,    2, 0x0a /* Public */,
       6,    0,  109,    2, 0x0a /* Public */,
       7,    1,  110,    2, 0x0a /* Public */,
       9,    0,  113,    2, 0x0a /* Public */,
      10,    1,  114,    2, 0x0a /* Public */,
      12,    0,  117,    2, 0x0a /* Public */,
      13,    0,  118,    2, 0x0a /* Public */,
      14,    0,  119,    2, 0x0a /* Public */,
      15,    0,  120,    2, 0x0a /* Public */,
      16,    0,  121,    2, 0x0a /* Public */,
      17,    0,  122,    2, 0x0a /* Public */,
      18,    0,  123,    2, 0x0a /* Public */,
      19,    0,  124,    2, 0x0a /* Public */,
      19,    1,  125,    2, 0x0a /* Public */,
      21,    0,  128,    2, 0x0a /* Public */,
      22,    0,  129,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QKeySequence,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   20,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void PhraseBookDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PhraseBookDialog *_t = static_cast<PhraseBookDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->phrasebookConfirmed(); break;
        case 1: _t->slotTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->slotNoKey(); break;
        case 3: _t->slotCustomKey(); break;
        case 4: _t->slotKeySequenceChanged((*reinterpret_cast< const QKeySequence(*)>(_a[1]))); break;
        case 5: _t->selectionChanged(); break;
        case 6: _t->contextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 7: _t->slotRemove(); break;
        case 8: _t->slotCut(); break;
        case 9: _t->slotCopy(); break;
        case 10: _t->slotPaste(); break;
        case 11: _t->slotAddPhrasebook(); break;
        case 12: _t->slotAddPhrase(); break;
        case 13: _t->slotSave(); break;
        case 14: _t->slotImportPhrasebook(); break;
        case 15: _t->slotImportPhrasebook((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 16: _t->slotExportPhrasebook(); break;
        case 17: _t->slotModelChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PhraseBookDialog::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PhraseBookDialog::phrasebookConfirmed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject PhraseBookDialog::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_PhraseBookDialog.data,
      qt_meta_data_PhraseBookDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void PhraseBookDialog::phrasebookConfirmed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
