/****************************************************************************
** Meta object code from reading C++ file 'FancyLineEdit.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 "../../../../src/lyx-2.1.3/src/frontends/qt4/FancyLineEdit.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'FancyLineEdit.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_lyx__frontend__IconButton[] = {

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

 // properties: name, type, flags
      32,   26, 0x87095103,
      49,   44, 0x01095103,
      66,   58, 0x41095103,

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__IconButton[] = {
    "lyx::frontend::IconButton\0float\0"
    "iconOpacity\0bool\0autoHide\0QPixmap\0"
    "pixmap\0"
};

void lyx::frontend::IconButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObjectExtraData lyx::frontend::IconButton::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject lyx::frontend::IconButton::staticMetaObject = {
    { &QAbstractButton::staticMetaObject, qt_meta_stringdata_lyx__frontend__IconButton,
      qt_meta_data_lyx__frontend__IconButton, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &lyx::frontend::IconButton::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *lyx::frontend::IconButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *lyx::frontend::IconButton::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_lyx__frontend__IconButton))
        return static_cast<void*>(const_cast< IconButton*>(this));
    return QAbstractButton::qt_metacast(_clname);
}

int lyx::frontend::IconButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
     if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< float*>(_v) = iconOpacity(); break;
        case 1: *reinterpret_cast< bool*>(_v) = hasAutoHide(); break;
        case 2: *reinterpret_cast< QPixmap*>(_v) = pixmap(); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setIconOpacity(*reinterpret_cast< float*>(_v)); break;
        case 1: setAutoHide(*reinterpret_cast< bool*>(_v)); break;
        case 2: setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_lyx__frontend__FancyLineEdit[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   14, // methods
       0,    0, // properties
       1,   39, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: signature, parameters, type, tag, flags
      35,   30,   29,   29, 0x05,
      55,   29,   29,   29, 0x05,
      75,   29,   29,   29, 0x05,

 // slots: signature, parameters, type, tag, flags
      96,   29,   29,   29, 0x08,
     118,   29,   29,   29, 0x08,

 // enums: name, flags, count, data
     132, 0x0,    2,   43,

 // enum data: key, value
     137, uint(lyx::frontend::FancyLineEdit::Left),
     142, uint(lyx::frontend::FancyLineEdit::Right),

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__FancyLineEdit[] = {
    "lyx::frontend::FancyLineEdit\0\0side\0"
    "buttonClicked(Side)\0leftButtonClicked()\0"
    "rightButtonClicked()\0checkButtons(QString)\0"
    "iconClicked()\0Side\0Left\0Right\0"
};

void lyx::frontend::FancyLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        FancyLineEdit *_t = static_cast<FancyLineEdit *>(_o);
        switch (_id) {
        case 0: _t->buttonClicked((*reinterpret_cast< Side(*)>(_a[1]))); break;
        case 1: _t->leftButtonClicked(); break;
        case 2: _t->rightButtonClicked(); break;
        case 3: _t->checkButtons((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->iconClicked(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData lyx::frontend::FancyLineEdit::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject lyx::frontend::FancyLineEdit::staticMetaObject = {
    { &QLineEdit::staticMetaObject, qt_meta_stringdata_lyx__frontend__FancyLineEdit,
      qt_meta_data_lyx__frontend__FancyLineEdit, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &lyx::frontend::FancyLineEdit::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *lyx::frontend::FancyLineEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *lyx::frontend::FancyLineEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_lyx__frontend__FancyLineEdit))
        return static_cast<void*>(const_cast< FancyLineEdit*>(this));
    return QLineEdit::qt_metacast(_clname);
}

int lyx::frontend::FancyLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QLineEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::FancyLineEdit::buttonClicked(Side _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void lyx::frontend::FancyLineEdit::leftButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void lyx::frontend::FancyLineEdit::rightButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
QT_END_MOC_NAMESPACE
