/****************************************************************************
** Meta object code from reading C++ file 'scheduleeditor.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/ktorrent-5.1.0/plugins/bwscheduler/scheduleeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scheduleeditor.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_kt__ScheduleEditor_t {
    QByteArrayData data[22];
    char stringdata0[193];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__ScheduleEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__ScheduleEditor_t qt_meta_stringdata_kt__ScheduleEditor = {
    {
QT_MOC_LITERAL(0, 0, 18), // "kt::ScheduleEditor"
QT_MOC_LITERAL(1, 19, 6), // "loaded"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 9), // "Schedule*"
QT_MOC_LITERAL(4, 37, 2), // "ns"
QT_MOC_LITERAL(5, 40, 15), // "scheduleChanged"
QT_MOC_LITERAL(6, 56, 5), // "clear"
QT_MOC_LITERAL(7, 62, 4), // "save"
QT_MOC_LITERAL(8, 67, 4), // "load"
QT_MOC_LITERAL(9, 72, 7), // "addItem"
QT_MOC_LITERAL(10, 80, 10), // "removeItem"
QT_MOC_LITERAL(11, 91, 8), // "editItem"
QT_MOC_LITERAL(12, 100, 18), // "onSelectionChanged"
QT_MOC_LITERAL(13, 119, 13), // "ScheduleItem*"
QT_MOC_LITERAL(14, 133, 4), // "item"
QT_MOC_LITERAL(15, 138, 9), // "itemMoved"
QT_MOC_LITERAL(16, 148, 5), // "start"
QT_MOC_LITERAL(17, 154, 3), // "end"
QT_MOC_LITERAL(18, 158, 9), // "start_day"
QT_MOC_LITERAL(19, 168, 7), // "end_day"
QT_MOC_LITERAL(20, 176, 13), // "enableChecked"
QT_MOC_LITERAL(21, 190, 2) // "on"

    },
    "kt::ScheduleEditor\0loaded\0\0Schedule*\0"
    "ns\0scheduleChanged\0clear\0save\0load\0"
    "addItem\0removeItem\0editItem\0"
    "onSelectionChanged\0ScheduleItem*\0item\0"
    "itemMoved\0start\0end\0start_day\0end_day\0"
    "enableChecked\0on"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__ScheduleEditor[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   78,    2, 0x08 /* Private */,
       7,    0,   79,    2, 0x08 /* Private */,
       8,    0,   80,    2, 0x08 /* Private */,
       9,    0,   81,    2, 0x08 /* Private */,
      10,    0,   82,    2, 0x08 /* Private */,
      11,    0,   83,    2, 0x08 /* Private */,
      12,    0,   84,    2, 0x08 /* Private */,
      11,    1,   85,    2, 0x08 /* Private */,
      15,    5,   88,    2, 0x08 /* Private */,
      20,    1,   99,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QTime, QMetaType::QTime, QMetaType::Int, QMetaType::Int,   14,   16,   17,   18,   19,
    QMetaType::Void, QMetaType::Bool,   21,

       0        // eod
};

void kt::ScheduleEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleEditor *_t = static_cast<ScheduleEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->loaded((*reinterpret_cast< Schedule*(*)>(_a[1]))); break;
        case 1: _t->scheduleChanged(); break;
        case 2: _t->clear(); break;
        case 3: _t->save(); break;
        case 4: _t->load(); break;
        case 5: _t->addItem(); break;
        case 6: _t->removeItem(); break;
        case 7: _t->editItem(); break;
        case 8: _t->onSelectionChanged(); break;
        case 9: _t->editItem((*reinterpret_cast< ScheduleItem*(*)>(_a[1]))); break;
        case 10: _t->itemMoved((*reinterpret_cast< ScheduleItem*(*)>(_a[1])),(*reinterpret_cast< const QTime(*)>(_a[2])),(*reinterpret_cast< const QTime(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 11: _t->enableChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ScheduleEditor::*_t)(Schedule * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::loaded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::scheduleChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject kt::ScheduleEditor::staticMetaObject = {
    { &Activity::staticMetaObject, qt_meta_stringdata_kt__ScheduleEditor.data,
      qt_meta_data_kt__ScheduleEditor,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::ScheduleEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__ScheduleEditor.stringdata0))
        return static_cast<void*>(this);
    return Activity::qt_metacast(_clname);
}

int kt::ScheduleEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Activity::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void kt::ScheduleEditor::loaded(Schedule * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void kt::ScheduleEditor::scheduleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
