/****************************************************************************
** Meta object code from reading C++ file 'kexislider.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/kexi-3.0.1/src/widget/kexislider.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexislider.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_KexiSlider_t {
    QByteArrayData data[19];
    char stringdata0[209];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiSlider_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiSlider_t qt_meta_stringdata_KexiSlider = {
    {
QT_MOC_LITERAL(0, 0, 10), // "KexiSlider"
QT_MOC_LITERAL(1, 11, 12), // "valueChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 13), // "sliderPressed"
QT_MOC_LITERAL(4, 39, 14), // "sliderReleased"
QT_MOC_LITERAL(5, 54, 8), // "setValue"
QT_MOC_LITERAL(6, 63, 5), // "value"
QT_MOC_LITERAL(7, 69, 14), // "setOrientation"
QT_MOC_LITERAL(8, 84, 15), // "Qt::Orientation"
QT_MOC_LITERAL(9, 100, 1), // "o"
QT_MOC_LITERAL(10, 102, 7), // "minimum"
QT_MOC_LITERAL(11, 110, 7), // "maximum"
QT_MOC_LITERAL(12, 118, 11), // "orientation"
QT_MOC_LITERAL(13, 130, 12), // "tickInterval"
QT_MOC_LITERAL(14, 143, 12), // "tickPosition"
QT_MOC_LITERAL(15, 156, 21), // "QSlider::TickPosition"
QT_MOC_LITERAL(16, 178, 10), // "singleStep"
QT_MOC_LITERAL(17, 189, 8), // "pageStep"
QT_MOC_LITERAL(18, 198, 10) // "showEditor"

    },
    "KexiSlider\0valueChanged\0\0sliderPressed\0"
    "sliderReleased\0setValue\0value\0"
    "setOrientation\0Qt::Orientation\0o\0"
    "minimum\0maximum\0orientation\0tickInterval\0"
    "tickPosition\0QSlider::TickPosition\0"
    "singleStep\0pageStep\0showEditor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiSlider[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   14, // methods
       9,   50, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       3,    0,   42,    2, 0x06 /* Public */,
       4,    0,   43,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   44,    2, 0x0a /* Public */,
       7,    1,   47,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,

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

 // properties: name, type, flags
       6, QMetaType::Int, 0x00095103,
      10, QMetaType::Int, 0x00095103,
      11, QMetaType::Int, 0x00095103,
      12, 0x80000000 | 8, 0x0009510b,
      13, QMetaType::Int, 0x00095103,
      14, 0x80000000 | 15, 0x0009510b,
      16, QMetaType::Int, 0x00095103,
      17, QMetaType::Int, 0x00095103,
      18, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KexiSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiSlider *_t = static_cast<KexiSlider *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->sliderPressed(); break;
        case 2: _t->sliderReleased(); break;
        case 3: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setOrientation((*reinterpret_cast< Qt::Orientation(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiSlider::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiSlider::valueChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiSlider::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiSlider::sliderPressed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiSlider::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiSlider::sliderReleased)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiSlider *_t = static_cast<KexiSlider *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->value(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->minimum(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->maximum(); break;
        case 3: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->tickInterval(); break;
        case 5: *reinterpret_cast< QSlider::TickPosition*>(_v) = _t->tickPosition(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->singleStep(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->pageStep(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->showEditor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiSlider *_t = static_cast<KexiSlider *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setValue(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setMinimum(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setMaximum(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
        case 4: _t->setTickInterval(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setTickPosition(*reinterpret_cast< QSlider::TickPosition*>(_v)); break;
        case 6: _t->setSingleStep(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setPageStep(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setShowEditor(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject * const qt_meta_extradata_KexiSlider[] = {
        &QSlider::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject KexiSlider::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiSlider.data,
      qt_meta_data_KexiSlider,  qt_static_metacall, qt_meta_extradata_KexiSlider, Q_NULLPTR}
};


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

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

int KexiSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#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 KexiSlider::valueChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiSlider::sliderPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KexiSlider::sliderReleased()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
