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

#include "../../src/tellico-3.0.2/src/dbusinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_Tellico__ApplicationInterface_t {
    QByteArrayData data[23];
    char stringdata0[257];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__ApplicationInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__ApplicationInterface_t qt_meta_stringdata_Tellico__ApplicationInterface = {
    {
QT_MOC_LITERAL(0, 0, 29), // "Tellico::ApplicationInterface"
QT_MOC_LITERAL(1, 30, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 46, 15), // "org.kde.tellico"
QT_MOC_LITERAL(3, 62, 13), // "importTellico"
QT_MOC_LITERAL(4, 76, 0), // ""
QT_MOC_LITERAL(5, 77, 4), // "file"
QT_MOC_LITERAL(6, 82, 6), // "action"
QT_MOC_LITERAL(7, 89, 12), // "importBibtex"
QT_MOC_LITERAL(8, 102, 10), // "importMODS"
QT_MOC_LITERAL(9, 113, 9), // "importRIS"
QT_MOC_LITERAL(10, 123, 9), // "exportXML"
QT_MOC_LITERAL(11, 133, 9), // "exportZip"
QT_MOC_LITERAL(12, 143, 12), // "exportBibtex"
QT_MOC_LITERAL(13, 156, 10), // "exportHTML"
QT_MOC_LITERAL(14, 167, 9), // "exportCSV"
QT_MOC_LITERAL(15, 177, 15), // "selectedEntries"
QT_MOC_LITERAL(16, 193, 10), // "QList<int>"
QT_MOC_LITERAL(17, 204, 15), // "filteredEntries"
QT_MOC_LITERAL(18, 220, 8), // "openFile"
QT_MOC_LITERAL(19, 229, 9), // "setFilter"
QT_MOC_LITERAL(20, 239, 4), // "text"
QT_MOC_LITERAL(21, 244, 9), // "showEntry"
QT_MOC_LITERAL(22, 254, 2) // "id"

    },
    "Tellico::ApplicationInterface\0"
    "D-Bus Interface\0org.kde.tellico\0"
    "importTellico\0\0file\0action\0importBibtex\0"
    "importMODS\0importRIS\0exportXML\0exportZip\0"
    "exportBibtex\0exportHTML\0exportCSV\0"
    "selectedEntries\0QList<int>\0filteredEntries\0"
    "openFile\0setFilter\0text\0showEntry\0id"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__ApplicationInterface[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    2,   86,    4, 0x4a /* Public | isScriptable */,
       7,    2,   91,    4, 0x4a /* Public | isScriptable */,
       8,    2,   96,    4, 0x4a /* Public | isScriptable */,
       9,    2,  101,    4, 0x4a /* Public | isScriptable */,
      10,    1,  106,    4, 0x4a /* Public | isScriptable */,
      11,    1,  109,    4, 0x4a /* Public | isScriptable */,
      12,    1,  112,    4, 0x4a /* Public | isScriptable */,
      13,    1,  115,    4, 0x4a /* Public | isScriptable */,
      14,    1,  118,    4, 0x4a /* Public | isScriptable */,
      15,    0,  121,    4, 0x4a /* Public | isScriptable */,
      17,    0,  122,    4, 0x4a /* Public | isScriptable */,
      18,    1,  123,    4, 0x4a /* Public | isScriptable */,
      19,    1,  126,    4, 0x4a /* Public | isScriptable */,
      21,    1,  129,    4, 0x4a /* Public | isScriptable */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    0x80000000 | 16,
    0x80000000 | 16,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Bool, QMetaType::Int,   22,

       0        // eod
};

void Tellico::ApplicationInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ApplicationInterface *_t = static_cast<ApplicationInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { bool _r = _t->importTellico((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->importBibtex((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { bool _r = _t->importMODS((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { bool _r = _t->importRIS((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: { bool _r = _t->exportXML((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->exportZip((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { bool _r = _t->exportBibtex((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->exportHTML((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: { bool _r = _t->exportCSV((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: { QList<int> _r = _t->selectedEntries();
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = _r; }  break;
        case 10: { QList<int> _r = _t->filteredEntries();
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = _r; }  break;
        case 11: _t->openFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: { bool _r = _t->showEntry((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject Tellico::ApplicationInterface::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tellico__ApplicationInterface.data,
      qt_meta_data_Tellico__ApplicationInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::ApplicationInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__ApplicationInterface.stringdata0))
        return static_cast<void*>(const_cast< ApplicationInterface*>(this));
    return QObject::qt_metacast(_clname);
}

int Tellico::ApplicationInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}
struct qt_meta_stringdata_Tellico__CollectionInterface_t {
    QByteArrayData data[15];
    char stringdata0[191];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__CollectionInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__CollectionInterface_t qt_meta_stringdata_Tellico__CollectionInterface = {
    {
QT_MOC_LITERAL(0, 0, 28), // "Tellico::CollectionInterface"
QT_MOC_LITERAL(1, 29, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 45, 15), // "org.kde.tellico"
QT_MOC_LITERAL(3, 61, 8), // "addEntry"
QT_MOC_LITERAL(4, 70, 0), // ""
QT_MOC_LITERAL(5, 71, 11), // "removeEntry"
QT_MOC_LITERAL(6, 83, 7), // "entryID"
QT_MOC_LITERAL(7, 91, 9), // "allValues"
QT_MOC_LITERAL(8, 101, 9), // "fieldName"
QT_MOC_LITERAL(9, 111, 11), // "entryValues"
QT_MOC_LITERAL(10, 123, 18), // "selectedBibtexKeys"
QT_MOC_LITERAL(11, 142, 14), // "entryBibtexKey"
QT_MOC_LITERAL(12, 157, 13), // "setEntryValue"
QT_MOC_LITERAL(13, 171, 5), // "value"
QT_MOC_LITERAL(14, 177, 13) // "addEntryValue"

    },
    "Tellico::CollectionInterface\0"
    "D-Bus Interface\0org.kde.tellico\0"
    "addEntry\0\0removeEntry\0entryID\0allValues\0"
    "fieldName\0entryValues\0selectedBibtexKeys\0"
    "entryBibtexKey\0setEntryValue\0value\0"
    "addEntryValue"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__CollectionInterface[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   56,    4, 0x4a /* Public | isScriptable */,
       5,    1,   57,    4, 0x4a /* Public | isScriptable */,
       7,    1,   60,    4, 0x4a /* Public | isScriptable */,
       9,    2,   63,    4, 0x4a /* Public | isScriptable */,
      10,    0,   68,    4, 0x4a /* Public | isScriptable */,
      11,    1,   69,    4, 0x4a /* Public | isScriptable */,
      12,    3,   72,    4, 0x4a /* Public | isScriptable */,
      14,    3,   79,    4, 0x4a /* Public | isScriptable */,

 // slots: parameters
    QMetaType::Int,
    QMetaType::Bool, QMetaType::Int,    6,
    QMetaType::QStringList, QMetaType::QString,    8,
    QMetaType::QStringList, QMetaType::Int, QMetaType::QString,    6,    8,
    QMetaType::QStringList,
    QMetaType::QString, QMetaType::Int,    6,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QString,    6,    8,   13,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QString,    6,    8,   13,

       0        // eod
};

void Tellico::CollectionInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CollectionInterface *_t = static_cast<CollectionInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { int _r = _t->addEntry();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->removeEntry((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { QStringList _r = _t->allValues((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 3: { QStringList _r = _t->entryValues((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 4: { QStringList _r = _t->selectedBibtexKeys();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 5: { QString _r = _t->entryBibtexKey((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { bool _r = _t->setEntryValue((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->addEntryValue((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject Tellico::CollectionInterface::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tellico__CollectionInterface.data,
      qt_meta_data_Tellico__CollectionInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::CollectionInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__CollectionInterface.stringdata0))
        return static_cast<void*>(const_cast< CollectionInterface*>(this));
    return QObject::qt_metacast(_clname);
}

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