/****************************************************************************
** Meta object code from reading C++ file 'poller.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 "../../../../../../kidletime-5.116.0/src/plugins/wayland/poller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'poller.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_Poller_t {
    QByteArrayData data[11];
    char stringdata0[141];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Poller_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Poller_t qt_meta_stringdata_Poller = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Poller"
QT_MOC_LITERAL(1, 7, 10), // "addTimeout"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 11), // "nextTimeout"
QT_MOC_LITERAL(4, 31, 13), // "removeTimeout"
QT_MOC_LITERAL(5, 45, 8), // "timeouts"
QT_MOC_LITERAL(6, 54, 10), // "QList<int>"
QT_MOC_LITERAL(7, 65, 16), // "forcePollRequest"
QT_MOC_LITERAL(8, 82, 14), // "catchIdleEvent"
QT_MOC_LITERAL(9, 97, 22), // "stopCatchingIdleEvents"
QT_MOC_LITERAL(10, 120, 20) // "simulateUserActivity"

    },
    "Poller\0addTimeout\0\0nextTimeout\0"
    "removeTimeout\0timeouts\0QList<int>\0"
    "forcePollRequest\0catchIdleEvent\0"
    "stopCatchingIdleEvents\0simulateUserActivity"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Poller[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x0a /* Public */,
       4,    1,   52,    2, 0x0a /* Public */,
       5,    0,   55,    2, 0x0a /* Public */,
       7,    0,   56,    2, 0x0a /* Public */,
       8,    0,   57,    2, 0x0a /* Public */,
       9,    0,   58,    2, 0x0a /* Public */,
      10,    0,   59,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    0x80000000 | 6,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Poller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Poller *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->addTimeout((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->removeTimeout((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: { QList<int> _r = _t->timeouts();
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->forcePollRequest();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->catchIdleEvent(); break;
        case 5: _t->stopCatchingIdleEvents(); break;
        case 6: _t->simulateUserActivity(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Poller::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractSystemPoller::staticMetaObject>(),
    qt_meta_stringdata_Poller.data,
    qt_meta_data_Poller,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Poller::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Poller.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "org.kde.kidletime.AbstractSystemPoller"))
        return static_cast< AbstractSystemPoller*>(this);
    return AbstractSystemPoller::qt_metacast(_clname);
}

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

QT_PLUGIN_METADATA_SECTION
static constexpr unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x26,  'o',  'r',  'g',  '.',  'k', 
    'd',  'e',  '.',  'k',  'i',  'd',  'l',  'e', 
    't',  'i',  'm',  'e',  '.',  'A',  'b',  's', 
    't',  'r',  'a',  'c',  't',  'S',  'y',  's', 
    't',  'e',  'm',  'P',  'o',  'l',  'l',  'e', 
    'r', 
    // "className"
    0x03,  0x66,  'P',  'o',  'l',  'l',  'e',  'r', 
    // "MetaData"
    0x04,  0xa1,  0x69,  'p',  'l',  'a',  't',  'f', 
    'o',  'r',  'm',  's',  0x82,  0x67,  'w',  'a', 
    'y',  'l',  'a',  'n',  'd',  0x6b,  'w',  'a', 
    'y',  'l',  'a',  'n',  'd',  '-',  'e',  'g', 
    'l', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN(Poller, Poller)

QT_WARNING_POP
QT_END_MOC_NAMESPACE
