/****************************************************************************
** Meta object code from reading C++ file 'triggers.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/khotkeys-5.8.9/libkhotkeysprivate/triggers/triggers.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'triggers.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_KHotKeys__ShortcutTrigger_t {
    QByteArrayData data[3];
    char stringdata0[35];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KHotKeys__ShortcutTrigger_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KHotKeys__ShortcutTrigger_t qt_meta_stringdata_KHotKeys__ShortcutTrigger = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KHotKeys::ShortcutTrigger"
QT_MOC_LITERAL(1, 26, 7), // "trigger"
QT_MOC_LITERAL(2, 34, 0) // ""

    },
    "KHotKeys::ShortcutTrigger\0trigger\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KHotKeys__ShortcutTrigger[] = {

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

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

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KHotKeys::ShortcutTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ShortcutTrigger *_t = static_cast<ShortcutTrigger *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->trigger(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KHotKeys::ShortcutTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__ShortcutTrigger.data,
      qt_meta_data_KHotKeys__ShortcutTrigger,  qt_static_metacall, nullptr, nullptr}
};


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

void *KHotKeys::ShortcutTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__ShortcutTrigger.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(this);
    return QObject::qt_metacast(_clname);
}

int KHotKeys::ShortcutTrigger::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KHotKeys__WindowTrigger_t {
    QByteArrayData data[15];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KHotKeys__WindowTrigger_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KHotKeys__WindowTrigger_t qt_meta_stringdata_KHotKeys__WindowTrigger = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KHotKeys::WindowTrigger"
QT_MOC_LITERAL(1, 24, 12), // "window_added"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 3), // "WId"
QT_MOC_LITERAL(4, 42, 8), // "window_P"
QT_MOC_LITERAL(5, 51, 14), // "window_removed"
QT_MOC_LITERAL(6, 66, 21), // "active_window_changed"
QT_MOC_LITERAL(7, 88, 14), // "window_changed"
QT_MOC_LITERAL(8, 103, 7), // "dirty_P"
QT_MOC_LITERAL(9, 111, 12), // "WindowEvents"
QT_MOC_LITERAL(10, 124, 4), // "NONE"
QT_MOC_LITERAL(11, 129, 14), // "WINDOW_APPEARS"
QT_MOC_LITERAL(12, 144, 17), // "WINDOW_DISAPPEARS"
QT_MOC_LITERAL(13, 162, 16), // "WINDOW_ACTIVATES"
QT_MOC_LITERAL(14, 179, 18) // "WINDOW_DEACTIVATES"

    },
    "KHotKeys::WindowTrigger\0window_added\0"
    "\0WId\0window_P\0window_removed\0"
    "active_window_changed\0window_changed\0"
    "dirty_P\0WindowEvents\0NONE\0WINDOW_APPEARS\0"
    "WINDOW_DISAPPEARS\0WINDOW_ACTIVATES\0"
    "WINDOW_DEACTIVATES"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KHotKeys__WindowTrigger[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x09 /* Protected */,
       5,    1,   37,    2, 0x09 /* Protected */,
       6,    1,   40,    2, 0x09 /* Protected */,
       7,    2,   43,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::UInt,    4,    8,

 // enums: name, flags, count, data
       9, 0x1,    5,   52,

 // enum data: key, value
      10, uint(KHotKeys::WindowTrigger::NONE),
      11, uint(KHotKeys::WindowTrigger::WINDOW_APPEARS),
      12, uint(KHotKeys::WindowTrigger::WINDOW_DISAPPEARS),
      13, uint(KHotKeys::WindowTrigger::WINDOW_ACTIVATES),
      14, uint(KHotKeys::WindowTrigger::WINDOW_DEACTIVATES),

       0        // eod
};

void KHotKeys::WindowTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WindowTrigger *_t = static_cast<WindowTrigger *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->window_added((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 1: _t->window_removed((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 2: _t->active_window_changed((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 3: _t->window_changed((*reinterpret_cast< WId(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObject KHotKeys::WindowTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__WindowTrigger.data,
      qt_meta_data_KHotKeys__WindowTrigger,  qt_static_metacall, nullptr, nullptr}
};


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

void *KHotKeys::WindowTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__WindowTrigger.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(this);
    return QObject::qt_metacast(_clname);
}

int KHotKeys::WindowTrigger::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}
struct qt_meta_stringdata_KHotKeys__GestureTrigger_t {
    QByteArrayData data[9];
    char stringdata0[101];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KHotKeys__GestureTrigger_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KHotKeys__GestureTrigger_t qt_meta_stringdata_KHotKeys__GestureTrigger = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KHotKeys::GestureTrigger"
QT_MOC_LITERAL(1, 25, 8), // "gotScore"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 16), // "ActionData*const"
QT_MOC_LITERAL(4, 52, 4), // "data"
QT_MOC_LITERAL(5, 57, 5), // "score"
QT_MOC_LITERAL(6, 63, 14), // "handle_gesture"
QT_MOC_LITERAL(7, 78, 12), // "StrokePoints"
QT_MOC_LITERAL(8, 91, 9) // "gesture_P"

    },
    "KHotKeys::GestureTrigger\0gotScore\0\0"
    "ActionData*const\0data\0score\0handle_gesture\0"
    "StrokePoints\0gesture_P"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KHotKeys__GestureTrigger[] = {

 // 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,    2,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   29,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QReal,    4,    5,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,

       0        // eod
};

void KHotKeys::GestureTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GestureTrigger *_t = static_cast<GestureTrigger *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->gotScore((*reinterpret_cast< ActionData*const(*)>(_a[1])),(*reinterpret_cast< const qreal(*)>(_a[2]))); break;
        case 1: _t->handle_gesture((*reinterpret_cast< const StrokePoints(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (GestureTrigger::*_t)(ActionData * const , const qreal );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GestureTrigger::gotScore)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KHotKeys::GestureTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__GestureTrigger.data,
      qt_meta_data_KHotKeys__GestureTrigger,  qt_static_metacall, nullptr, nullptr}
};


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

void *KHotKeys::GestureTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__GestureTrigger.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(this);
    return QObject::qt_metacast(_clname);
}

int KHotKeys::GestureTrigger::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 < 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 KHotKeys::GestureTrigger::gotScore(ActionData * const _t1, const qreal _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);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
