/****************************************************************************
** Meta object code from reading C++ file 'backend.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-desktop-5.8.9/applets/taskmanager/plugin/backend.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'backend.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_Backend_t {
    QByteArrayData data[43];
    char stringdata0[579];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Backend_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Backend_t qt_meta_stringdata_Backend = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Backend"
QT_MOC_LITERAL(1, 8, 22), // "taskManagerItemChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 18), // "toolTipItemChanged"
QT_MOC_LITERAL(4, 51, 18), // "groupDialogChanged"
QT_MOC_LITERAL(5, 70, 23), // "highlightWindowsChanged"
QT_MOC_LITERAL(6, 94, 11), // "addLauncher"
QT_MOC_LITERAL(7, 106, 3), // "url"
QT_MOC_LITERAL(8, 110, 14), // "presentWindows"
QT_MOC_LITERAL(9, 125, 6), // "winIds"
QT_MOC_LITERAL(10, 132, 14), // "windowsHovered"
QT_MOC_LITERAL(11, 147, 7), // "hovered"
QT_MOC_LITERAL(12, 155, 20), // "toolTipWindowChanged"
QT_MOC_LITERAL(13, 176, 13), // "QQuickWindow*"
QT_MOC_LITERAL(14, 190, 6), // "window"
QT_MOC_LITERAL(15, 197, 20), // "handleJumpListAction"
QT_MOC_LITERAL(16, 218, 26), // "handleRecentDocumentAction"
QT_MOC_LITERAL(17, 245, 15), // "jumpListActions"
QT_MOC_LITERAL(18, 261, 11), // "launcherUrl"
QT_MOC_LITERAL(19, 273, 6), // "parent"
QT_MOC_LITERAL(20, 280, 21), // "recentDocumentActions"
QT_MOC_LITERAL(21, 302, 14), // "setActionGroup"
QT_MOC_LITERAL(22, 317, 8), // "QAction*"
QT_MOC_LITERAL(23, 326, 6), // "action"
QT_MOC_LITERAL(24, 333, 10), // "globalRect"
QT_MOC_LITERAL(25, 344, 11), // "QQuickItem*"
QT_MOC_LITERAL(26, 356, 4), // "item"
QT_MOC_LITERAL(27, 361, 11), // "ungrabMouse"
QT_MOC_LITERAL(28, 373, 17), // "canPresentWindows"
QT_MOC_LITERAL(29, 391, 13), // "isApplication"
QT_MOC_LITERAL(30, 405, 18), // "jsonArrayToUrlList"
QT_MOC_LITERAL(31, 424, 11), // "QList<QUrl>"
QT_MOC_LITERAL(32, 436, 5), // "array"
QT_MOC_LITERAL(33, 442, 22), // "cancelHighlightWindows"
QT_MOC_LITERAL(34, 465, 15), // "taskManagerItem"
QT_MOC_LITERAL(35, 481, 11), // "toolTipItem"
QT_MOC_LITERAL(36, 493, 11), // "groupDialog"
QT_MOC_LITERAL(37, 505, 16), // "highlightWindows"
QT_MOC_LITERAL(38, 522, 17), // "MiddleClickAction"
QT_MOC_LITERAL(39, 540, 4), // "None"
QT_MOC_LITERAL(40, 545, 5), // "Close"
QT_MOC_LITERAL(41, 551, 11), // "NewInstance"
QT_MOC_LITERAL(42, 563, 15) // "ToggleMinimized"

    },
    "Backend\0taskManagerItemChanged\0\0"
    "toolTipItemChanged\0groupDialogChanged\0"
    "highlightWindowsChanged\0addLauncher\0"
    "url\0presentWindows\0winIds\0windowsHovered\0"
    "hovered\0toolTipWindowChanged\0QQuickWindow*\0"
    "window\0handleJumpListAction\0"
    "handleRecentDocumentAction\0jumpListActions\0"
    "launcherUrl\0parent\0recentDocumentActions\0"
    "setActionGroup\0QAction*\0action\0"
    "globalRect\0QQuickItem*\0item\0ungrabMouse\0"
    "canPresentWindows\0isApplication\0"
    "jsonArrayToUrlList\0QList<QUrl>\0array\0"
    "cancelHighlightWindows\0taskManagerItem\0"
    "toolTipItem\0groupDialog\0highlightWindows\0"
    "MiddleClickAction\0None\0Close\0NewInstance\0"
    "ToggleMinimized"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Backend[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       4,  156, // properties
       1,  172, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x06 /* Public */,
       3,    0,  110,    2, 0x06 /* Public */,
       4,    0,  111,    2, 0x06 /* Public */,
       5,    0,  112,    2, 0x06 /* Public */,
       6,    1,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  116,    2, 0x0a /* Public */,
      10,    2,  119,    2, 0x0a /* Public */,
      12,    1,  124,    2, 0x08 /* Private */,
      15,    0,  127,    2, 0x08 /* Private */,
      16,    0,  128,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      17,    2,  129,    2, 0x02 /* Public */,
      20,    2,  134,    2, 0x02 /* Public */,
      21,    1,  139,    2, 0x02 /* Public */,
      24,    1,  142,    2, 0x02 /* Public */,
      27,    1,  145,    2, 0x02 /* Public */,
      28,    0,  148,    2, 0x02 /* Public */,
      29,    1,  149,    2, 0x02 /* Public */,
      30,    1,  152,    2, 0x02 /* Public */,
      33,    0,  155,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QVariant,    9,
    QMetaType::Void, QMetaType::QVariant, QMetaType::Bool,    9,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariantList, QMetaType::QUrl, QMetaType::QObjectStar,   18,   19,
    QMetaType::QVariantList, QMetaType::QUrl, QMetaType::QObjectStar,   18,   19,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::QRect, 0x80000000 | 25,   26,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QUrl,    7,
    0x80000000 | 31, QMetaType::QJsonArray,   32,
    QMetaType::Void,

 // properties: name, type, flags
      34, 0x80000000 | 25, 0x0049510b,
      35, 0x80000000 | 25, 0x0049510b,
      36, 0x80000000 | 13, 0x0049510b,
      37, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,

 // enums: name, flags, count, data
      38, 0x0,    4,  176,

 // enum data: key, value
      39, uint(Backend::None),
      40, uint(Backend::Close),
      41, uint(Backend::NewInstance),
      42, uint(Backend::ToggleMinimized),

       0        // eod
};

void Backend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Backend *_t = static_cast<Backend *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->taskManagerItemChanged(); break;
        case 1: _t->toolTipItemChanged(); break;
        case 2: _t->groupDialogChanged(); break;
        case 3: _t->highlightWindowsChanged(); break;
        case 4: _t->addLauncher((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 5: _t->presentWindows((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 6: _t->windowsHovered((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 7: _t->toolTipWindowChanged((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break;
        case 8: _t->handleJumpListAction(); break;
        case 9: _t->handleRecentDocumentAction(); break;
        case 10: { QVariantList _r = _t->jumpListActions((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 11: { QVariantList _r = _t->recentDocumentActions((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->setActionGroup((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 13: { QRect _r = _t->globalRect((*reinterpret_cast< QQuickItem*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QRect*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->ungrabMouse((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break;
        case 15: { bool _r = _t->canPresentWindows();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->isApplication((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { QList<QUrl> _r = _t->jsonArrayToUrlList((*reinterpret_cast< const QJsonArray(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QUrl>*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->cancelHighlightWindows(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Backend::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Backend::taskManagerItemChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Backend::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Backend::toolTipItemChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Backend::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Backend::groupDialogChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Backend::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Backend::highlightWindowsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Backend::*_t)(const QUrl & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Backend::addLauncher)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Backend *_t = static_cast<Backend *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->taskManagerItem(); break;
        case 1: *reinterpret_cast< QQuickItem**>(_v) = _t->toolTipItem(); break;
        case 2: *reinterpret_cast< QQuickWindow**>(_v) = _t->groupDialog(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->highlightWindows(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Backend *_t = static_cast<Backend *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTaskManagerItem(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 1: _t->setToolTipItem(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 2: _t->setGroupDialog(*reinterpret_cast< QQuickWindow**>(_v)); break;
        case 3: _t->setHighlightWindows(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Backend::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Backend.data,
      qt_meta_data_Backend,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Backend::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Backend::taskManagerItemChanged()const
{
    QMetaObject::activate(const_cast< Backend *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Backend::toolTipItemChanged()const
{
    QMetaObject::activate(const_cast< Backend *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Backend::groupDialogChanged()const
{
    QMetaObject::activate(const_cast< Backend *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Backend::highlightWindowsChanged()const
{
    QMetaObject::activate(const_cast< Backend *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Backend::addLauncher(const QUrl & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(const_cast< Backend *>(this), &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
