/****************************************************************************
** Meta object code from reading C++ file 'scriptutils.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/kid3-3.3.1/src/plugins/kid3qml/scriptutils.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scriptutils.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_ScriptUtils[] = {

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

 // methods: signature, parameters, type, tag, flags
      30,   25,   13,   12, 0x02,
      89,   85,   56,   12, 0x02,
     151,  148,  130,   12, 0x02,
     207,  178,  169,   12, 0x02,
     278,  256,  169,   12, 0x22,
     355,  320,  315,   12, 0x02,
     441,  413,  315,   12, 0x22,
     502,  487,  169,   12, 0x02,
     555,  551,  543,   12, 0x02,
     576,   12,   13,   12, 0x02,
     594,   12,   13,   12, 0x02,
     617,   12,   13,   12, 0x02,
     643,   12,   13,   12, 0x02,
     665,   12,   13,   12, 0x02,
     701,  687,  315,   12, 0x02,
     751,  742,  731,   12, 0x02,
     769,  742,  315,   12, 0x02,
     789,  742,  315,   12, 0x02,
     825,  809,  315,   12, 0x02,
     853,   12,  543,   12, 0x02,
     890,  864,   13,   12, 0x02,
     941,  924,   13,   12, 0x22,
     975,  970,   13,   12, 0x22,
    1024, 1005,  992,   12, 0x02,
    1069, 1056,  992,   12, 0x22,
    1105, 1097,  992,   12, 0x22,
    1129, 1121,  731,   12, 0x02,
    1162, 1148,  315,   12, 0x02,
    1192,   12,  543,   12, 0x02,
    1209,   12,  543,   12, 0x02,
    1230,   12,  543,   12, 0x02,
    1250, 1245,  543,   12, 0x02,
    1277, 1245, 1273,   12, 0x02,
    1313, 1301,  169,   12, 0x02,
    1348, 1245,  169,   12, 0x22,
    1383, 1372,  731,   12, 0x02,
    1422, 1418,  731,   12, 0x22,
    1446,  742,  169,   12, 0x02,
    1485, 1465,  315,   12, 0x02,
    1537, 1524,  315,   12, 0x22,
    1577, 1418, 1565,   12, 0x02,
    1620, 1603,  169,   12, 0x02,
    1659, 1649,  169,   12, 0x22,
    1712, 1684,  543,   12, 0x02,
    1776, 1757,  543,   12, 0x22,
    1828, 1816,  543,   12, 0x22,
    1868, 1860,  543,   12, 0x22,
    1892,   12,  543,   12, 0x22,

       0        // eod
};

static const char qt_meta_stringdata_ScriptUtils[] = {
    "ScriptUtils\0\0QStringList\0urls\0"
    "toStringList(QList<QUrl>)\0"
    "QList<QPersistentModelIndex>\0lst\0"
    "toPersistentModelIndexList(QVariantList)\0"
    "Frame::TagVersion\0nr\0toTagVersion(int)\0"
    "QVariant\0modelObj,row,roleName,parent\0"
    "getRoleData(QObject*,int,QByteArray,QModelIndex)\0"
    "modelObj,row,roleName\0"
    "getRoleData(QObject*,int,QByteArray)\0"
    "bool\0modelObj,row,roleName,value,parent\0"
    "setRoleData(QObject*,int,QByteArray,QVariant,QModelIndex)\0"
    "modelObj,row,roleName,value\0"
    "setRoleData(QObject*,int,QByteArray,QVariant)\0"
    "index,roleName\0getIndexRoleData(QModelIndex,QByteArray)\0"
    "QString\0obj\0properties(QObject*)\0"
    "getFieldIdNames()\0getTextEncodingNames()\0"
    "getTimestampFormatNames()\0"
    "getPictureTypeNames()\0getContentTypeNames()\0"
    "filePath,data\0writeFile(QString,QByteArray)\0"
    "QByteArray\0filePath\0readFile(QString)\0"
    "removeFile(QString)\0fileExists(QString)\0"
    "oldName,newName\0renameFile(QString,QString)\0"
    "tempPath()\0path,nameFilters,classify\0"
    "listDir(QString,QStringList,bool)\0"
    "path,nameFilters\0listDir(QString,QStringList)\0"
    "path\0listDir(QString)\0QVariantList\0"
    "program,args,msecs\0system(QString,QStringList,int)\0"
    "program,args\0system(QString,QStringList)\0"
    "program\0system(QString)\0varName\0"
    "getEnv(QByteArray)\0varName,value\0"
    "setEnv(QByteArray,QByteArray)\0"
    "getKid3Version()\0getKid3ReleaseYear()\0"
    "getQtVersion()\0data\0getDataMd5(QByteArray)\0"
    "int\0getDataSize(QByteArray)\0data,format\0"
    "dataToImage(QByteArray,QByteArray)\0"
    "dataToImage(QByteArray)\0var,format\0"
    "dataFromImage(QVariant,QByteArray)\0"
    "var\0dataFromImage(QVariant)\0"
    "loadImage(QString)\0var,filePath,format\0"
    "saveImage(QVariant,QString,QByteArray)\0"
    "var,filePath\0saveImage(QVariant,QString)\0"
    "QVariantMap\0imageProperties(QVariant)\0"
    "var,width,height\0scaleImage(QVariant,int,int)\0"
    "var,width\0scaleImage(QVariant,int)\0"
    "caption,dir,filter,saveFile\0"
    "selectFileName(QString,QString,QString,bool)\0"
    "caption,dir,filter\0"
    "selectFileName(QString,QString,QString)\0"
    "caption,dir\0selectFileName(QString,QString)\0"
    "caption\0selectFileName(QString)\0"
    "selectFileName()\0"
};

void ScriptUtils::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptUtils *_t = static_cast<ScriptUtils *>(_o);
        switch (_id) {
        case 0: { QStringList _r = _t->toStringList((*reinterpret_cast< const QList<QUrl>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 1: { QList<QPersistentModelIndex> _r = _t->toPersistentModelIndexList((*reinterpret_cast< const QVariantList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QPersistentModelIndex>*>(_a[0]) = _r; }  break;
        case 2: { Frame::TagVersion _r = _t->toTagVersion((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Frame::TagVersion*>(_a[0]) = _r; }  break;
        case 3: { QVariant _r = _t->getRoleData((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< QModelIndex(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 4: { QVariant _r = _t->getRoleData((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->setRoleData((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< const QVariant(*)>(_a[4])),(*reinterpret_cast< QModelIndex(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { bool _r = _t->setRoleData((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< const QVariant(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { QVariant _r = _t->getIndexRoleData((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 8: { QString _r = _t->properties((*reinterpret_cast< QObject*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 9: { QStringList _r = _t->getFieldIdNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 10: { QStringList _r = _t->getTextEncodingNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 11: { QStringList _r = _t->getTimestampFormatNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 12: { QStringList _r = _t->getPictureTypeNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 13: { QStringList _r = _t->getContentTypeNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 14: { bool _r = _t->writeFile((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: { QByteArray _r = _t->readFile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        case 16: { bool _r = _t->removeFile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: { bool _r = _t->fileExists((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 18: { bool _r = _t->renameFile((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 19: { QString _r = _t->tempPath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 20: { QStringList _r = _t->listDir((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 21: { QStringList _r = _t->listDir((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 22: { QStringList _r = _t->listDir((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 23: { QVariantList _r = _t->system((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = _r; }  break;
        case 24: { QVariantList _r = _t->system((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = _r; }  break;
        case 25: { QVariantList _r = _t->system((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = _r; }  break;
        case 26: { QByteArray _r = _t->getEnv((*reinterpret_cast< const QByteArray(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        case 27: { bool _r = _t->setEnv((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 28: { QString _r = _t->getKid3Version();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 29: { QString _r = _t->getKid3ReleaseYear();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 30: { QString _r = _t->getQtVersion();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 31: { QString _r = _t->getDataMd5((*reinterpret_cast< const QByteArray(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 32: { int _r = _t->getDataSize((*reinterpret_cast< const QByteArray(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 33: { QVariant _r = _t->dataToImage((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 34: { QVariant _r = _t->dataToImage((*reinterpret_cast< const QByteArray(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 35: { QByteArray _r = _t->dataFromImage((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        case 36: { QByteArray _r = _t->dataFromImage((*reinterpret_cast< const QVariant(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        case 37: { QVariant _r = _t->loadImage((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 38: { bool _r = _t->saveImage((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 39: { bool _r = _t->saveImage((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 40: { QVariantMap _r = _t->imageProperties((*reinterpret_cast< const QVariant(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = _r; }  break;
        case 41: { QVariant _r = _t->scaleImage((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 42: { QVariant _r = _t->scaleImage((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 43: { QString _r = _t->selectFileName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 44: { QString _r = _t->selectFileName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 45: { QString _r = _t->selectFileName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 46: { QString _r = _t->selectFileName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 47: { QString _r = _t->selectFileName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

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

const QMetaObject ScriptUtils::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ScriptUtils,
      qt_meta_data_ScriptUtils, &staticMetaObjectExtraData }
};

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

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

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

int ScriptUtils::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 < 48)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 48;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
