/****************************************************************************
** Meta object code from reading C++ file 'ldapconfigwidget.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/kldap-17.12.3/src/ldapconfigwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ldapconfigwidget.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_KLDAP__LdapConfigWidget_t {
    QByteArrayData data[44];
    char stringdata0[343];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KLDAP__LdapConfigWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KLDAP__LdapConfigWidget_t qt_meta_stringdata_KLDAP__LdapConfigWidget = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KLDAP::LdapConfigWidget"
QT_MOC_LITERAL(1, 24, 15), // "hostNameChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 8), // "features"
QT_MOC_LITERAL(4, 50, 8), // "WinFlags"
QT_MOC_LITERAL(5, 59, 4), // "user"
QT_MOC_LITERAL(6, 64, 6), // "bindDn"
QT_MOC_LITERAL(7, 71, 5), // "realm"
QT_MOC_LITERAL(8, 77, 8), // "password"
QT_MOC_LITERAL(9, 86, 4), // "host"
QT_MOC_LITERAL(10, 91, 4), // "port"
QT_MOC_LITERAL(11, 96, 7), // "version"
QT_MOC_LITERAL(12, 104, 2), // "dn"
QT_MOC_LITERAL(13, 107, 6), // "LdapDN"
QT_MOC_LITERAL(14, 114, 6), // "filter"
QT_MOC_LITERAL(15, 121, 4), // "mech"
QT_MOC_LITERAL(16, 126, 8), // "security"
QT_MOC_LITERAL(17, 135, 8), // "Security"
QT_MOC_LITERAL(18, 144, 4), // "auth"
QT_MOC_LITERAL(19, 149, 4), // "Auth"
QT_MOC_LITERAL(20, 154, 9), // "sizeLimit"
QT_MOC_LITERAL(21, 164, 9), // "timeLimit"
QT_MOC_LITERAL(22, 174, 8), // "pageSize"
QT_MOC_LITERAL(23, 183, 6), // "W_USER"
QT_MOC_LITERAL(24, 190, 8), // "W_BINDDN"
QT_MOC_LITERAL(25, 199, 7), // "W_REALM"
QT_MOC_LITERAL(26, 207, 6), // "W_PASS"
QT_MOC_LITERAL(27, 214, 6), // "W_HOST"
QT_MOC_LITERAL(28, 221, 6), // "W_PORT"
QT_MOC_LITERAL(29, 228, 5), // "W_VER"
QT_MOC_LITERAL(30, 234, 4), // "W_DN"
QT_MOC_LITERAL(31, 239, 8), // "W_FILTER"
QT_MOC_LITERAL(32, 248, 8), // "W_SECBOX"
QT_MOC_LITERAL(33, 257, 9), // "W_AUTHBOX"
QT_MOC_LITERAL(34, 267, 11), // "W_TIMELIMIT"
QT_MOC_LITERAL(35, 279, 11), // "W_SIZELIMIT"
QT_MOC_LITERAL(36, 291, 10), // "W_PAGESIZE"
QT_MOC_LITERAL(37, 302, 5), // "W_ALL"
QT_MOC_LITERAL(38, 308, 4), // "None"
QT_MOC_LITERAL(39, 313, 3), // "SSL"
QT_MOC_LITERAL(40, 317, 3), // "TLS"
QT_MOC_LITERAL(41, 321, 9), // "Anonymous"
QT_MOC_LITERAL(42, 331, 6), // "Simple"
QT_MOC_LITERAL(43, 338, 4) // "SASL"

    },
    "KLDAP::LdapConfigWidget\0hostNameChanged\0"
    "\0features\0WinFlags\0user\0bindDn\0realm\0"
    "password\0host\0port\0version\0dn\0LdapDN\0"
    "filter\0mech\0security\0Security\0auth\0"
    "Auth\0sizeLimit\0timeLimit\0pageSize\0"
    "W_USER\0W_BINDDN\0W_REALM\0W_PASS\0W_HOST\0"
    "W_PORT\0W_VER\0W_DN\0W_FILTER\0W_SECBOX\0"
    "W_AUTHBOX\0W_TIMELIMIT\0W_SIZELIMIT\0"
    "W_PAGESIZE\0W_ALL\0None\0SSL\0TLS\0Anonymous\0"
    "Simple\0SASL"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KLDAP__LdapConfigWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
      16,   22, // properties
       3,   70, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       3, 0x80000000 | 4, 0x0009510b,
       5, QMetaType::QString, 0x00095103,
       6, QMetaType::QString, 0x00095103,
       7, QMetaType::QString, 0x00095103,
       8, QMetaType::QString, 0x00095103,
       9, QMetaType::QString, 0x00095103,
      10, QMetaType::Int, 0x00095103,
      11, QMetaType::Int, 0x00095103,
      12, 0x80000000 | 13, 0x0009510b,
      14, QMetaType::QString, 0x00095103,
      15, QMetaType::QString, 0x00095103,
      16, 0x80000000 | 17, 0x0009510b,
      18, 0x80000000 | 19, 0x0009510b,
      20, QMetaType::Int, 0x00095103,
      21, QMetaType::Int, 0x00095103,
      22, QMetaType::Int, 0x00095103,

 // enums: name, flags, count, data
       4, 0x1,   15,   82,
      17, 0x0,    3,  112,
      19, 0x0,    3,  118,

 // enum data: key, value
      23, uint(KLDAP::LdapConfigWidget::W_USER),
      24, uint(KLDAP::LdapConfigWidget::W_BINDDN),
      25, uint(KLDAP::LdapConfigWidget::W_REALM),
      26, uint(KLDAP::LdapConfigWidget::W_PASS),
      27, uint(KLDAP::LdapConfigWidget::W_HOST),
      28, uint(KLDAP::LdapConfigWidget::W_PORT),
      29, uint(KLDAP::LdapConfigWidget::W_VER),
      30, uint(KLDAP::LdapConfigWidget::W_DN),
      31, uint(KLDAP::LdapConfigWidget::W_FILTER),
      32, uint(KLDAP::LdapConfigWidget::W_SECBOX),
      33, uint(KLDAP::LdapConfigWidget::W_AUTHBOX),
      34, uint(KLDAP::LdapConfigWidget::W_TIMELIMIT),
      35, uint(KLDAP::LdapConfigWidget::W_SIZELIMIT),
      36, uint(KLDAP::LdapConfigWidget::W_PAGESIZE),
      37, uint(KLDAP::LdapConfigWidget::W_ALL),
      38, uint(KLDAP::LdapConfigWidget::None),
      39, uint(KLDAP::LdapConfigWidget::SSL),
      40, uint(KLDAP::LdapConfigWidget::TLS),
      41, uint(KLDAP::LdapConfigWidget::Anonymous),
      42, uint(KLDAP::LdapConfigWidget::Simple),
      43, uint(KLDAP::LdapConfigWidget::SASL),

       0        // eod
};

void KLDAP::LdapConfigWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LdapConfigWidget *_t = static_cast<LdapConfigWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->hostNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (LdapConfigWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LdapConfigWidget::hostNameChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        LdapConfigWidget *_t = static_cast<LdapConfigWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->features()); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->user(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->bindDn(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->realm(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->password(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->host(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->port(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->version(); break;
        case 8: *reinterpret_cast< LdapDN*>(_v) = _t->dn(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->filter(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->mech(); break;
        case 11: *reinterpret_cast< Security*>(_v) = _t->security(); break;
        case 12: *reinterpret_cast< Auth*>(_v) = _t->auth(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->sizeLimit(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->timeLimit(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->pageSize(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        LdapConfigWidget *_t = static_cast<LdapConfigWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFeatures(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 1: _t->setUser(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setBindDn(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setRealm(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setPassword(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setHost(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setPort(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setVersion(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setDn(*reinterpret_cast< LdapDN*>(_v)); break;
        case 9: _t->setFilter(*reinterpret_cast< QString*>(_v)); break;
        case 10: _t->setMech(*reinterpret_cast< QString*>(_v)); break;
        case 11: _t->setSecurity(*reinterpret_cast< Security*>(_v)); break;
        case 12: _t->setAuth(*reinterpret_cast< Auth*>(_v)); break;
        case 13: _t->setSizeLimit(*reinterpret_cast< int*>(_v)); break;
        case 14: _t->setTimeLimit(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setPageSize(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KLDAP::LdapConfigWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KLDAP__LdapConfigWidget.data,
      qt_meta_data_KLDAP__LdapConfigWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *KLDAP::LdapConfigWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KLDAP__LdapConfigWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void KLDAP::LdapConfigWidget::hostNameChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
