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

#include "../../../../kldap/ldapconfigwidget.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ldapconfigwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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
static const uint qt_meta_data_KLDAP__LdapConfigWidget[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
      16,   64, // properties
       3,  112, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      25,   24,   24,   24, 0x05,

 // slots: signature, parameters, type, tag, flags
      50,   24,   24,   24, 0x08,
      64,   24,   24,   24, 0x08,
      79,   24,   24,   24, 0x08,
      98,   24,   24,   24, 0x08,
     114,   24,   24,   24, 0x08,
     128,   24,   24,   24, 0x08,
     145,   24,   24,   24, 0x08,
     166,  164,   24,   24, 0x08,
     213,   24,   24,   24, 0x08,

 // properties: name, type, flags
     253,  244, 0x0009510b,
     270,  262, 0x0a095103,
     275,  262, 0x0a095103,
     282,  262, 0x0a095103,
     288,  262, 0x0a095103,
     297,  262, 0x0a095103,
     306,  302, 0x02095103,
     311,  302, 0x02095103,
     326,  319, 0x0009510b,
     329,  262, 0x0a095103,
     336,  262, 0x0a095103,
     350,  341, 0x0009510b,
     364,  359, 0x0009510b,
     369,  302, 0x02095103,
     379,  302, 0x02095103,
     389,  302, 0x02095103,

 // enums: name, flags, count, data
     244, 0x1,   15,  124,
     341, 0x0,    3,  154,
     359, 0x0,    3,  160,

 // enum data: key, value
     398, uint(KLDAP::LdapConfigWidget::W_USER),
     405, uint(KLDAP::LdapConfigWidget::W_BINDDN),
     414, uint(KLDAP::LdapConfigWidget::W_REALM),
     422, uint(KLDAP::LdapConfigWidget::W_PASS),
     429, uint(KLDAP::LdapConfigWidget::W_HOST),
     436, uint(KLDAP::LdapConfigWidget::W_PORT),
     443, uint(KLDAP::LdapConfigWidget::W_VER),
     449, uint(KLDAP::LdapConfigWidget::W_DN),
     454, uint(KLDAP::LdapConfigWidget::W_FILTER),
     463, uint(KLDAP::LdapConfigWidget::W_SECBOX),
     472, uint(KLDAP::LdapConfigWidget::W_AUTHBOX),
     482, uint(KLDAP::LdapConfigWidget::W_TIMELIMIT),
     494, uint(KLDAP::LdapConfigWidget::W_SIZELIMIT),
     506, uint(KLDAP::LdapConfigWidget::W_PAGESIZE),
     517, uint(KLDAP::LdapConfigWidget::W_ALL),
     523, uint(KLDAP::LdapConfigWidget::None),
     528, uint(KLDAP::LdapConfigWidget::SSL),
     532, uint(KLDAP::LdapConfigWidget::TLS),
     536, uint(KLDAP::LdapConfigWidget::Anonymous),
     546, uint(KLDAP::LdapConfigWidget::Simple),
     553, uint(KLDAP::LdapConfigWidget::SASL),

       0        // eod
};

static const char qt_meta_stringdata_KLDAP__LdapConfigWidget[] = {
    "KLDAP::LdapConfigWidget\0\0"
    "hostNameChanged(QString)\0setLDAPPort()\0"
    "setLDAPSPort()\0setAnonymous(bool)\0"
    "setSimple(bool)\0setSASL(bool)\0"
    "queryDNClicked()\0queryMechClicked()\0"
    ",\0loadData(KLDAP::LdapSearch*,KLDAP::LdapObject)\0"
    "loadResult(KLDAP::LdapSearch*)\0WinFlags\0"
    "features\0QString\0user\0bindDn\0realm\0"
    "password\0host\0int\0port\0version\0LdapDN\0"
    "dn\0filter\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\0"
};

void KLDAP::LdapConfigWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        LdapConfigWidget *_t = static_cast<LdapConfigWidget *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData KLDAP::LdapConfigWidget::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KLDAP::LdapConfigWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KLDAP__LdapConfigWidget,
      qt_meta_data_KLDAP__LdapConfigWidget, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KLDAP::LdapConfigWidget::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KLDAP::LdapConfigWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KLDAP__LdapConfigWidget))
        return static_cast<void*>(const_cast< LdapConfigWidget*>(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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(features()); break;
        case 1: *reinterpret_cast< QString*>(_v) = user(); break;
        case 2: *reinterpret_cast< QString*>(_v) = bindDn(); break;
        case 3: *reinterpret_cast< QString*>(_v) = realm(); break;
        case 4: *reinterpret_cast< QString*>(_v) = password(); break;
        case 5: *reinterpret_cast< QString*>(_v) = host(); break;
        case 6: *reinterpret_cast< int*>(_v) = port(); break;
        case 7: *reinterpret_cast< int*>(_v) = version(); break;
        case 8: *reinterpret_cast< LdapDN*>(_v) = dn(); break;
        case 9: *reinterpret_cast< QString*>(_v) = filter(); break;
        case 10: *reinterpret_cast< QString*>(_v) = mech(); break;
        case 11: *reinterpret_cast< Security*>(_v) = security(); break;
        case 12: *reinterpret_cast< Auth*>(_v) = auth(); break;
        case 13: *reinterpret_cast< int*>(_v) = sizeLimit(); break;
        case 14: *reinterpret_cast< int*>(_v) = timeLimit(); break;
        case 15: *reinterpret_cast< int*>(_v) = pageSize(); break;
        }
        _id -= 16;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setFeatures(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 1: setUser(*reinterpret_cast< QString*>(_v)); break;
        case 2: setBindDn(*reinterpret_cast< QString*>(_v)); break;
        case 3: setRealm(*reinterpret_cast< QString*>(_v)); break;
        case 4: setPassword(*reinterpret_cast< QString*>(_v)); break;
        case 5: setHost(*reinterpret_cast< QString*>(_v)); break;
        case 6: setPort(*reinterpret_cast< int*>(_v)); break;
        case 7: setVersion(*reinterpret_cast< int*>(_v)); break;
        case 8: setDn(*reinterpret_cast< LdapDN*>(_v)); break;
        case 9: setFilter(*reinterpret_cast< QString*>(_v)); break;
        case 10: setMech(*reinterpret_cast< QString*>(_v)); break;
        case 11: setSecurity(*reinterpret_cast< Security*>(_v)); break;
        case 12: setAuth(*reinterpret_cast< Auth*>(_v)); break;
        case 13: setSizeLimit(*reinterpret_cast< int*>(_v)); break;
        case 14: setTimeLimit(*reinterpret_cast< int*>(_v)); break;
        case 15: setPageSize(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 16;
    } else if (_c == QMetaObject::ResetProperty) {
        _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[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
