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

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

 // classinfo: key, value
      37,   16,

 // slots: signature, parameters, type, tag, flags
      64,   59,   54,   53, 0x0a,
      87,   53,   54,   53, 0x0a,
     102,   53,   94,   53, 0x0a,
     120,   53,   53,   53, 0x0a,
     149,  129,   54,   53, 0x0a,
     201,  181,   54,   53, 0x0a,
     244,  226,   53,   53, 0x0a,
     275,  129,   54,   53, 0x0a,
     305,   53,   54,   53, 0x0a,
     322,   53,   53,   53, 0x0a,
     329,   53,   53,   53, 0x0a,
     341,   53,   53,   53, 0x0a,
     355,   53,   54,   53, 0x0a,
     367,   53,   54,   53, 0x0a,
     382,   53,   54,   53, 0x0a,
     393,   53,   54,   53, 0x0a,
     411,   53,   54,   53, 0x0a,
     432,   53,   54,   53, 0x0a,
     449,   53,   54,   53, 0x0a,
     469,   53,   54,   53, 0x0a,
     487,   53,   53,   53, 0x0a,
     504,   53,   53,   53, 0x0a,
     526,   53,   53,   53, 0x0a,
     543,   53,   53,   53, 0x0a,
     585,  563,   54,   53, 0x0a,
     642,  621,   53,   53, 0x0a,
     675,  664,   53,   53, 0x0a,
     691,   53,   53,   53, 0x0a,
     709,   53,   53,   53, 0x0a,
     727,   53,   94,   53, 0x0a,
     746,   53,   94,   53, 0x0a,
     765,  760,   53,   53, 0x0a,
     793,  786,   53,   53, 0x0a,
     828,  820,   53,   53, 0x0a,
     865,  852,   94,   53, 0x0a,
     906,  887,   54,   53, 0x0a,
     948,  820,  936,   53, 0x0a,
     960,   53,  936,   53, 0x0a,
     977,  820,   53,   53, 0x0a,
    1001,  820,   53,   53, 0x0a,
    1025,  820,   53,   53, 0x0a,
    1038,  820,   53,   53, 0x0a,
    1052,  820,   53,   53, 0x0a,
    1067,   53,   53,   53, 0x0a,
    1090,   53,   53,   53, 0x0a,
    1102,   53,   53,   53, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_ScriptInterface[] = {
    "ScriptInterface\0net.sourceforge.Kid3\0"
    "D-Bus Interface\0\0bool\0path\0"
    "openDirectory(QString)\0save()\0QString\0"
    "getErrorMessage()\0revert()\0"
    "tagMask,path,fmtIdx\0importFromFile(int,QString,int)\0"
    "tagMask,profileName\0batchImport(int,QString)\0"
    "url,allFilesInDir\0downloadAlbumArt(QString,bool)\0"
    "exportToFile(int,QString,int)\0"
    "createPlaylist()\0quit()\0selectAll()\0"
    "deselectAll()\0firstFile()\0previousFile()\0"
    "nextFile()\0selectFirstFile()\0"
    "selectPreviousFile()\0selectNextFile()\0"
    "selectCurrentFile()\0expandDirectory()\0"
    "expandFileList()\0applyFilenameFormat()\0"
    "applyTagFormat()\0applyTextEncoding()\0"
    "tagMask,format,create\0"
    "setDirNameFromTag(int,QString,bool)\0"
    "tagMask,firstTrackNr\0numberTracks(int,int)\0"
    "expression\0filter(QString)\0convertToId3v24()\0"
    "convertToId3v23()\0getDirectoryName()\0"
    "getFileName()\0name\0setFileName(QString)\0"
    "format\0setFileNameFormat(QString)\0"
    "tagMask\0setFileNameFromTag(int)\0"
    "tagMask,name\0getFrame(int,QString)\0"
    "tagMask,name,value\0setFrame(int,QString,QString)\0"
    "QStringList\0getTag(int)\0getInformation()\0"
    "setTagFromFileName(int)\0setTagFromOtherTag(int)\0"
    "copyTag(int)\0pasteTag(int)\0removeTag(int)\0"
    "reparseConfiguration()\0playAudio()\0"
    "onRenameActionsScheduled()\0"
};

void ScriptInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptInterface *_t = static_cast<ScriptInterface *>(_o);
        switch (_id) {
        case 0: { bool _r = _t->openDirectory((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { QString _r = _t->getErrorMessage();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 3: _t->revert(); break;
        case 4: { bool _r = _t->importFromFile((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->batchImport((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->downloadAlbumArt((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 7: { bool _r = _t->exportToFile((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: { bool _r = _t->createPlaylist();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: _t->quit(); break;
        case 10: _t->selectAll(); break;
        case 11: _t->deselectAll(); break;
        case 12: { bool _r = _t->firstFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 13: { bool _r = _t->previousFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 14: { bool _r = _t->nextFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: { bool _r = _t->selectFirstFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 16: { bool _r = _t->selectPreviousFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: { bool _r = _t->selectNextFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 18: { bool _r = _t->selectCurrentFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 19: { bool _r = _t->expandDirectory();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 20: _t->expandFileList(); break;
        case 21: _t->applyFilenameFormat(); break;
        case 22: _t->applyTagFormat(); break;
        case 23: _t->applyTextEncoding(); break;
        case 24: { bool _r = _t->setDirNameFromTag((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 25: _t->numberTracks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 26: _t->filter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 27: _t->convertToId3v24(); break;
        case 28: _t->convertToId3v23(); break;
        case 29: { QString _r = _t->getDirectoryName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 30: { QString _r = _t->getFileName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 31: _t->setFileName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 32: _t->setFileNameFormat((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 33: _t->setFileNameFromTag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 34: { QString _r = _t->getFrame((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 35: { bool _r = _t->setFrame((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 36: { QStringList _r = _t->getTag((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 37: { QStringList _r = _t->getInformation();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 38: _t->setTagFromFileName((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 39: _t->setTagFromOtherTag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 40: _t->copyTag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 41: _t->pasteTag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 42: _t->removeTag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 43: _t->reparseConfiguration(); break;
        case 44: _t->playAudio(); break;
        case 45: _t->onRenameActionsScheduled(); break;
        default: ;
        }
    }
}

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

const QMetaObject ScriptInterface::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_ScriptInterface,
      qt_meta_data_ScriptInterface, &staticMetaObjectExtraData }
};

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

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

void *ScriptInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_ScriptInterface))
        return static_cast<void*>(const_cast< ScriptInterface*>(this));
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int ScriptInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 46)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 46;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
