/****************************************************************************
** Meta object code from reading C++ file 'cardboard.h'
**
** Created: Sun 3. Jun 16:48:54 2012
**      by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

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

 // methods: signature, parameters, type, tag, flags
      11,   10,   10,   10, 0x02,
      21,   10,   10,   10, 0x02,
      47,   38,   33,   10, 0x02,
      67,   38,   33,   10, 0x02,

       0        // eod
};

static const char qt_meta_stringdata_CardBoard[] = {
    "CardBoard\0\0sendMms()\0sendEmail()\0bool\0"
    "fileName\0fileExists(QString)\0"
    "saveJPG(QString)\0"
};

const QMetaObject CardBoard::staticMetaObject = {
    { &QDeclarativeItem::staticMetaObject, qt_meta_stringdata_CardBoard,
      qt_meta_data_CardBoard, 0 }
};

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

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

void *CardBoard::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_CardBoard))
        return static_cast<void*>(const_cast< CardBoard*>(this));
    return QDeclarativeItem::qt_metacast(_clname);
}

int CardBoard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: sendMms(); break;
        case 1: sendEmail(); break;
        case 2: { bool _r = fileExists((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { bool _r = saveJPG((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 4;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
