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

#include "../../../../src/qtquickcontrols2-opensource-src-5.9.3/src/quicktemplates2/qquickabstractbutton_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickabstractbutton_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_QQuickAbstractButton_t {
    QByteArrayData data[24];
    char stringdata0[271];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickAbstractButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickAbstractButton_t qt_meta_stringdata_QQuickAbstractButton = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QQuickAbstractButton"
QT_MOC_LITERAL(1, 21, 7), // "pressed"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 8), // "released"
QT_MOC_LITERAL(4, 39, 8), // "canceled"
QT_MOC_LITERAL(5, 48, 7), // "clicked"
QT_MOC_LITERAL(6, 56, 12), // "pressAndHold"
QT_MOC_LITERAL(7, 69, 13), // "doubleClicked"
QT_MOC_LITERAL(8, 83, 11), // "textChanged"
QT_MOC_LITERAL(9, 95, 11), // "downChanged"
QT_MOC_LITERAL(10, 107, 14), // "pressedChanged"
QT_MOC_LITERAL(11, 122, 14), // "checkedChanged"
QT_MOC_LITERAL(12, 137, 16), // "checkableChanged"
QT_MOC_LITERAL(13, 154, 20), // "autoExclusiveChanged"
QT_MOC_LITERAL(14, 175, 16), // "indicatorChanged"
QT_MOC_LITERAL(15, 192, 7), // "toggled"
QT_MOC_LITERAL(16, 200, 6), // "toggle"
QT_MOC_LITERAL(17, 207, 4), // "text"
QT_MOC_LITERAL(18, 212, 4), // "down"
QT_MOC_LITERAL(19, 217, 7), // "checked"
QT_MOC_LITERAL(20, 225, 9), // "checkable"
QT_MOC_LITERAL(21, 235, 13), // "autoExclusive"
QT_MOC_LITERAL(22, 249, 9), // "indicator"
QT_MOC_LITERAL(23, 259, 11) // "QQuickItem*"

    },
    "QQuickAbstractButton\0pressed\0\0released\0"
    "canceled\0clicked\0pressAndHold\0"
    "doubleClicked\0textChanged\0downChanged\0"
    "pressedChanged\0checkedChanged\0"
    "checkableChanged\0autoExclusiveChanged\0"
    "indicatorChanged\0toggled\0toggle\0text\0"
    "down\0checked\0checkable\0autoExclusive\0"
    "indicator\0QQuickItem*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickAbstractButton[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    0,  106,    2, 0x06 /* Public */,
       5,    0,  107,    2, 0x06 /* Public */,
       6,    0,  108,    2, 0x06 /* Public */,
       7,    0,  109,    2, 0x06 /* Public */,
       8,    0,  110,    2, 0x06 /* Public */,
       9,    0,  111,    2, 0x06 /* Public */,
      10,    0,  112,    2, 0x06 /* Public */,
      11,    0,  113,    2, 0x06 /* Public */,
      12,    0,  114,    2, 0x06 /* Public */,
      13,    0,  115,    2, 0x06 /* Public */,
      14,    0,  116,    2, 0x06 /* Public */,
      15,    0,  117,    2, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  118,    2, 0x0a /* Public */,

 // signals: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       2,

 // slots: revision
       0,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
      17, QMetaType::QString, 0x00495903,
      18, QMetaType::Bool, 0x00495907,
       1, QMetaType::Bool, 0x00495801,
      19, QMetaType::Bool, 0x00495903,
      20, QMetaType::Bool, 0x00495903,
      21, QMetaType::Bool, 0x00495903,
      22, 0x80000000 | 23, 0x0049590b,

 // properties: notify_signal_id
       6,
       7,
       8,
       9,
      10,
      11,
      12,

       0        // eod
};

void QQuickAbstractButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickAbstractButton *_t = static_cast<QQuickAbstractButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pressed(); break;
        case 1: _t->released(); break;
        case 2: _t->canceled(); break;
        case 3: _t->clicked(); break;
        case 4: _t->pressAndHold(); break;
        case 5: _t->doubleClicked(); break;
        case 6: _t->textChanged(); break;
        case 7: _t->downChanged(); break;
        case 8: _t->pressedChanged(); break;
        case 9: _t->checkedChanged(); break;
        case 10: _t->checkableChanged(); break;
        case 11: _t->autoExclusiveChanged(); break;
        case 12: _t->indicatorChanged(); break;
        case 13: _t->toggled(); break;
        case 14: _t->toggle(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::pressed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::released)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::canceled)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::clicked)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::pressAndHold)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::doubleClicked)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::textChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::downChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::pressedChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::checkedChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::checkableChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::autoExclusiveChanged)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::indicatorChanged)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (QQuickAbstractButton::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAbstractButton::toggled)) {
                *result = 13;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QQuickAbstractButton *_t = static_cast<QQuickAbstractButton *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isDown(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isPressed(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isChecked(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isCheckable(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->autoExclusive(); break;
        case 6: *reinterpret_cast< QQuickItem**>(_v) = _t->indicator(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QQuickAbstractButton *_t = static_cast<QQuickAbstractButton *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setDown(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setChecked(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setCheckable(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setAutoExclusive(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setIndicator(*reinterpret_cast< QQuickItem**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QQuickAbstractButton *_t = static_cast<QQuickAbstractButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 1: _t->resetDown(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QQuickAbstractButton::staticMetaObject = {
    { &QQuickControl::staticMetaObject, qt_meta_stringdata_QQuickAbstractButton.data,
      qt_meta_data_QQuickAbstractButton,  qt_static_metacall, nullptr, nullptr}
};


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

void *QQuickAbstractButton::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickAbstractButton.stringdata0))
        return static_cast<void*>(this);
    return QQuickControl::qt_metacast(_clname);
}

int QQuickAbstractButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickControl::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickAbstractButton::pressed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QQuickAbstractButton::released()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QQuickAbstractButton::canceled()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QQuickAbstractButton::clicked()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QQuickAbstractButton::pressAndHold()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QQuickAbstractButton::doubleClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QQuickAbstractButton::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QQuickAbstractButton::downChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QQuickAbstractButton::pressedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QQuickAbstractButton::checkedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QQuickAbstractButton::checkableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QQuickAbstractButton::autoExclusiveChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void QQuickAbstractButton::indicatorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void QQuickAbstractButton::toggled()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
