/****************************************************************************
** Meta object code from reading C++ file 'kexirecordnavigator.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/utils/kexirecordnavigator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexirecordnavigator.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_KexiRecordNavigator_t {
    QByteArrayData data[35];
    char stringdata0[563];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiRecordNavigator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiRecordNavigator_t qt_meta_stringdata_KexiRecordNavigator = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KexiRecordNavigator"
QT_MOC_LITERAL(1, 20, 17), // "prevButtonClicked"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 17), // "nextButtonClicked"
QT_MOC_LITERAL(4, 57, 17), // "lastButtonClicked"
QT_MOC_LITERAL(5, 75, 18), // "firstButtonClicked"
QT_MOC_LITERAL(6, 94, 16), // "newButtonClicked"
QT_MOC_LITERAL(7, 111, 19), // "recordNumberEntered"
QT_MOC_LITERAL(8, 131, 1), // "r"
QT_MOC_LITERAL(9, 133, 19), // "setInsertingEnabled"
QT_MOC_LITERAL(10, 153, 3), // "set"
QT_MOC_LITERAL(11, 157, 25), // "setInsertingButtonVisible"
QT_MOC_LITERAL(12, 183, 26), // "setEditingIndicatorEnabled"
QT_MOC_LITERAL(13, 210, 20), // "showEditingIndicator"
QT_MOC_LITERAL(14, 231, 4), // "show"
QT_MOC_LITERAL(15, 236, 10), // "setEnabled"
QT_MOC_LITERAL(16, 247, 22), // "setCurrentRecordNumber"
QT_MOC_LITERAL(17, 270, 14), // "setRecordCount"
QT_MOC_LITERAL(18, 285, 5), // "count"
QT_MOC_LITERAL(19, 291, 12), // "setLabelText"
QT_MOC_LITERAL(20, 304, 4), // "text"
QT_MOC_LITERAL(21, 309, 20), // "setButtonToolTipText"
QT_MOC_LITERAL(22, 330, 27), // "KexiRecordNavigator::Button"
QT_MOC_LITERAL(23, 358, 3), // "btn"
QT_MOC_LITERAL(24, 362, 7), // "tooltip"
QT_MOC_LITERAL(25, 370, 22), // "setButtonWhatsThisText"
QT_MOC_LITERAL(26, 393, 9), // "whatsThis"
QT_MOC_LITERAL(27, 403, 22), // "setNumberFieldToolTips"
QT_MOC_LITERAL(28, 426, 13), // "numberTooltip"
QT_MOC_LITERAL(29, 440, 12), // "countTooltip"
QT_MOC_LITERAL(30, 453, 21), // "slotPrevButtonClicked"
QT_MOC_LITERAL(31, 475, 21), // "slotNextButtonClicked"
QT_MOC_LITERAL(32, 497, 21), // "slotLastButtonClicked"
QT_MOC_LITERAL(33, 519, 22), // "slotFirstButtonClicked"
QT_MOC_LITERAL(34, 542, 20) // "slotNewButtonClicked"

    },
    "KexiRecordNavigator\0prevButtonClicked\0"
    "\0nextButtonClicked\0lastButtonClicked\0"
    "firstButtonClicked\0newButtonClicked\0"
    "recordNumberEntered\0r\0setInsertingEnabled\0"
    "set\0setInsertingButtonVisible\0"
    "setEditingIndicatorEnabled\0"
    "showEditingIndicator\0show\0setEnabled\0"
    "setCurrentRecordNumber\0setRecordCount\0"
    "count\0setLabelText\0text\0setButtonToolTipText\0"
    "KexiRecordNavigator::Button\0btn\0tooltip\0"
    "setButtonWhatsThisText\0whatsThis\0"
    "setNumberFieldToolTips\0numberTooltip\0"
    "countTooltip\0slotPrevButtonClicked\0"
    "slotNextButtonClicked\0slotLastButtonClicked\0"
    "slotFirstButtonClicked\0slotNewButtonClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiRecordNavigator[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x06 /* Public */,
       3,    0,  125,    2, 0x06 /* Public */,
       4,    0,  126,    2, 0x06 /* Public */,
       5,    0,  127,    2, 0x06 /* Public */,
       6,    0,  128,    2, 0x06 /* Public */,
       7,    1,  129,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  132,    2, 0x0a /* Public */,
      11,    1,  135,    2, 0x0a /* Public */,
      12,    1,  138,    2, 0x0a /* Public */,
      13,    1,  141,    2, 0x0a /* Public */,
      15,    1,  144,    2, 0x0a /* Public */,
      16,    1,  147,    2, 0x0a /* Public */,
      17,    1,  150,    2, 0x0a /* Public */,
      19,    1,  153,    2, 0x0a /* Public */,
      21,    2,  156,    2, 0x0a /* Public */,
      25,    2,  161,    2, 0x0a /* Public */,
      27,    2,  166,    2, 0x0a /* Public */,
      30,    0,  171,    2, 0x09 /* Protected */,
      31,    0,  172,    2, 0x09 /* Protected */,
      32,    0,  173,    2, 0x09 /* Protected */,
      33,    0,  174,    2, 0x09 /* Protected */,
      34,    0,  175,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void, 0x80000000 | 22, QMetaType::QString,   23,   24,
    QMetaType::Void, 0x80000000 | 22, QMetaType::QString,   23,   26,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   28,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KexiRecordNavigator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiRecordNavigator *_t = static_cast<KexiRecordNavigator *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->prevButtonClicked(); break;
        case 1: _t->nextButtonClicked(); break;
        case 2: _t->lastButtonClicked(); break;
        case 3: _t->firstButtonClicked(); break;
        case 4: _t->newButtonClicked(); break;
        case 5: _t->recordNumberEntered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setInsertingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setInsertingButtonVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setEditingIndicatorEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->showEditingIndicator((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->setCurrentRecordNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setRecordCount((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setLabelText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->setButtonToolTipText((*reinterpret_cast< KexiRecordNavigator::Button(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->setButtonWhatsThisText((*reinterpret_cast< KexiRecordNavigator::Button(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 16: _t->setNumberFieldToolTips((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 17: _t->slotPrevButtonClicked(); break;
        case 18: _t->slotNextButtonClicked(); break;
        case 19: _t->slotLastButtonClicked(); break;
        case 20: _t->slotFirstButtonClicked(); break;
        case 21: _t->slotNewButtonClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiRecordNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::prevButtonClicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiRecordNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::nextButtonClicked)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiRecordNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::lastButtonClicked)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiRecordNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::firstButtonClicked)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KexiRecordNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::newButtonClicked)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KexiRecordNavigator::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiRecordNavigator::recordNumberEntered)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject KexiRecordNavigator::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiRecordNavigator.data,
      qt_meta_data_KexiRecordNavigator,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiRecordNavigator::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void KexiRecordNavigator::prevButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 2
void KexiRecordNavigator::lastButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KexiRecordNavigator::firstButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void KexiRecordNavigator::newButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void KexiRecordNavigator::recordNumberEntered(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
