/****************************************************************************
** Meta object code from reading C++ file 'main_window.hpp'
**
** Created: Sun 22. Feb 17:39:18 2009
**      by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/gui/main_window.hpp"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'main_window.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.4.3. 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_MainWindow[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // slots: signature, parameters, type, tag, flags
      12,   11,   11,   11, 0x0a,
      19,   11,   11,   11, 0x0a,
      28,   11,   11,   11, 0x0a,
      59,   50,   42,   11, 0x0a,
      99,   11,   11,   11, 0x0a,
     110,   11,   11,   11, 0x0a,
     116,   11,   11,   11, 0x0a,
     124,   11,   11,   11, 0x0a,
     140,  131,   11,   11, 0x08,
     170,  164,   11,   11, 0x08,
     191,  186,   11,   11, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_MainWindow[] = {
    "MainWindow\0\0open()\0saveAs()\0preferences()\0"
    "QString\0file,str\0"
    "prepareTmpFile(QTemporaryFile&,QString)\0"
    "showTree()\0run()\0about()\0help()\0"
    "editable\0setInputsEditable(bool)\0index\0"
    "tabChanged(int)\0link\0openLink(QString)\0"
};

const QMetaObject MainWindow::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
      qt_meta_data_MainWindow, 0 }
};

const QMetaObject *MainWindow::metaObject() const
{
    return &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
        return static_cast<void*>(const_cast< MainWindow*>(this));
    if (!strcmp(_clname, "Ui::MainWindow"))
        return static_cast< Ui::MainWindow*>(const_cast< MainWindow*>(this));
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: open(); break;
        case 1: saveAs(); break;
        case 2: preferences(); break;
        case 3: { QString _r = prepareTmpFile((*reinterpret_cast< QTemporaryFile(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 4: showTree(); break;
        case 5: run(); break;
        case 6: about(); break;
        case 7: help(); break;
        case 8: setInputsEditable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: tabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: openLink((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        }
        _id -= 11;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
