/****************************************************************************
** Meta object code from reading C++ file 'G4UIQt.hh'
**
** Created: Wed Nov 25 14:54:38 2009
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../include/G4UIQt.hh"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'G4UIQt.hh' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.0. 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_G4UIQt[] = {

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

 // signals: signature, parameters, type, tag, flags
      13,    8,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
      32,    7,    7,    7, 0x08,
      46,    7,    7,    7, 0x08,
      68,    7,    7,    7, 0x08,
      93,    7,    7,    7, 0x08,
     117,    7,    7,    7, 0x08,
     140,    7,    7,    7, 0x08,
     169,    7,    7,    7, 0x08,
     188,    7,    7,    7, 0x08,
     213,    7,    7,    7, 0x08,
     241,    7,    7,    7, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_G4UIQt[] = {
    "G4UIQt\0\0text\0myClicked(QString)\0"
    "ExitSession()\0ClearButtonCallback()\0"
    "CommandEnteredCallback()\0"
    "ButtonCallback(QString)\0HelpTreeClicCallback()\0"
    "HelpTreeDoubleClicCallback()\0"
    "ShowHelpCallback()\0CommandHistoryCallback()\0"
    "lookForHelpStringCallback()\0"
    "UpdateTabWidget(int)\0"
};

const QMetaObject G4UIQt::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt,
      qt_meta_data_G4UIQt, 0 }
};

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

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

void *G4UIQt::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_G4UIQt))
        return static_cast<void*>(const_cast< G4UIQt*>(this));
    if (!strcmp(_clname, "G4VBasicShell"))
        return static_cast< G4VBasicShell*>(const_cast< G4UIQt*>(this));
    if (!strcmp(_clname, "G4VInteractiveSession"))
        return static_cast< G4VInteractiveSession*>(const_cast< G4UIQt*>(this));
    return QObject::qt_metacast(_clname);
}

int G4UIQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: myClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: ExitSession(); break;
        case 2: ClearButtonCallback(); break;
        case 3: CommandEnteredCallback(); break;
        case 4: ButtonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: HelpTreeClicCallback(); break;
        case 6: HelpTreeDoubleClicCallback(); break;
        case 7: ShowHelpCallback(); break;
        case 8: CommandHistoryCallback(); break;
        case 9: lookForHelpStringCallback(); break;
        case 10: UpdateTabWidget((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void G4UIQt::myClicked(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
