/****************************************************************************
** Meta object code from reading C++ file 'KexiCompleter.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/kexiutils/completer/KexiCompleter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiCompleter.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_KexiCompleter_t {
    QByteArrayData data[29];
    char stringdata0[398];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiCompleter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiCompleter_t qt_meta_stringdata_KexiCompleter = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KexiCompleter"
QT_MOC_LITERAL(1, 14, 9), // "activated"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 4), // "text"
QT_MOC_LITERAL(4, 30, 5), // "index"
QT_MOC_LITERAL(5, 36, 11), // "highlighted"
QT_MOC_LITERAL(6, 48, 19), // "setCompletionPrefix"
QT_MOC_LITERAL(7, 68, 6), // "prefix"
QT_MOC_LITERAL(8, 75, 8), // "complete"
QT_MOC_LITERAL(9, 84, 4), // "rect"
QT_MOC_LITERAL(10, 89, 13), // "setWrapAround"
QT_MOC_LITERAL(11, 103, 4), // "wrap"
QT_MOC_LITERAL(12, 108, 11), // "_q_complete"
QT_MOC_LITERAL(13, 120, 21), // "_q_completionSelected"
QT_MOC_LITERAL(14, 142, 14), // "QItemSelection"
QT_MOC_LITERAL(15, 157, 18), // "_q_autoResizePopup"
QT_MOC_LITERAL(16, 176, 33), // "_q_fileSystemModelDirectoryLo..."
QT_MOC_LITERAL(17, 210, 16), // "completionPrefix"
QT_MOC_LITERAL(18, 227, 12), // "modelSorting"
QT_MOC_LITERAL(19, 240, 12), // "ModelSorting"
QT_MOC_LITERAL(20, 253, 14), // "completionMode"
QT_MOC_LITERAL(21, 268, 14), // "CompletionMode"
QT_MOC_LITERAL(22, 283, 16), // "completionColumn"
QT_MOC_LITERAL(23, 300, 14), // "completionRole"
QT_MOC_LITERAL(24, 315, 15), // "maxVisibleItems"
QT_MOC_LITERAL(25, 331, 15), // "caseSensitivity"
QT_MOC_LITERAL(26, 347, 19), // "Qt::CaseSensitivity"
QT_MOC_LITERAL(27, 367, 19), // "substringCompletion"
QT_MOC_LITERAL(28, 387, 10) // "wrapAround"

    },
    "KexiCompleter\0activated\0\0text\0index\0"
    "highlighted\0setCompletionPrefix\0prefix\0"
    "complete\0rect\0setWrapAround\0wrap\0"
    "_q_complete\0_q_completionSelected\0"
    "QItemSelection\0_q_autoResizePopup\0"
    "_q_fileSystemModelDirectoryLoaded\0"
    "completionPrefix\0modelSorting\0"
    "ModelSorting\0completionMode\0CompletionMode\0"
    "completionColumn\0completionRole\0"
    "maxVisibleItems\0caseSensitivity\0"
    "Qt::CaseSensitivity\0substringCompletion\0"
    "wrapAround"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiCompleter[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       9,  106, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       1,    1,   77,    2, 0x06 /* Public */,
       5,    1,   80,    2, 0x06 /* Public */,
       5,    1,   83,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   86,    2, 0x0a /* Public */,
       8,    1,   89,    2, 0x0a /* Public */,
       8,    0,   92,    2, 0x2a /* Public | MethodCloned */,
      10,    1,   93,    2, 0x0a /* Public */,
      12,    1,   96,    2, 0x08 /* Private */,
      13,    1,   99,    2, 0x08 /* Private */,
      15,    0,  102,    2, 0x08 /* Private */,
      16,    1,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QModelIndex,    4,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QModelIndex,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QRect,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, 0x80000000 | 14,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,

 // properties: name, type, flags
      17, QMetaType::QString, 0x00095103,
      18, 0x80000000 | 19, 0x0009510b,
      20, 0x80000000 | 21, 0x0009510b,
      22, QMetaType::Int, 0x00095103,
      23, QMetaType::Int, 0x00095103,
      24, QMetaType::Int, 0x00095103,
      25, 0x80000000 | 26, 0x0009510b,
      27, QMetaType::Bool, 0x00095103,
      28, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KexiCompleter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiCompleter *_t = static_cast<KexiCompleter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->highlighted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->highlighted((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 4: _t->setCompletionPrefix((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->complete((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 6: _t->complete(); break;
        case 7: _t->setWrapAround((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->_q_complete((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: _t->_q_completionSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 10: _t->_q_autoResizePopup(); break;
        case 11: _t->_q_fileSystemModelDirectoryLoaded((*reinterpret_cast< const QString(*)>(_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 (KexiCompleter::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiCompleter::activated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiCompleter::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiCompleter::activated)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiCompleter::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiCompleter::highlighted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiCompleter::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiCompleter::highlighted)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiCompleter *_t = static_cast<KexiCompleter *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->completionPrefix(); break;
        case 1: *reinterpret_cast< ModelSorting*>(_v) = _t->modelSorting(); break;
        case 2: *reinterpret_cast< CompletionMode*>(_v) = _t->completionMode(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->completionColumn(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->completionRole(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->maxVisibleItems(); break;
        case 6: *reinterpret_cast< Qt::CaseSensitivity*>(_v) = _t->caseSensitivity(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->substringCompletion(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->wrapAround(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiCompleter *_t = static_cast<KexiCompleter *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCompletionPrefix(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setModelSorting(*reinterpret_cast< ModelSorting*>(_v)); break;
        case 2: _t->setCompletionMode(*reinterpret_cast< CompletionMode*>(_v)); break;
        case 3: _t->setCompletionColumn(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setCompletionRole(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setMaxVisibleItems(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setCaseSensitivity(*reinterpret_cast< Qt::CaseSensitivity*>(_v)); break;
        case 7: _t->setSubstringCompletion(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setWrapAround(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiCompleter::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KexiCompleter.data,
      qt_meta_data_KexiCompleter,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiCompleter::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
#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 KexiCompleter::activated(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiCompleter::activated(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KexiCompleter::highlighted(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KexiCompleter::highlighted(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
