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

#include <memory>
#include "../findsubtitles/findsubtitleswindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'findsubtitleswindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_FindSubtitlesWindow_t {
    QByteArrayData data[41];
    char stringdata0[508];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FindSubtitlesWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FindSubtitlesWindow_t qt_meta_stringdata_FindSubtitlesWindow = {
    {
QT_MOC_LITERAL(0, 0, 19), // "FindSubtitlesWindow"
QT_MOC_LITERAL(1, 20, 18), // "subtitleDownloaded"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 8), // "filename"
QT_MOC_LITERAL(4, 49, 8), // "setMovie"
QT_MOC_LITERAL(5, 58, 11), // "setLanguage"
QT_MOC_LITERAL(6, 70, 4), // "lang"
QT_MOC_LITERAL(7, 75, 11), // "searchTitle"
QT_MOC_LITERAL(8, 87, 7), // "refresh"
QT_MOC_LITERAL(9, 95, 8), // "download"
QT_MOC_LITERAL(10, 104, 8), // "copyLink"
QT_MOC_LITERAL(11, 113, 24), // "setIncludeLangOnFilename"
QT_MOC_LITERAL(12, 138, 1), // "b"
QT_MOC_LITERAL(13, 140, 11), // "applyFilter"
QT_MOC_LITERAL(14, 152, 6), // "filter"
QT_MOC_LITERAL(15, 159, 18), // "applyCurrentFilter"
QT_MOC_LITERAL(16, 178, 9), // "showError"
QT_MOC_LITERAL(17, 188, 5), // "error"
QT_MOC_LITERAL(18, 194, 14), // "showConnecting"
QT_MOC_LITERAL(19, 209, 15), // "showLoginFailed"
QT_MOC_LITERAL(20, 225, 16), // "showSearchFailed"
QT_MOC_LITERAL(21, 242, 18), // "showDownloadFailed"
QT_MOC_LITERAL(22, 261, 11), // "showErrorOS"
QT_MOC_LITERAL(23, 273, 22), // "updateDataReadProgress"
QT_MOC_LITERAL(24, 296, 4), // "done"
QT_MOC_LITERAL(25, 301, 5), // "total"
QT_MOC_LITERAL(26, 307, 16), // "downloadFinished"
QT_MOC_LITERAL(27, 324, 19), // "updateRefreshButton"
QT_MOC_LITERAL(28, 344, 9), // "parseInfo"
QT_MOC_LITERAL(29, 354, 13), // "itemActivated"
QT_MOC_LITERAL(30, 368, 11), // "QModelIndex"
QT_MOC_LITERAL(31, 380, 5), // "index"
QT_MOC_LITERAL(32, 386, 18), // "currentItemChanged"
QT_MOC_LITERAL(33, 405, 7), // "current"
QT_MOC_LITERAL(34, 413, 8), // "previous"
QT_MOC_LITERAL(35, 422, 15), // "showContextMenu"
QT_MOC_LITERAL(36, 438, 3), // "pos"
QT_MOC_LITERAL(37, 442, 17), // "archiveDownloaded"
QT_MOC_LITERAL(38, 460, 6), // "buffer"
QT_MOC_LITERAL(39, 467, 27), // "on_configure_button_clicked"
QT_MOC_LITERAL(40, 495, 12) // "fixSubtitles"

    },
    "FindSubtitlesWindow\0subtitleDownloaded\0"
    "\0filename\0setMovie\0setLanguage\0lang\0"
    "searchTitle\0refresh\0download\0copyLink\0"
    "setIncludeLangOnFilename\0b\0applyFilter\0"
    "filter\0applyCurrentFilter\0showError\0"
    "error\0showConnecting\0showLoginFailed\0"
    "showSearchFailed\0showDownloadFailed\0"
    "showErrorOS\0updateDataReadProgress\0"
    "done\0total\0downloadFinished\0"
    "updateRefreshButton\0parseInfo\0"
    "itemActivated\0QModelIndex\0index\0"
    "currentItemChanged\0current\0previous\0"
    "showContextMenu\0pos\0archiveDownloaded\0"
    "buffer\0on_configure_button_clicked\0"
    "fixSubtitles"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FindSubtitlesWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,  147,    2, 0x0a /* Public */,
       5,    1,  150,    2, 0x0a /* Public */,
       7,    0,  153,    2, 0x0a /* Public */,
       8,    0,  154,    2, 0x0a /* Public */,
       9,    0,  155,    2, 0x0a /* Public */,
      10,    0,  156,    2, 0x0a /* Public */,
      11,    1,  157,    2, 0x0a /* Public */,
      13,    1,  160,    2, 0x09 /* Protected */,
      15,    0,  163,    2, 0x09 /* Protected */,
      16,    1,  164,    2, 0x09 /* Protected */,
      18,    0,  167,    2, 0x09 /* Protected */,
      19,    0,  168,    2, 0x09 /* Protected */,
      20,    0,  169,    2, 0x09 /* Protected */,
      21,    0,  170,    2, 0x09 /* Protected */,
      22,    2,  171,    2, 0x09 /* Protected */,
      23,    2,  176,    2, 0x09 /* Protected */,
      26,    0,  181,    2, 0x09 /* Protected */,
      27,    0,  182,    2, 0x09 /* Protected */,
      28,    0,  183,    2, 0x09 /* Protected */,
      29,    1,  184,    2, 0x09 /* Protected */,
      32,    2,  187,    2, 0x09 /* Protected */,
      35,    1,  192,    2, 0x09 /* Protected */,
      37,    1,  195,    2, 0x09 /* Protected */,
      39,    0,  198,    2, 0x09 /* Protected */,
      40,    1,  199,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   24,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 30,   33,   34,
    QMetaType::Void, QMetaType::QPoint,   36,
    QMetaType::Void, QMetaType::QByteArray,   38,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    3,

       0        // eod
};

void FindSubtitlesWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FindSubtitlesWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->subtitleDownloaded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setMovie((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->setLanguage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->searchTitle(); break;
        case 4: _t->refresh(); break;
        case 5: _t->download(); break;
        case 6: _t->copyLink(); break;
        case 7: _t->setIncludeLangOnFilename((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->applyFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->applyCurrentFilter(); break;
        case 10: _t->showError((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 11: _t->showConnecting(); break;
        case 12: _t->showLoginFailed(); break;
        case 13: _t->showSearchFailed(); break;
        case 14: _t->showDownloadFailed(); break;
        case 15: _t->showErrorOS((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 16: _t->updateDataReadProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: _t->downloadFinished(); break;
        case 18: _t->updateRefreshButton(); break;
        case 19: _t->parseInfo(); break;
        case 20: _t->itemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 21: _t->currentItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 22: _t->showContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 23: _t->archiveDownloaded((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 24: _t->on_configure_button_clicked(); break;
        case 25: _t->fixSubtitles((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FindSubtitlesWindow::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FindSubtitlesWindow::subtitleDownloaded)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FindSubtitlesWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_FindSubtitlesWindow.data,
    qt_meta_data_FindSubtitlesWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *FindSubtitlesWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FindSubtitlesWindow.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::FindSubtitlesWindow"))
        return static_cast< Ui::FindSubtitlesWindow*>(this);
    return QWidget::qt_metacast(_clname);
}

int FindSubtitlesWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void FindSubtitlesWindow::subtitleDownloaded(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
