/****************************************************************************
** Meta object code from reading C++ file 'klipper.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/plasma-workspace-5.8.9/klipper/klipper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'klipper.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_Klipper_t {
    QByteArrayData data[42];
    char stringdata0[662];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Klipper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Klipper_t qt_meta_stringdata_Klipper = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Klipper"
QT_MOC_LITERAL(1, 8, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 24, 23), // "org.kde.klipper.klipper"
QT_MOC_LITERAL(3, 48, 12), // "passivePopup"
QT_MOC_LITERAL(4, 61, 0), // ""
QT_MOC_LITERAL(5, 62, 7), // "caption"
QT_MOC_LITERAL(6, 70, 4), // "text"
QT_MOC_LITERAL(7, 75, 12), // "editFinished"
QT_MOC_LITERAL(8, 88, 33), // "QSharedPointer<const HistoryI..."
QT_MOC_LITERAL(9, 122, 4), // "item"
QT_MOC_LITERAL(10, 127, 6), // "result"
QT_MOC_LITERAL(11, 134, 20), // "getClipboardContents"
QT_MOC_LITERAL(12, 155, 20), // "setClipboardContents"
QT_MOC_LITERAL(13, 176, 1), // "s"
QT_MOC_LITERAL(14, 178, 22), // "clearClipboardContents"
QT_MOC_LITERAL(15, 201, 21), // "clearClipboardHistory"
QT_MOC_LITERAL(16, 223, 20), // "saveClipboardHistory"
QT_MOC_LITERAL(17, 244, 23), // "getClipboardHistoryMenu"
QT_MOC_LITERAL(18, 268, 23), // "getClipboardHistoryItem"
QT_MOC_LITERAL(19, 292, 1), // "i"
QT_MOC_LITERAL(20, 294, 20), // "showKlipperPopupMenu"
QT_MOC_LITERAL(21, 315, 35), // "showKlipperManuallyInvokeActi..."
QT_MOC_LITERAL(22, 351, 11), // "saveSession"
QT_MOC_LITERAL(23, 363, 21), // "slotHistoryTopChanged"
QT_MOC_LITERAL(24, 385, 13), // "slotConfigure"
QT_MOC_LITERAL(25, 399, 13), // "slotCycleNext"
QT_MOC_LITERAL(26, 413, 13), // "slotCyclePrev"
QT_MOC_LITERAL(27, 427, 13), // "slotPopupMenu"
QT_MOC_LITERAL(28, 441, 19), // "slotAskClearHistory"
QT_MOC_LITERAL(29, 461, 13), // "showPopupMenu"
QT_MOC_LITERAL(30, 475, 6), // "QMenu*"
QT_MOC_LITERAL(31, 482, 16), // "slotRepeatAction"
QT_MOC_LITERAL(32, 499, 20), // "setURLGrabberEnabled"
QT_MOC_LITERAL(33, 520, 17), // "disableURLGrabber"
QT_MOC_LITERAL(34, 538, 11), // "newClipData"
QT_MOC_LITERAL(35, 550, 16), // "QClipboard::Mode"
QT_MOC_LITERAL(36, 567, 18), // "slotClearClipboard"
QT_MOC_LITERAL(37, 586, 8), // "slotQuit"
QT_MOC_LITERAL(38, 595, 18), // "slotStartShowTimer"
QT_MOC_LITERAL(39, 614, 17), // "slotClearOverflow"
QT_MOC_LITERAL(40, 632, 16), // "slotCheckPending"
QT_MOC_LITERAL(41, 649, 12) // "loadSettings"

    },
    "Klipper\0D-Bus Interface\0org.kde.klipper.klipper\0"
    "passivePopup\0\0caption\0text\0editFinished\0"
    "QSharedPointer<const HistoryItem>\0"
    "item\0result\0getClipboardContents\0"
    "setClipboardContents\0s\0clearClipboardContents\0"
    "clearClipboardHistory\0saveClipboardHistory\0"
    "getClipboardHistoryMenu\0getClipboardHistoryItem\0"
    "i\0showKlipperPopupMenu\0"
    "showKlipperManuallyInvokeActionMenu\0"
    "saveSession\0slotHistoryTopChanged\0"
    "slotConfigure\0slotCycleNext\0slotCyclePrev\0"
    "slotPopupMenu\0slotAskClearHistory\0"
    "showPopupMenu\0QMenu*\0slotRepeatAction\0"
    "setURLGrabberEnabled\0disableURLGrabber\0"
    "newClipData\0QClipboard::Mode\0"
    "slotClearClipboard\0slotQuit\0"
    "slotStartShowTimer\0slotClearOverflow\0"
    "slotCheckPending\0loadSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Klipper[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    2,  161,    4, 0x06 /* Public */,
       7,    2,  166,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  171,    4, 0x4a /* Public | isScriptable */,
      12,    1,  172,    4, 0x4a /* Public | isScriptable */,
      14,    0,  175,    4, 0x4a /* Public | isScriptable */,
      15,    0,  176,    4, 0x4a /* Public | isScriptable */,
      16,    0,  177,    4, 0x4a /* Public | isScriptable */,
      17,    0,  178,    4, 0x4a /* Public | isScriptable */,
      18,    1,  179,    4, 0x4a /* Public | isScriptable */,
      20,    0,  182,    4, 0x4a /* Public | isScriptable */,
      21,    0,  183,    4, 0x4a /* Public | isScriptable */,
      22,    0,  184,    4, 0x0a /* Public */,
      23,    0,  185,    4, 0x0a /* Public */,
      24,    0,  186,    4, 0x0a /* Public */,
      25,    0,  187,    4, 0x0a /* Public */,
      26,    0,  188,    4, 0x0a /* Public */,
      27,    0,  189,    4, 0x0a /* Public */,
      28,    0,  190,    4, 0x0a /* Public */,
      29,    1,  191,    4, 0x09 /* Protected */,
      31,    0,  194,    4, 0x09 /* Protected */,
      32,    1,  195,    4, 0x09 /* Protected */,
      33,    0,  198,    4, 0x09 /* Protected */,
      34,    1,  199,    4, 0x08 /* Private */,
      36,    0,  202,    4, 0x08 /* Private */,
      37,    0,  203,    4, 0x08 /* Private */,
      38,    0,  204,    4, 0x08 /* Private */,
      39,    0,  205,    4, 0x08 /* Private */,
      40,    0,  206,    4, 0x08 /* Private */,
      41,    0,  207,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,    9,   10,

 // slots: parameters
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QStringList,
    QMetaType::QString, QMetaType::Int,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 30,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 35,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Klipper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Klipper *_t = static_cast<Klipper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->passivePopup((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->editFinished((*reinterpret_cast< QSharedPointer<const HistoryItem>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: { QString _r = _t->getClipboardContents();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->setClipboardContents((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: _t->clearClipboardContents(); break;
        case 5: _t->clearClipboardHistory(); break;
        case 6: _t->saveClipboardHistory(); break;
        case 7: { QStringList _r = _t->getClipboardHistoryMenu();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->getClipboardHistoryItem((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->showKlipperPopupMenu(); break;
        case 10: _t->showKlipperManuallyInvokeActionMenu(); break;
        case 11: _t->saveSession(); break;
        case 12: _t->slotHistoryTopChanged(); break;
        case 13: _t->slotConfigure(); break;
        case 14: _t->slotCycleNext(); break;
        case 15: _t->slotCyclePrev(); break;
        case 16: _t->slotPopupMenu(); break;
        case 17: _t->slotAskClearHistory(); break;
        case 18: _t->showPopupMenu((*reinterpret_cast< QMenu*(*)>(_a[1]))); break;
        case 19: _t->slotRepeatAction(); break;
        case 20: _t->setURLGrabberEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->disableURLGrabber(); break;
        case 22: _t->newClipData((*reinterpret_cast< QClipboard::Mode(*)>(_a[1]))); break;
        case 23: _t->slotClearClipboard(); break;
        case 24: _t->slotQuit(); break;
        case 25: _t->slotStartShowTimer(); break;
        case 26: _t->slotClearOverflow(); break;
        case 27: _t->slotCheckPending(); break;
        case 28: _t->loadSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Klipper::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Klipper::passivePopup)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Klipper::*_t)(QSharedPointer<const HistoryItem> , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Klipper::editFinished)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Klipper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Klipper.data,
      qt_meta_data_Klipper,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Klipper::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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
    return _id;
}

// SIGNAL 0
void Klipper::passivePopup(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Klipper::editFinished(QSharedPointer<const HistoryItem> _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
