/****************************************************************************
** Meta object code from reading C++ file 'ldapconfigwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/kldap-17.08.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.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KLDAP__LdapConfigWidget_t {
    QByteArrayData data[55];
    char stringdata0[488];
};
#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, 11), // "setLDAPPort"
QT_MOC_LITERAL(4, 53, 12), // "setLDAPSPort"
QT_MOC_LITERAL(5, 66, 12), // "setAnonymous"
QT_MOC_LITERAL(6, 79, 9), // "setSimple"
QT_MOC_LITERAL(7, 89, 7), // "setSASL"
QT_MOC_LITERAL(8, 97, 14), // "queryDNClicked"
QT_MOC_LITERAL(9, 112, 16), // "queryMechClicked"
QT_MOC_LITERAL(10, 129, 8), // "loadData"
QT_MOC_LITERAL(11, 138, 18), // "KLDAP::LdapSearch*"
QT_MOC_LITERAL(12, 157, 17), // "KLDAP::LdapObject"
QT_MOC_LITERAL(13, 175, 10), // "loadResult"
QT_MOC_LITERAL(14, 186, 8), // "features"
QT_MOC_LITERAL(15, 195, 8), // "WinFlags"
QT_MOC_LITERAL(16, 204, 4), // "user"
QT_MOC_LITERAL(17, 209, 6), // "bindDn"
QT_MOC_LITERAL(18, 216, 5), // "realm"
QT_MOC_LITERAL(19, 222, 8), // "password"
QT_MOC_LITERAL(20, 231, 4), // "host"
QT_MOC_LITERAL(21, 236, 4), // "port"
QT_MOC_LITERAL(22, 241, 7), // "version"
QT_MOC_LITERAL(23, 249, 2), // "dn"
QT_MOC_LITERAL(24, 252, 6), // "LdapDN"
QT_MOC_LITERAL(25, 259, 6), // "filter"
QT_MOC_LITERAL(26, 266, 4), // "mech"
QT_MOC_LITERAL(27, 271, 8), // "security"
QT_MOC_LITERAL(28, 280, 8), // "Security"
QT_MOC_LITERAL(29, 289, 4), // "auth"
QT_MOC_LITERAL(30, 294, 4), // "Auth"
QT_MOC_LITERAL(31, 299, 9), // "sizeLimit"
QT_MOC_LITERAL(32, 309, 9), // "timeLimit"
QT_MOC_LITERAL(33, 319, 8), // "pageSize"
QT_MOC_LITERAL(34, 328, 6), // "W_USER"
QT_MOC_LITERAL(35, 335, 8), // "W_BINDDN"
QT_MOC_LITERAL(36, 344, 7), // "W_REALM"
QT_MOC_LITERAL(37, 352, 6), // "W_PASS"
QT_MOC_LITERAL(38, 359, 6), // "W_HOST"
QT_MOC_LITERAL(39, 366, 6), // "W_PORT"
QT_MOC_LITERAL(40, 373, 5), // "W_VER"
QT_MOC_LITERAL(41, 379, 4), // "W_DN"
QT_MOC_LITERAL(42, 384, 8), // "W_FILTER"
QT_MOC_LITERAL(43, 393, 8), // "W_SECBOX"
QT_MOC_LITERAL(44, 402, 9), // "W_AUTHBOX"
QT_MOC_LITERAL(45, 412, 11), // "W_TIMELIMIT"
QT_MOC_LITERAL(46, 424, 11), // "W_SIZELIMIT"
QT_MOC_LITERAL(47, 436, 10), // "W_PAGESIZE"
QT_MOC_LITERAL(48, 447, 5), // "W_ALL"
QT_MOC_LITERAL(49, 453, 4), // "None"
QT_MOC_LITERAL(50, 458, 3), // "SSL"
QT_MOC_LITERAL(51, 462, 3), // "TLS"
QT_MOC_LITERAL(52, 466, 9), // "Anonymous"
QT_MOC_LITERAL(53, 476, 6), // "Simple"
QT_MOC_LITERAL(54, 483, 4) // "SASL"

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

static const uint qt_meta_data_KLDAP__LdapConfigWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   67,    2, 0x08 /* Private */,
       4,    0,   68,    2, 0x08 /* Private */,
       5,    1,   69,    2, 0x08 /* Private */,
       6,    1,   72,    2, 0x08 /* Private */,
       7,    1,   75,    2, 0x08 /* Private */,
       8,    0,   78,    2, 0x08 /* Private */,
       9,    0,   79,    2, 0x08 /* Private */,
      10,    2,   80,    2, 0x08 /* Private */,
      13,    1,   85,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 12,    2,    2,
    QMetaType::Void, 0x80000000 | 11,    2,

 // properties: name, type, flags
      14, 0x80000000 | 15, 0x0009510b,
      16, QMetaType::QString, 0x00095103,
      17, QMetaType::QString, 0x00095103,
      18, QMetaType::QString, 0x00095103,
      19, QMetaType::QString, 0x00095103,
      20, QMetaType::QString, 0x00095103,
      21, QMetaType::Int, 0x00095103,
      22, QMetaType::Int, 0x00095103,
      23, 0x80000000 | 24, 0x0009510b,
      25, QMetaType::QString, 0x00095103,
      26, QMetaType::QString, 0x00095103,
      27, 0x80000000 | 28, 0x0009510b,
      29, 0x80000000 | 30, 0x0009510b,
      31, QMetaType::Int, 0x00095103,
      32, QMetaType::Int, 0x00095103,
      33, QMetaType::Int, 0x00095103,

 // enums: name, flags, count, data
      15, 0x1,   15,  148,
      28, 0x0,    3,  178,
      30, 0x0,    3,  184,

 // enum data: key, value
      34, uint(KLDAP::LdapConfigWidget::W_USER),
      35, uint(KLDAP::LdapConfigWidget::W_BINDDN),
      36, uint(KLDAP::LdapConfigWidget::W_REALM),
      37, uint(KLDAP::LdapConfigWidget::W_PASS),
      38, uint(KLDAP::LdapConfigWidget::W_HOST),
      39, uint(KLDAP::LdapConfigWidget::W_PORT),
      40, uint(KLDAP::LdapConfigWidget::W_VER),
      41, uint(KLDAP::LdapConfigWidget::W_DN),
      42, uint(KLDAP::LdapConfigWidget::W_FILTER),
      43, uint(KLDAP::LdapConfigWidget::W_SECBOX),
      44, uint(KLDAP::LdapConfigWidget::W_AUTHBOX),
      45, uint(KLDAP::LdapConfigWidget::W_TIMELIMIT),
      46, uint(KLDAP::LdapConfigWidget::W_SIZELIMIT),
      47, uint(KLDAP::LdapConfigWidget::W_PAGESIZE),
      48, uint(KLDAP::LdapConfigWidget::W_ALL),
      49, uint(KLDAP::LdapConfigWidget::None),
      50, uint(KLDAP::LdapConfigWidget::SSL),
      51, uint(KLDAP::LdapConfigWidget::TLS),
      52, uint(KLDAP::LdapConfigWidget::Anonymous),
      53, uint(KLDAP::LdapConfigWidget::Simple),
      54, 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;
        case 1: _t->d->setLDAPPort(); break;
        case 2: _t->d->setLDAPSPort(); break;
        case 3: _t->d->setAnonymous((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->d->setSimple((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->d->setSASL((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->d->queryDNClicked(); break;
        case 7: _t->d->queryMechClicked(); break;
        case 8: _t->d->loadData((*reinterpret_cast< KLDAP::LdapSearch*(*)>(_a[1])),(*reinterpret_cast< const KLDAP::LdapObject(*)>(_a[2]))); break;
        case 9: _t->d->loadResult((*reinterpret_cast< KLDAP::LdapSearch*(*)>(_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 (LdapConfigWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == 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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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
