/****************************************************************************
** Meta object code from reading C++ file 'dashboardjs.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/kde-workspace-4.11.21/plasma/generic/scriptengines/webkit/dashboardjs.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dashboardjs.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_DashboardJs[] = {

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

 // slots: signature, parameters, type, tag, flags
      18,   13,   12,   12, 0x0a,
      34,   29,   12,   12, 0x0a,
      59,   29,   12,   12, 0x0a,
      89,   85,   76,   12, 0x0a,
     126,  115,   12,   12, 0x0a,
     156,   12,   12,   12, 0x0a,
     180,  176,   12,   12, 0x0a,
     217,  207,   12,   12, 0x0a,
     270,  254,   12,   12, 0x0a,

 // properties: name, type, flags
     302,  294, 0x0a095001,
     313,  294, 0x0a095103,
     320,  294, 0x0a095103,
     327,  294, 0x0a095103,
     336,  294, 0x0a095103,
     348,  294, 0x0a095103,

       0        // eod
};

static const char qt_meta_stringdata_DashboardJs[] = {
    "DashboardJs\0\0test\0hello(int)\0name\0"
    "openApplication(QString)\0openURL(QString)\0"
    "QVariant\0key\0preferenceForKey(QString)\0"
    "transition\0prepareForTransition(QString)\0"
    "performTransition()\0x,y\0"
    "setCloseBoxOffset(int,int)\0value,key\0"
    "setPreferenceForKey(QString,QString)\0"
    "command,handler\0system(QString,QString)\0"
    "QString\0identifier\0onshow\0onhide\0"
    "onremove\0ondragstart\0ondragstop\0"
};

void DashboardJs::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DashboardJs *_t = static_cast<DashboardJs *>(_o);
        switch (_id) {
        case 0: _t->hello((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->openApplication((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->openURL((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: { QVariant _r = _t->preferenceForKey((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 4: _t->prepareForTransition((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 5: _t->performTransition(); break;
        case 6: _t->setCloseBoxOffset((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->setPreferenceForKey((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 8: _t->system((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        default: ;
        }
    }
}

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

const QMetaObject DashboardJs::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DashboardJs,
      qt_meta_data_DashboardJs, &staticMetaObjectExtraData }
};

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

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

void *DashboardJs::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DashboardJs))
        return static_cast<void*>(const_cast< DashboardJs*>(this));
    return QObject::qt_metacast(_clname);
}

int DashboardJs::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) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = identifier(); break;
        case 1: *reinterpret_cast< QString*>(_v) = onshow(); break;
        case 2: *reinterpret_cast< QString*>(_v) = onhide(); break;
        case 3: *reinterpret_cast< QString*>(_v) = onremove(); break;
        case 4: *reinterpret_cast< QString*>(_v) = ondragstart(); break;
        case 5: *reinterpret_cast< QString*>(_v) = ondragstop(); break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: setOnshow(*reinterpret_cast< QString*>(_v)); break;
        case 2: setOnhide(*reinterpret_cast< QString*>(_v)); break;
        case 3: setOnremove(*reinterpret_cast< QString*>(_v)); break;
        case 4: setOndragstart(*reinterpret_cast< QString*>(_v)); break;
        case 5: setOndragstop(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
