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

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

 // signals: signature, parameters, type, tag, flags
      19,   11,   10,   10, 0x05,
      42,   10,   10,   10, 0x05,
      64,   59,   10,   10, 0x05,
      93,   10,   10,   10, 0x05,
     117,  105,   10,   10, 0x05,

 // slots: signature, parameters, type, tag, flags
     150,   10,   10,   10, 0x08,
     177,   10,   10,   10, 0x08,
     207,   10,   10,   10, 0x08,
     239,   10,   10,   10, 0x08,
     263,   10,   10,   10, 0x08,
     287,   10,   10,   10, 0x08,
     310,   10,   10,   10, 0x08,
     336,   10,   10,   10, 0x08,
     367,  365,   10,   10, 0x08,
     416,  410,   10,   10, 0x08,
     438,   10,   10,   10, 0x08,
     447,   10,   10,   10, 0x08,
     477,  472,   10,   10, 0x08,
     509,   10,   10,   10, 0x08,
     524,   10,   10,   10, 0x08,
     540,  535,   10,   10, 0x08,
     568,   10,   10,   10, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_SqlEditor[] = {
    "SqlEditor\0\0command\0showSqlResult(QString)\0"
    "sqlScriptStart()\0line\0"
    "showSqlScriptResult(QString)\0buildTree()\0"
    "schema,name\0rebuildViewTree(QString,QString)\0"
    "action_Run_SQL_triggered()\0"
    "actionRun_Explain_triggered()\0"
    "actionRun_as_Script_triggered()\0"
    "action_Open_triggered()\0action_Save_triggered()\0"
    "action_New_triggered()\0actionSave_As_triggered()\0"
    "actionCreateView_triggered()\0,\0"
    "sqlTextEdit_cursorPositionChanged(int,int)\0"
    "state\0documentChanged(bool)\0cancel()\0"
    "actionSearch_triggered()\0text\0"
    "searchEdit_textChanged(QString)\0"
    "findPrevious()\0findNext()\0path\0"
    "externalFileChange(QString)\0"
    "scriptCancelled()\0"
};

void SqlEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SqlEditor *_t = static_cast<SqlEditor *>(_o);
        switch (_id) {
        case 0: _t->showSqlResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->sqlScriptStart(); break;
        case 2: _t->showSqlScriptResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->buildTree(); break;
        case 4: _t->rebuildViewTree((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 5: _t->action_Run_SQL_triggered(); break;
        case 6: _t->actionRun_Explain_triggered(); break;
        case 7: _t->actionRun_as_Script_triggered(); break;
        case 8: _t->action_Open_triggered(); break;
        case 9: _t->action_Save_triggered(); break;
        case 10: _t->action_New_triggered(); break;
        case 11: _t->actionSave_As_triggered(); break;
        case 12: _t->actionCreateView_triggered(); break;
        case 13: _t->sqlTextEdit_cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->documentChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->cancel(); break;
        case 16: _t->actionSearch_triggered(); break;
        case 17: _t->searchEdit_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->findPrevious(); break;
        case 19: _t->findNext(); break;
        case 20: _t->externalFileChange((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->scriptCancelled(); break;
        default: ;
        }
    }
}

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

const QMetaObject SqlEditor::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_SqlEditor,
      qt_meta_data_SqlEditor, &staticMetaObjectExtraData }
};

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

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

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

int SqlEditor::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) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

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

// SIGNAL 1
void SqlEditor::sqlScriptStart()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

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

// SIGNAL 3
void SqlEditor::buildTree()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

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