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

#include <memory>
#include "generated/org_ayatana_bamf_matcher.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'org_ayatana_bamf_matcher.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___matcher_t {
    QByteArrayData data[43];
    char stringdata0[667];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___matcher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___matcher_t qt_meta_stringdata___matcher = {
    {
QT_MOC_LITERAL(0, 0, 9), // "__matcher"
QT_MOC_LITERAL(1, 10, 24), // "ActiveApplicationChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 7), // "old_app"
QT_MOC_LITERAL(4, 44, 7), // "new_app"
QT_MOC_LITERAL(5, 52, 19), // "ActiveWindowChanged"
QT_MOC_LITERAL(6, 72, 7), // "old_win"
QT_MOC_LITERAL(7, 80, 7), // "new_win"
QT_MOC_LITERAL(8, 88, 26), // "RunningApplicationsChanged"
QT_MOC_LITERAL(9, 115, 20), // "opened_desktop_files"
QT_MOC_LITERAL(10, 136, 20), // "closed_desktop_files"
QT_MOC_LITERAL(11, 157, 20), // "StackingOrderChanged"
QT_MOC_LITERAL(12, 178, 10), // "ViewClosed"
QT_MOC_LITERAL(13, 189, 4), // "path"
QT_MOC_LITERAL(14, 194, 4), // "type"
QT_MOC_LITERAL(15, 199, 10), // "ViewOpened"
QT_MOC_LITERAL(16, 210, 17), // "ActiveApplication"
QT_MOC_LITERAL(17, 228, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(18, 255, 12), // "ActiveWindow"
QT_MOC_LITERAL(19, 268, 17), // "ApplicationForXid"
QT_MOC_LITERAL(20, 286, 3), // "xid"
QT_MOC_LITERAL(21, 290, 20), // "ApplicationIsRunning"
QT_MOC_LITERAL(22, 311, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(23, 335, 12), // "desktop_file"
QT_MOC_LITERAL(24, 348, 16), // "ApplicationPaths"
QT_MOC_LITERAL(25, 365, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(26, 396, 18), // "PathForApplication"
QT_MOC_LITERAL(27, 415, 17), // "RegisterFavorites"
QT_MOC_LITERAL(28, 433, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(29, 453, 9), // "favorites"
QT_MOC_LITERAL(30, 463, 23), // "RegisterFavoritesQueued"
QT_MOC_LITERAL(31, 487, 19), // "RunningApplications"
QT_MOC_LITERAL(32, 507, 31), // "RunningApplicationsDesktopFiles"
QT_MOC_LITERAL(33, 539, 8), // "TabPaths"
QT_MOC_LITERAL(34, 548, 11), // "WindowPaths"
QT_MOC_LITERAL(35, 560, 21), // "WindowStackForMonitor"
QT_MOC_LITERAL(36, 582, 10), // "monitor_id"
QT_MOC_LITERAL(37, 593, 10), // "CallQueued"
QT_MOC_LITERAL(38, 604, 8), // "callName"
QT_MOC_LITERAL(39, 613, 4), // "args"
QT_MOC_LITERAL(40, 618, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(41, 640, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(42, 665, 1) // "w"

    },
    "__matcher\0ActiveApplicationChanged\0\0"
    "old_app\0new_app\0ActiveWindowChanged\0"
    "old_win\0new_win\0RunningApplicationsChanged\0"
    "opened_desktop_files\0closed_desktop_files\0"
    "StackingOrderChanged\0ViewClosed\0path\0"
    "type\0ViewOpened\0ActiveApplication\0"
    "QDBusPendingReply<QString>\0ActiveWindow\0"
    "ApplicationForXid\0xid\0ApplicationIsRunning\0"
    "QDBusPendingReply<bool>\0desktop_file\0"
    "ApplicationPaths\0QDBusPendingReply<QStringList>\0"
    "PathForApplication\0RegisterFavorites\0"
    "QDBusPendingReply<>\0favorites\0"
    "RegisterFavoritesQueued\0RunningApplications\0"
    "RunningApplicationsDesktopFiles\0"
    "TabPaths\0WindowPaths\0WindowStackForMonitor\0"
    "monitor_id\0CallQueued\0callName\0args\0"
    "onPendingCallFinished\0QDBusPendingCallWatcher*\0"
    "w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___matcher[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  119,    2, 0x06 /* Public */,
       5,    2,  124,    2, 0x06 /* Public */,
       8,    2,  129,    2, 0x06 /* Public */,
      11,    0,  134,    2, 0x06 /* Public */,
      12,    2,  135,    2, 0x06 /* Public */,
      15,    2,  140,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  145,    2, 0x0a /* Public */,
      18,    0,  146,    2, 0x0a /* Public */,
      19,    1,  147,    2, 0x0a /* Public */,
      21,    1,  150,    2, 0x0a /* Public */,
      24,    0,  153,    2, 0x0a /* Public */,
      26,    1,  154,    2, 0x0a /* Public */,
      27,    1,  157,    2, 0x0a /* Public */,
      30,    1,  160,    2, 0x0a /* Public */,
      31,    0,  163,    2, 0x0a /* Public */,
      32,    0,  164,    2, 0x0a /* Public */,
      33,    0,  165,    2, 0x0a /* Public */,
      34,    0,  166,    2, 0x0a /* Public */,
      35,    1,  167,    2, 0x0a /* Public */,
      37,    2,  170,    2, 0x0a /* Public */,
      40,    1,  175,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,    7,
    QMetaType::Void, QMetaType::QStringList, QMetaType::QStringList,    9,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   13,   14,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   13,   14,

 // slots: parameters
    0x80000000 | 17,
    0x80000000 | 17,
    0x80000000 | 17, QMetaType::UInt,   20,
    0x80000000 | 22, QMetaType::QString,   23,
    0x80000000 | 25,
    0x80000000 | 17, QMetaType::QString,   23,
    0x80000000 | 28, QMetaType::QStringList,   29,
    QMetaType::Void, QMetaType::QStringList,   29,
    0x80000000 | 25,
    0x80000000 | 25,
    0x80000000 | 25,
    0x80000000 | 25,
    0x80000000 | 25, QMetaType::Int,   36,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   38,   39,
    QMetaType::Void, 0x80000000 | 41,   42,

       0        // eod
};

void __matcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__matcher *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ActiveApplicationChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->ActiveWindowChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->RunningApplicationsChanged((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 3: _t->StackingOrderChanged(); break;
        case 4: _t->ViewClosed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->ViewOpened((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: { QDBusPendingReply<QString> _r = _t->ActiveApplication();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<QString> _r = _t->ActiveWindow();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QString> _r = _t->ApplicationForXid((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<bool> _r = _t->ApplicationIsRunning((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<QStringList> _r = _t->ApplicationPaths();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<QString> _r = _t->PathForApplication((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<> _r = _t->RegisterFavorites((*reinterpret_cast< const QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->RegisterFavoritesQueued((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 14: { QDBusPendingReply<QStringList> _r = _t->RunningApplications();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusPendingReply<QStringList> _r = _t->RunningApplicationsDesktopFiles();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusPendingReply<QStringList> _r = _t->TabPaths();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QDBusPendingReply<QStringList> _r = _t->WindowPaths();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 18: { QDBusPendingReply<QStringList> _r = _t->WindowStackForMonitor((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 20: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__matcher::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::ActiveApplicationChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__matcher::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::ActiveWindowChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__matcher::*)(const QStringList & , const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::RunningApplicationsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__matcher::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::StackingOrderChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__matcher::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::ViewClosed)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__matcher::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__matcher::ViewOpened)) {
                *result = 5;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __matcher::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___matcher.data,
    qt_meta_data___matcher,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __matcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

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

// SIGNAL 1
void __matcher::ActiveWindowChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __matcher::RunningApplicationsChanged(const QStringList & _t1, const QStringList & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __matcher::StackingOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void __matcher::ViewClosed(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void __matcher::ViewOpened(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
