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

#include "../../../src/kde-workspace-4.11.21/khotkeys/libkhotkeysprivate/triggers/triggers.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'triggers.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KHotKeys__ShortcutTrigger[] = {

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

 // signals: signature, parameters, type, tag, flags
      27,   26,   26,   26, 0x05,

 // slots: signature, parameters, type, tag, flags
      63,   26,   26,   26, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_KHotKeys__ShortcutTrigger[] = {
    "KHotKeys::ShortcutTrigger\0\0"
    "globalShortcutChanged(QKeySequence)\0"
    "trigger()\0"
};

void KHotKeys::ShortcutTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ShortcutTrigger *_t = static_cast<ShortcutTrigger *>(_o);
        switch (_id) {
        case 0: _t->globalShortcutChanged((*reinterpret_cast< const QKeySequence(*)>(_a[1]))); break;
        case 1: _t->trigger(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KHotKeys::ShortcutTrigger::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KHotKeys::ShortcutTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__ShortcutTrigger,
      qt_meta_data_KHotKeys__ShortcutTrigger, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KHotKeys::ShortcutTrigger::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KHotKeys::ShortcutTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__ShortcutTrigger))
        return static_cast<void*>(const_cast< ShortcutTrigger*>(this));
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(const_cast< ShortcutTrigger*>(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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KHotKeys::ShortcutTrigger::globalShortcutChanged(const QKeySequence & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_KHotKeys__WindowTrigger[] = {

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

 // slots: signature, parameters, type, tag, flags
      34,   25,   24,   24, 0x09,
      52,   25,   24,   24, 0x09,
      72,   25,   24,   24, 0x09,
     116,   99,   24,   24, 0x09,

 // enums: name, flags, count, data
     141, 0x1,    5,   38,

 // enum data: key, value
     154, uint(KHotKeys::WindowTrigger::NONE),
     159, uint(KHotKeys::WindowTrigger::WINDOW_APPEARS),
     174, uint(KHotKeys::WindowTrigger::WINDOW_DISAPPEARS),
     192, uint(KHotKeys::WindowTrigger::WINDOW_ACTIVATES),
     209, uint(KHotKeys::WindowTrigger::WINDOW_DEACTIVATES),

       0        // eod
};

static const char qt_meta_stringdata_KHotKeys__WindowTrigger[] = {
    "KHotKeys::WindowTrigger\0\0window_P\0"
    "window_added(WId)\0window_removed(WId)\0"
    "active_window_changed(WId)\0window_P,dirty_P\0"
    "window_changed(WId,uint)\0WindowEvents\0"
    "NONE\0WINDOW_APPEARS\0WINDOW_DISAPPEARS\0"
    "WINDOW_ACTIVATES\0WINDOW_DEACTIVATES\0"
};

void KHotKeys::WindowTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        WindowTrigger *_t = static_cast<WindowTrigger *>(_o);
        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 QMetaObjectExtraData KHotKeys::WindowTrigger::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KHotKeys::WindowTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__WindowTrigger,
      qt_meta_data_KHotKeys__WindowTrigger, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KHotKeys::WindowTrigger::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KHotKeys::WindowTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__WindowTrigger))
        return static_cast<void*>(const_cast< WindowTrigger*>(this));
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(const_cast< WindowTrigger*>(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;
    }
    return _id;
}
static const uint qt_meta_data_KHotKeys__GestureTrigger[] = {

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

 // signals: signature, parameters, type, tag, flags
      37,   26,   25,   25, 0x05,

 // slots: signature, parameters, type, tag, flags
      80,   70,   25,   25, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_KHotKeys__GestureTrigger[] = {
    "KHotKeys::GestureTrigger\0\0data,score\0"
    "gotScore(ActionData*const,qreal)\0"
    "gesture_P\0handle_gesture(StrokePoints)\0"
};

void KHotKeys::GestureTrigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        GestureTrigger *_t = static_cast<GestureTrigger *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData KHotKeys::GestureTrigger::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KHotKeys::GestureTrigger::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHotKeys__GestureTrigger,
      qt_meta_data_KHotKeys__GestureTrigger, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KHotKeys::GestureTrigger::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KHotKeys::GestureTrigger::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KHotKeys__GestureTrigger))
        return static_cast<void*>(const_cast< GestureTrigger*>(this));
    if (!strcmp(_clname, "Trigger"))
        return static_cast< Trigger*>(const_cast< GestureTrigger*>(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;
    }
    return _id;
}

// SIGNAL 0
void KHotKeys::GestureTrigger::gotScore(ActionData * const _t1, const qreal _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
