/****************************************************************************
** Meta object code from reading C++ file 'backgroundtool.h'
**
** Created: Wed Jun 24 21:01:26 2009
**      by: The Qt Meta Object Compiler version 61 (Qt 4.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../Velasquez/Qt/backgroundtool.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'backgroundtool.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 61
#error "This file was generated using the moc from 4.5.1. 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_Velasquez__BackgroundTool[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   12, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // slots: signature, parameters, type, tag, flags
      30,   27,   26,   26, 0x09,
      55,   26,   26,   26, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_Velasquez__BackgroundTool[] = {
    "Velasquez::BackgroundTool\0\0id\0"
    "onSettingChanged(qint32)\0onSceneCleared()\0"
};

const QMetaObject Velasquez::BackgroundTool::staticMetaObject = {
    { &DrawingTool::staticMetaObject, qt_meta_stringdata_Velasquez__BackgroundTool,
      qt_meta_data_Velasquez__BackgroundTool, 0 }
};

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

void *Velasquez::BackgroundTool::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Velasquez__BackgroundTool))
        return static_cast<void*>(const_cast< BackgroundTool*>(this));
    return DrawingTool::qt_metacast(_clname);
}

int Velasquez::BackgroundTool::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DrawingTool::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: onSettingChanged((*reinterpret_cast< qint32(*)>(_a[1]))); break;
        case 1: onSceneCleared(); break;
        default: ;
        }
        _id -= 2;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
