/****************************************************************************
** Meta object code from reading C++ file 'scriptinterface.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/kid3-3.4.5/src/core/model/scriptinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scriptinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_ScriptInterface_t {
    QByteArrayData data[65];
    char stringdata0[820];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ScriptInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ScriptInterface_t qt_meta_stringdata_ScriptInterface = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ScriptInterface"
QT_MOC_LITERAL(1, 16, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 32, 20), // "net.sourceforge.Kid3"
QT_MOC_LITERAL(3, 53, 13), // "openDirectory"
QT_MOC_LITERAL(4, 67, 0), // ""
QT_MOC_LITERAL(5, 68, 4), // "path"
QT_MOC_LITERAL(6, 73, 4), // "save"
QT_MOC_LITERAL(7, 78, 15), // "getErrorMessage"
QT_MOC_LITERAL(8, 94, 6), // "revert"
QT_MOC_LITERAL(9, 101, 14), // "importFromFile"
QT_MOC_LITERAL(10, 116, 7), // "tagMask"
QT_MOC_LITERAL(11, 124, 6), // "fmtIdx"
QT_MOC_LITERAL(12, 131, 14), // "importFromTags"
QT_MOC_LITERAL(13, 146, 6), // "source"
QT_MOC_LITERAL(14, 153, 10), // "extraction"
QT_MOC_LITERAL(15, 164, 11), // "batchImport"
QT_MOC_LITERAL(16, 176, 11), // "profileName"
QT_MOC_LITERAL(17, 188, 16), // "downloadAlbumArt"
QT_MOC_LITERAL(18, 205, 3), // "url"
QT_MOC_LITERAL(19, 209, 13), // "allFilesInDir"
QT_MOC_LITERAL(20, 223, 12), // "exportToFile"
QT_MOC_LITERAL(21, 236, 14), // "createPlaylist"
QT_MOC_LITERAL(22, 251, 4), // "quit"
QT_MOC_LITERAL(23, 256, 9), // "selectAll"
QT_MOC_LITERAL(24, 266, 11), // "deselectAll"
QT_MOC_LITERAL(25, 278, 9), // "firstFile"
QT_MOC_LITERAL(26, 288, 12), // "previousFile"
QT_MOC_LITERAL(27, 301, 8), // "nextFile"
QT_MOC_LITERAL(28, 310, 15), // "selectFirstFile"
QT_MOC_LITERAL(29, 326, 18), // "selectPreviousFile"
QT_MOC_LITERAL(30, 345, 14), // "selectNextFile"
QT_MOC_LITERAL(31, 360, 17), // "selectCurrentFile"
QT_MOC_LITERAL(32, 378, 15), // "expandDirectory"
QT_MOC_LITERAL(33, 394, 14), // "expandFileList"
QT_MOC_LITERAL(34, 409, 19), // "applyFilenameFormat"
QT_MOC_LITERAL(35, 429, 14), // "applyTagFormat"
QT_MOC_LITERAL(36, 444, 17), // "applyTextEncoding"
QT_MOC_LITERAL(37, 462, 17), // "setDirNameFromTag"
QT_MOC_LITERAL(38, 480, 6), // "format"
QT_MOC_LITERAL(39, 487, 6), // "create"
QT_MOC_LITERAL(40, 494, 12), // "numberTracks"
QT_MOC_LITERAL(41, 507, 12), // "firstTrackNr"
QT_MOC_LITERAL(42, 520, 6), // "filter"
QT_MOC_LITERAL(43, 527, 10), // "expression"
QT_MOC_LITERAL(44, 538, 15), // "convertToId3v24"
QT_MOC_LITERAL(45, 554, 15), // "convertToId3v23"
QT_MOC_LITERAL(46, 570, 16), // "getDirectoryName"
QT_MOC_LITERAL(47, 587, 11), // "getFileName"
QT_MOC_LITERAL(48, 599, 11), // "setFileName"
QT_MOC_LITERAL(49, 611, 4), // "name"
QT_MOC_LITERAL(50, 616, 17), // "setFileNameFormat"
QT_MOC_LITERAL(51, 634, 18), // "setFileNameFromTag"
QT_MOC_LITERAL(52, 653, 8), // "getFrame"
QT_MOC_LITERAL(53, 662, 8), // "setFrame"
QT_MOC_LITERAL(54, 671, 5), // "value"
QT_MOC_LITERAL(55, 677, 6), // "getTag"
QT_MOC_LITERAL(56, 684, 14), // "getInformation"
QT_MOC_LITERAL(57, 699, 18), // "setTagFromFileName"
QT_MOC_LITERAL(58, 718, 18), // "setTagFromOtherTag"
QT_MOC_LITERAL(59, 737, 7), // "copyTag"
QT_MOC_LITERAL(60, 745, 8), // "pasteTag"
QT_MOC_LITERAL(61, 754, 9), // "removeTag"
QT_MOC_LITERAL(62, 764, 20), // "reparseConfiguration"
QT_MOC_LITERAL(63, 785, 9), // "playAudio"
QT_MOC_LITERAL(64, 795, 24) // "onRenameActionsScheduled"

    },
    "ScriptInterface\0D-Bus Interface\0"
    "net.sourceforge.Kid3\0openDirectory\0\0"
    "path\0save\0getErrorMessage\0revert\0"
    "importFromFile\0tagMask\0fmtIdx\0"
    "importFromTags\0source\0extraction\0"
    "batchImport\0profileName\0downloadAlbumArt\0"
    "url\0allFilesInDir\0exportToFile\0"
    "createPlaylist\0quit\0selectAll\0deselectAll\0"
    "firstFile\0previousFile\0nextFile\0"
    "selectFirstFile\0selectPreviousFile\0"
    "selectNextFile\0selectCurrentFile\0"
    "expandDirectory\0expandFileList\0"
    "applyFilenameFormat\0applyTagFormat\0"
    "applyTextEncoding\0setDirNameFromTag\0"
    "format\0create\0numberTracks\0firstTrackNr\0"
    "filter\0expression\0convertToId3v24\0"
    "convertToId3v23\0getDirectoryName\0"
    "getFileName\0setFileName\0name\0"
    "setFileNameFormat\0setFileNameFromTag\0"
    "getFrame\0setFrame\0value\0getTag\0"
    "getInformation\0setTagFromFileName\0"
    "setTagFromOtherTag\0copyTag\0pasteTag\0"
    "removeTag\0reparseConfiguration\0playAudio\0"
    "onRenameActionsScheduled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ScriptInterface[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    1,  251,    4, 0x0a /* Public */,
       6,    0,  254,    4, 0x0a /* Public */,
       7,    0,  255,    4, 0x0a /* Public */,
       8,    0,  256,    4, 0x0a /* Public */,
       9,    3,  257,    4, 0x0a /* Public */,
      12,    3,  264,    4, 0x0a /* Public */,
      15,    2,  271,    4, 0x0a /* Public */,
      17,    2,  276,    4, 0x0a /* Public */,
      20,    3,  281,    4, 0x0a /* Public */,
      21,    0,  288,    4, 0x0a /* Public */,
      22,    0,  289,    4, 0x0a /* Public */,
      23,    0,  290,    4, 0x0a /* Public */,
      24,    0,  291,    4, 0x0a /* Public */,
      25,    0,  292,    4, 0x0a /* Public */,
      26,    0,  293,    4, 0x0a /* Public */,
      27,    0,  294,    4, 0x0a /* Public */,
      28,    0,  295,    4, 0x0a /* Public */,
      29,    0,  296,    4, 0x0a /* Public */,
      30,    0,  297,    4, 0x0a /* Public */,
      31,    0,  298,    4, 0x0a /* Public */,
      32,    0,  299,    4, 0x0a /* Public */,
      33,    0,  300,    4, 0x0a /* Public */,
      34,    0,  301,    4, 0x0a /* Public */,
      35,    0,  302,    4, 0x0a /* Public */,
      36,    0,  303,    4, 0x0a /* Public */,
      37,    3,  304,    4, 0x0a /* Public */,
      40,    2,  311,    4, 0x0a /* Public */,
      42,    1,  316,    4, 0x0a /* Public */,
      44,    0,  319,    4, 0x0a /* Public */,
      45,    0,  320,    4, 0x0a /* Public */,
      46,    0,  321,    4, 0x0a /* Public */,
      47,    0,  322,    4, 0x0a /* Public */,
      48,    1,  323,    4, 0x0a /* Public */,
      50,    1,  326,    4, 0x0a /* Public */,
      51,    1,  329,    4, 0x0a /* Public */,
      52,    2,  332,    4, 0x0a /* Public */,
      53,    3,  337,    4, 0x0a /* Public */,
      55,    1,  344,    4, 0x0a /* Public */,
      56,    0,  347,    4, 0x0a /* Public */,
      57,    1,  348,    4, 0x0a /* Public */,
      58,    1,  351,    4, 0x0a /* Public */,
      59,    1,  354,    4, 0x0a /* Public */,
      60,    1,  357,    4, 0x0a /* Public */,
      61,    1,  360,    4, 0x0a /* Public */,
      62,    0,  363,    4, 0x0a /* Public */,
      63,    0,  364,    4, 0x0a /* Public */,
      64,    0,  365,    4, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool,
    QMetaType::QString,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::Int,   10,    5,   11,
    QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::QString,   10,   13,   14,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString,   10,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   18,   19,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::Int,   10,    5,   11,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::Bool,   10,   38,   39,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   10,   41,
    QMetaType::Void, QMetaType::QString,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,   49,
    QMetaType::Void, QMetaType::QString,   38,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::QString, QMetaType::Int, QMetaType::QString,   10,   49,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QString,   10,   49,   54,
    QMetaType::QStringList, QMetaType::Int,   10,
    QMetaType::QStringList,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject ScriptInterface::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_ScriptInterface.data,
      qt_meta_data_ScriptInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ScriptInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ScriptInterface.stringdata0))
        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 < 47)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 47;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 47)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 47;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
