/****************************************************************************
** Meta object code from reading C++ file 'qquickscrollbar_p.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/qtquickcontrols2-opensource-src-5.9.4/src/quicktemplates2/qquickscrollbar_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickscrollbar_p.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_QQuickScrollBar_t {
    QByteArrayData data[33];
    char stringdata0[366];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickScrollBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickScrollBar_t qt_meta_stringdata_QQuickScrollBar = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QQuickScrollBar"
QT_MOC_LITERAL(1, 16, 11), // "sizeChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 15), // "positionChanged"
QT_MOC_LITERAL(4, 45, 15), // "stepSizeChanged"
QT_MOC_LITERAL(5, 61, 13), // "activeChanged"
QT_MOC_LITERAL(6, 75, 14), // "pressedChanged"
QT_MOC_LITERAL(7, 90, 18), // "orientationChanged"
QT_MOC_LITERAL(8, 109, 15), // "snapModeChanged"
QT_MOC_LITERAL(9, 125, 18), // "interactiveChanged"
QT_MOC_LITERAL(10, 144, 13), // "policyChanged"
QT_MOC_LITERAL(11, 158, 8), // "increase"
QT_MOC_LITERAL(12, 167, 8), // "decrease"
QT_MOC_LITERAL(13, 176, 7), // "setSize"
QT_MOC_LITERAL(14, 184, 4), // "size"
QT_MOC_LITERAL(15, 189, 11), // "setPosition"
QT_MOC_LITERAL(16, 201, 8), // "position"
QT_MOC_LITERAL(17, 210, 8), // "stepSize"
QT_MOC_LITERAL(18, 219, 6), // "active"
QT_MOC_LITERAL(19, 226, 7), // "pressed"
QT_MOC_LITERAL(20, 234, 11), // "orientation"
QT_MOC_LITERAL(21, 246, 15), // "Qt::Orientation"
QT_MOC_LITERAL(22, 262, 8), // "snapMode"
QT_MOC_LITERAL(23, 271, 8), // "SnapMode"
QT_MOC_LITERAL(24, 280, 11), // "interactive"
QT_MOC_LITERAL(25, 292, 6), // "policy"
QT_MOC_LITERAL(26, 299, 6), // "Policy"
QT_MOC_LITERAL(27, 306, 6), // "NoSnap"
QT_MOC_LITERAL(28, 313, 10), // "SnapAlways"
QT_MOC_LITERAL(29, 324, 13), // "SnapOnRelease"
QT_MOC_LITERAL(30, 338, 8), // "AsNeeded"
QT_MOC_LITERAL(31, 347, 9), // "AlwaysOff"
QT_MOC_LITERAL(32, 357, 8) // "AlwaysOn"

    },
    "QQuickScrollBar\0sizeChanged\0\0"
    "positionChanged\0stepSizeChanged\0"
    "activeChanged\0pressedChanged\0"
    "orientationChanged\0snapModeChanged\0"
    "interactiveChanged\0policyChanged\0"
    "increase\0decrease\0setSize\0size\0"
    "setPosition\0position\0stepSize\0active\0"
    "pressed\0orientation\0Qt::Orientation\0"
    "snapMode\0SnapMode\0interactive\0policy\0"
    "Policy\0NoSnap\0SnapAlways\0SnapOnRelease\0"
    "AsNeeded\0AlwaysOff\0AlwaysOn"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickScrollBar[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       9,  109, // properties
       2,  154, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   92,    2, 0x06 /* Public */,
       3,    0,   93,    2, 0x06 /* Public */,
       4,    0,   94,    2, 0x06 /* Public */,
       5,    0,   95,    2, 0x06 /* Public */,
       6,    0,   96,    2, 0x06 /* Public */,
       7,    0,   97,    2, 0x06 /* Public */,
       8,    0,   98,    2, 0x86 /* Public | MethodRevisioned */,
       9,    0,   99,    2, 0x86 /* Public | MethodRevisioned */,
      10,    0,  100,    2, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  101,    2, 0x0a /* Public */,
      12,    0,  102,    2, 0x0a /* Public */,
      13,    1,  103,    2, 0x0a /* Public */,
      15,    1,  106,    2, 0x0a /* Public */,

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

 // slots: revision
       0,
       0,
       0,
       0,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QReal,   14,
    QMetaType::Void, QMetaType::QReal,   16,

 // properties: name, type, flags
      14, QMetaType::QReal, 0x00495903,
      16, QMetaType::QReal, 0x00495903,
      17, QMetaType::QReal, 0x00495903,
      18, QMetaType::Bool, 0x00495903,
      19, QMetaType::Bool, 0x00495903,
      20, 0x80000000 | 21, 0x0049590b,
      22, 0x80000000 | 23, 0x00c9590b,
      24, QMetaType::Bool, 0x00c95907,
      25, 0x80000000 | 26, 0x00c9590b,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       0,
       2,
       2,
       2,

 // enums: name, flags, count, data
      23, 0x0,    3,  162,
      26, 0x0,    3,  168,

 // enum data: key, value
      27, uint(QQuickScrollBar::NoSnap),
      28, uint(QQuickScrollBar::SnapAlways),
      29, uint(QQuickScrollBar::SnapOnRelease),
      30, uint(QQuickScrollBar::AsNeeded),
      31, uint(QQuickScrollBar::AlwaysOff),
      32, uint(QQuickScrollBar::AlwaysOn),

       0        // eod
};

void QQuickScrollBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickScrollBar *_t = static_cast<QQuickScrollBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sizeChanged(); break;
        case 1: _t->positionChanged(); break;
        case 2: _t->stepSizeChanged(); break;
        case 3: _t->activeChanged(); break;
        case 4: _t->pressedChanged(); break;
        case 5: _t->orientationChanged(); break;
        case 6: _t->snapModeChanged(); break;
        case 7: _t->interactiveChanged(); break;
        case 8: _t->policyChanged(); break;
        case 9: _t->increase(); break;
        case 10: _t->decrease(); break;
        case 11: _t->setSize((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 12: _t->setPosition((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::sizeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::positionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::stepSizeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::activeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::pressedChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::orientationChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::snapModeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::interactiveChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (QQuickScrollBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBar::policyChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QQuickScrollBar *_t = static_cast<QQuickScrollBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = _t->size(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->position(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = _t->stepSize(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isPressed(); break;
        case 5: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
        case 6: *reinterpret_cast< SnapMode*>(_v) = _t->snapMode(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isInteractive(); break;
        case 8: *reinterpret_cast< Policy*>(_v) = _t->policy(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QQuickScrollBar *_t = static_cast<QQuickScrollBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSize(*reinterpret_cast< qreal*>(_v)); break;
        case 1: _t->setPosition(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setStepSize(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setPressed(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
        case 6: _t->setSnapMode(*reinterpret_cast< SnapMode*>(_v)); break;
        case 7: _t->setInteractive(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setPolicy(*reinterpret_cast< Policy*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QQuickScrollBar *_t = static_cast<QQuickScrollBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 7: _t->resetInteractive(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QQuickScrollBar::staticMetaObject = {
    { &QQuickControl::staticMetaObject, qt_meta_stringdata_QQuickScrollBar.data,
      qt_meta_data_QQuickScrollBar,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QQuickScrollBar::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

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

// SIGNAL 8
void QQuickScrollBar::policyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
struct qt_meta_stringdata_QQuickScrollBarAttached_t {
    QByteArrayData data[7];
    char stringdata0[96];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickScrollBarAttached_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickScrollBarAttached_t qt_meta_stringdata_QQuickScrollBarAttached = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QQuickScrollBarAttached"
QT_MOC_LITERAL(1, 24, 17), // "horizontalChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 15), // "verticalChanged"
QT_MOC_LITERAL(4, 59, 10), // "horizontal"
QT_MOC_LITERAL(5, 70, 16), // "QQuickScrollBar*"
QT_MOC_LITERAL(6, 87, 8) // "vertical"

    },
    "QQuickScrollBarAttached\0horizontalChanged\0"
    "\0verticalChanged\0horizontal\0"
    "QQuickScrollBar*\0vertical"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickScrollBarAttached[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       4, 0x80000000 | 5, 0x0049590b,
       6, 0x80000000 | 5, 0x0049590b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void QQuickScrollBarAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickScrollBarAttached *_t = static_cast<QQuickScrollBarAttached *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->horizontalChanged(); break;
        case 1: _t->verticalChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QQuickScrollBarAttached::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBarAttached::horizontalChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QQuickScrollBarAttached::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScrollBarAttached::verticalChanged)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickScrollBar* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QQuickScrollBarAttached *_t = static_cast<QQuickScrollBarAttached *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickScrollBar**>(_v) = _t->horizontal(); break;
        case 1: *reinterpret_cast< QQuickScrollBar**>(_v) = _t->vertical(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QQuickScrollBarAttached *_t = static_cast<QQuickScrollBarAttached *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setHorizontal(*reinterpret_cast< QQuickScrollBar**>(_v)); break;
        case 1: _t->setVertical(*reinterpret_cast< QQuickScrollBar**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QQuickScrollBarAttached::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScrollBarAttached.data,
      qt_meta_data_QQuickScrollBarAttached,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QQuickScrollBarAttached::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QQuickScrollBarAttached::verticalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
