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

#include "../../../../src/lyx-2.3.0/src/frontends/qt4/IconPalette.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'IconPalette.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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__TearOff[] = {

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

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

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__TearOff[] = {
    "lyx::frontend::TearOff\0\0tearOff()\0"
};

void lyx::frontend::TearOff::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        TearOff *_t = static_cast<TearOff *>(_o);
        switch (_id) {
        case 0: _t->tearOff(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject lyx::frontend::TearOff::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_lyx__frontend__TearOff,
      qt_meta_data_lyx__frontend__TearOff, &staticMetaObjectExtraData }
};

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

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

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

int lyx::frontend::TearOff::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;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::TearOff::tearOff()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
static const uint qt_meta_data_lyx__frontend__IconPalette[] = {

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

 // signals: signature, parameters, type, tag, flags
      28,   27,   27,   27, 0x05,
      48,   27,   27,   27, 0x05,

 // slots: signature, parameters, type, tag, flags
      62,   27,   27,   27, 0x08,
      72,   27,   27,   27, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__IconPalette[] = {
    "lyx::frontend::IconPalette\0\0"
    "triggered(QAction*)\0visible(bool)\0"
    "tearOff()\0clicked(QAction*)\0"
};

void lyx::frontend::IconPalette::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        IconPalette *_t = static_cast<IconPalette *>(_o);
        switch (_id) {
        case 0: _t->triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 1: _t->visible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->tearOff(); break;
        case 3: _t->clicked((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject lyx::frontend::IconPalette::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_lyx__frontend__IconPalette,
      qt_meta_data_lyx__frontend__IconPalette, &staticMetaObjectExtraData }
};

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

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

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

int lyx::frontend::IconPalette::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

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

// SIGNAL 1
void lyx::frontend::IconPalette::visible(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_lyx__frontend__ButtonMenu[] = {

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

 // slots: signature, parameters, type, tag, flags
      27,   26,   26,   26, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__ButtonMenu[] = {
    "lyx::frontend::ButtonMenu\0\0updateParent()\0"
};

void lyx::frontend::ButtonMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ButtonMenu *_t = static_cast<ButtonMenu *>(_o);
        switch (_id) {
        case 0: _t->updateParent(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject lyx::frontend::ButtonMenu::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_lyx__frontend__ButtonMenu,
      qt_meta_data_lyx__frontend__ButtonMenu, &staticMetaObjectExtraData }
};

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

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

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

int lyx::frontend::ButtonMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenu::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;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
