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

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

 // signals: signature, parameters, type, tag, flags
      12,   32,   32,   32, 0x05,
      33,   32,   32,   32, 0x05,
      53,   32,   32,   32, 0x05,

 // slots: signature, parameters, type, tag, flags
      70,   32,   32,   32, 0x0a,
      94,   32,   32,   32, 0x0a,
     103,   32,   32,   32, 0x0a,
     113,   32,   32,   32, 0x0a,
     131,  144,   32,   32, 0x0a,
     148,   32,   32,   32, 0x09,
     157,  177,   32,   32, 0x09,
     180,  177,   32,   32, 0x09,
     200,  177,   32,   32, 0x09,
     217,  250,   32,   32, 0x09,
     257,  250,   32,   32, 0x09,
     291,   32,   32,   32, 0x09,
     306,   32,   32,   32, 0x09,
     328,  349,   32,   32, 0x09,
     356,   32,   32,   32, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_MainToolBar[] = {
    "MainToolBar\0selected(InputMode)\0\0"
    "triggerNotify(bool)\0decided(QString)\0"
    "slotTriggerNotify(bool)\0initIM()\0"
    "savePos()\0update(InputMode)\0move(QPoint)\0"
    "pos\0redraw()\0setButton1Text(int)\0id\0"
    "setButton2Text(int)\0setTrayIcon(int)\0"
    "setInputModeButtonText(QAction*)\0"
    "action\0setInputStyleButtonText(QAction*)\0"
    "execDictTool()\0execHandWritingTool()\0"
    "slotDecided(QString)\0string\0"
    "showPropertyDialog()\0"
};

void MainToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        MainToolBar *_t = static_cast<MainToolBar *>(_o);
        switch (_id) {
        case 0: _t->selected((*reinterpret_cast< const InputMode(*)>(_a[1]))); break;
        case 1: _t->triggerNotify((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->decided((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->slotTriggerNotify((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->initIM(); break;
        case 5: _t->savePos(); break;
        case 6: _t->update((*reinterpret_cast< const InputMode(*)>(_a[1]))); break;
        case 7: _t->move((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 8: _t->redraw(); break;
        case 9: _t->setButton1Text((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setButton2Text((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setTrayIcon((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setInputModeButtonText((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 13: _t->setInputStyleButtonText((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 14: _t->execDictTool(); break;
        case 15: _t->execHandWritingTool(); break;
        case 16: _t->slotDecided((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->showPropertyDialog(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData MainToolBar::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject MainToolBar::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_MainToolBar,
      qt_meta_data_MainToolBar, &staticMetaObjectExtraData }
};

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

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

void *MainToolBar::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MainToolBar))
        return static_cast<void*>(const_cast< MainToolBar*>(this));
    return QFrame::qt_metacast(_clname);
}

int MainToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void MainToolBar::selected(const InputMode & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MainToolBar::triggerNotify(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MainToolBar::decided(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
static const uint qt_meta_data_Mover[] = {

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

 // signals: signature, parameters, type, tag, flags
       6,   25,   29,   29, 0x05,
      30,   25,   29,   29, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_Mover[] = {
    "Mover\0mouseMoved(QPoint)\0pos\0\0"
    "mouseMoveStopped(QPoint)\0"
};

void Mover::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Mover *_t = static_cast<Mover *>(_o);
        switch (_id) {
        case 0: _t->mouseMoved((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 1: _t->mouseMoveStopped((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Mover::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Mover::staticMetaObject = {
    { &QToolButton::staticMetaObject, qt_meta_stringdata_Mover,
      qt_meta_data_Mover, &staticMetaObjectExtraData }
};

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

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

void *Mover::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Mover))
        return static_cast<void*>(const_cast< Mover*>(this));
    return QToolButton::qt_metacast(_clname);
}

int Mover::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void Mover::mouseMoved(const QPoint & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Mover::mouseMoveStopped(const QPoint & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_Popup[] = {

 // 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
       6,   13,   13,   13, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Popup[] = {
    "Popup\0hide()\0\0"
};

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

const QMetaObjectExtraData Popup::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Popup::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_Popup,
      qt_meta_data_Popup, &staticMetaObjectExtraData }
};

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

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

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

int Popup::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
