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

#include "../../src/focuswriter-1.6.7/src/timer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'timer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_Timer_t {
    QByteArrayData data[19];
    char stringdata0[184];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Timer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Timer_t qt_meta_stringdata_Timer = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Timer"
QT_MOC_LITERAL(1, 6, 7), // "changed"
QT_MOC_LITERAL(2, 14, 0), // ""
QT_MOC_LITERAL(3, 15, 6), // "Timer*"
QT_MOC_LITERAL(4, 22, 5), // "timer"
QT_MOC_LITERAL(5, 28, 6), // "edited"
QT_MOC_LITERAL(6, 35, 12), // "delayChanged"
QT_MOC_LITERAL(7, 48, 5), // "delay"
QT_MOC_LITERAL(8, 54, 10), // "endChanged"
QT_MOC_LITERAL(9, 65, 3), // "end"
QT_MOC_LITERAL(10, 69, 12), // "editAccepted"
QT_MOC_LITERAL(11, 82, 12), // "editRejected"
QT_MOC_LITERAL(12, 95, 11), // "editClicked"
QT_MOC_LITERAL(13, 107, 13), // "removeClicked"
QT_MOC_LITERAL(14, 121, 13), // "timerFinished"
QT_MOC_LITERAL(15, 135, 13), // "documentAdded"
QT_MOC_LITERAL(16, 149, 9), // "Document*"
QT_MOC_LITERAL(17, 159, 8), // "document"
QT_MOC_LITERAL(18, 168, 15) // "documentRemoved"

    },
    "Timer\0changed\0\0Timer*\0timer\0edited\0"
    "delayChanged\0delay\0endChanged\0end\0"
    "editAccepted\0editRejected\0editClicked\0"
    "removeClicked\0timerFinished\0documentAdded\0"
    "Document*\0document\0documentRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Timer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   75,    2, 0x08 /* Private */,
       8,    1,   78,    2, 0x08 /* Private */,
      10,    0,   81,    2, 0x08 /* Private */,
      11,    0,   82,    2, 0x08 /* Private */,
      12,    0,   83,    2, 0x08 /* Private */,
      13,    0,   84,    2, 0x08 /* Private */,
      14,    0,   85,    2, 0x08 /* Private */,
      15,    1,   86,    2, 0x08 /* Private */,
      18,    1,   89,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QTime,    7,
    QMetaType::Void, QMetaType::QTime,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 16,   17,

       0        // eod
};

void Timer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Timer *_t = static_cast<Timer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast< Timer*(*)>(_a[1]))); break;
        case 1: _t->edited((*reinterpret_cast< Timer*(*)>(_a[1]))); break;
        case 2: _t->delayChanged((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 3: _t->endChanged((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 4: _t->editAccepted(); break;
        case 5: _t->editRejected(); break;
        case 6: _t->editClicked(); break;
        case 7: _t->removeClicked(); break;
        case 8: _t->timerFinished(); break;
        case 9: _t->documentAdded((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        case 10: _t->documentRemoved((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Timer* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Timer* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Timer::*_t)(Timer * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Timer::changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Timer::*_t)(Timer * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Timer::edited)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Timer::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_Timer.data,
      qt_meta_data_Timer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Timer::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Timer.stringdata0))
        return static_cast<void*>(const_cast< Timer*>(this));
    return QFrame::qt_metacast(_clname);
}

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

// SIGNAL 0
void Timer::changed(Timer * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Timer::edited(Timer * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
