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

#include <memory>
#include "../../src/docks/encodedock.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'encodedock.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_EncodeDock_t {
    QByteArrayData data[51];
    char stringdata0[1142];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EncodeDock_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EncodeDock_t qt_meta_stringdata_EncodeDock = {
    {
QT_MOC_LITERAL(0, 0, 10), // "EncodeDock"
QT_MOC_LITERAL(1, 11, 19), // "captureStateChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 22), // "onAudioChannelsChanged"
QT_MOC_LITERAL(4, 55, 16), // "onProducerOpened"
QT_MOC_LITERAL(5, 72, 16), // "onProfileChanged"
QT_MOC_LITERAL(6, 89, 25), // "on_hwencodeButton_clicked"
QT_MOC_LITERAL(7, 115, 22), // "detectHardwareEncoders"
QT_MOC_LITERAL(8, 138, 22), // "on_presetsTree_clicked"
QT_MOC_LITERAL(9, 161, 11), // "QModelIndex"
QT_MOC_LITERAL(10, 173, 5), // "index"
QT_MOC_LITERAL(11, 179, 24), // "on_presetsTree_activated"
QT_MOC_LITERAL(12, 204, 23), // "on_encodeButton_clicked"
QT_MOC_LITERAL(13, 228, 23), // "on_streamButton_clicked"
QT_MOC_LITERAL(14, 252, 26), // "on_addPresetButton_clicked"
QT_MOC_LITERAL(15, 279, 29), // "on_removePresetButton_clicked"
QT_MOC_LITERAL(16, 309, 10), // "onFinished"
QT_MOC_LITERAL(17, 320, 12), // "AbstractJob*"
QT_MOC_LITERAL(18, 333, 9), // "isSuccess"
QT_MOC_LITERAL(19, 343, 28), // "on_stopCaptureButton_clicked"
QT_MOC_LITERAL(20, 372, 34), // "on_videoRateControlCombo_acti..."
QT_MOC_LITERAL(21, 407, 34), // "on_audioRateControlCombo_acti..."
QT_MOC_LITERAL(22, 442, 36), // "on_scanModeCombo_currentIndex..."
QT_MOC_LITERAL(23, 479, 28), // "on_presetsSearch_textChanged"
QT_MOC_LITERAL(24, 508, 6), // "search"
QT_MOC_LITERAL(25, 515, 22), // "on_resetButton_clicked"
QT_MOC_LITERAL(26, 538, 15), // "openCaptureFile"
QT_MOC_LITERAL(27, 554, 34), // "on_formatCombo_currentIndexCh..."
QT_MOC_LITERAL(28, 589, 29), // "on_videoBufferDurationChanged"
QT_MOC_LITERAL(29, 619, 26), // "on_gopSpinner_valueChanged"
QT_MOC_LITERAL(30, 646, 5), // "value"
QT_MOC_LITERAL(31, 652, 32), // "on_fromCombo_currentIndexChanged"
QT_MOC_LITERAL(32, 685, 38), // "on_videoCodecCombo_currentInd..."
QT_MOC_LITERAL(33, 724, 38), // "on_audioCodecCombo_currentInd..."
QT_MOC_LITERAL(34, 763, 16), // "setAudioChannels"
QT_MOC_LITERAL(35, 780, 8), // "channels"
QT_MOC_LITERAL(36, 789, 31), // "on_widthSpinner_editingFinished"
QT_MOC_LITERAL(37, 821, 32), // "on_heightSpinner_editingFinished"
QT_MOC_LITERAL(38, 854, 25), // "on_advancedButton_clicked"
QT_MOC_LITERAL(39, 880, 7), // "checked"
QT_MOC_LITERAL(40, 888, 27), // "on_hwencodeCheckBox_clicked"
QT_MOC_LITERAL(41, 916, 27), // "on_advancedCheckBox_clicked"
QT_MOC_LITERAL(42, 944, 29), // "on_fpsSpinner_editingFinished"
QT_MOC_LITERAL(43, 974, 24), // "on_fpsComboBox_activated"
QT_MOC_LITERAL(44, 999, 4), // "arg1"
QT_MOC_LITERAL(45, 1004, 35), // "on_videoQualitySpinner_valueC..."
QT_MOC_LITERAL(46, 1040, 2), // "vq"
QT_MOC_LITERAL(47, 1043, 35), // "on_audioQualitySpinner_valueC..."
QT_MOC_LITERAL(48, 1079, 2), // "aq"
QT_MOC_LITERAL(49, 1082, 27), // "on_parallelCheckbox_clicked"
QT_MOC_LITERAL(50, 1110, 31) // "on_resolutionComboBox_activated"

    },
    "EncodeDock\0captureStateChanged\0\0"
    "onAudioChannelsChanged\0onProducerOpened\0"
    "onProfileChanged\0on_hwencodeButton_clicked\0"
    "detectHardwareEncoders\0on_presetsTree_clicked\0"
    "QModelIndex\0index\0on_presetsTree_activated\0"
    "on_encodeButton_clicked\0on_streamButton_clicked\0"
    "on_addPresetButton_clicked\0"
    "on_removePresetButton_clicked\0onFinished\0"
    "AbstractJob*\0isSuccess\0"
    "on_stopCaptureButton_clicked\0"
    "on_videoRateControlCombo_activated\0"
    "on_audioRateControlCombo_activated\0"
    "on_scanModeCombo_currentIndexChanged\0"
    "on_presetsSearch_textChanged\0search\0"
    "on_resetButton_clicked\0openCaptureFile\0"
    "on_formatCombo_currentIndexChanged\0"
    "on_videoBufferDurationChanged\0"
    "on_gopSpinner_valueChanged\0value\0"
    "on_fromCombo_currentIndexChanged\0"
    "on_videoCodecCombo_currentIndexChanged\0"
    "on_audioCodecCombo_currentIndexChanged\0"
    "setAudioChannels\0channels\0"
    "on_widthSpinner_editingFinished\0"
    "on_heightSpinner_editingFinished\0"
    "on_advancedButton_clicked\0checked\0"
    "on_hwencodeCheckBox_clicked\0"
    "on_advancedCheckBox_clicked\0"
    "on_fpsSpinner_editingFinished\0"
    "on_fpsComboBox_activated\0arg1\0"
    "on_videoQualitySpinner_valueChanged\0"
    "vq\0on_audioQualitySpinner_valueChanged\0"
    "aq\0on_parallelCheckbox_clicked\0"
    "on_resolutionComboBox_activated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EncodeDock[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,  207,    2, 0x0a /* Public */,
       4,    0,  208,    2, 0x0a /* Public */,
       5,    0,  209,    2, 0x0a /* Public */,
       6,    0,  210,    2, 0x0a /* Public */,
       7,    0,  211,    2, 0x0a /* Public */,
       8,    1,  212,    2, 0x08 /* Private */,
      11,    1,  215,    2, 0x08 /* Private */,
      12,    0,  218,    2, 0x08 /* Private */,
      13,    0,  219,    2, 0x08 /* Private */,
      14,    0,  220,    2, 0x08 /* Private */,
      15,    0,  221,    2, 0x08 /* Private */,
      16,    2,  222,    2, 0x08 /* Private */,
      19,    0,  227,    2, 0x08 /* Private */,
      20,    1,  228,    2, 0x08 /* Private */,
      21,    1,  231,    2, 0x08 /* Private */,
      22,    1,  234,    2, 0x08 /* Private */,
      23,    1,  237,    2, 0x08 /* Private */,
      25,    0,  240,    2, 0x08 /* Private */,
      26,    0,  241,    2, 0x08 /* Private */,
      27,    1,  242,    2, 0x08 /* Private */,
      28,    0,  245,    2, 0x08 /* Private */,
      29,    1,  246,    2, 0x08 /* Private */,
      31,    1,  249,    2, 0x08 /* Private */,
      32,    1,  252,    2, 0x08 /* Private */,
      33,    1,  255,    2, 0x08 /* Private */,
      34,    1,  258,    2, 0x08 /* Private */,
      36,    0,  261,    2, 0x08 /* Private */,
      37,    0,  262,    2, 0x08 /* Private */,
      38,    1,  263,    2, 0x08 /* Private */,
      40,    1,  266,    2, 0x08 /* Private */,
      41,    1,  269,    2, 0x08 /* Private */,
      42,    0,  272,    2, 0x08 /* Private */,
      43,    1,  273,    2, 0x08 /* Private */,
      45,    1,  276,    2, 0x08 /* Private */,
      47,    1,  279,    2, 0x08 /* Private */,
      49,    1,  282,    2, 0x08 /* Private */,
      50,    1,  285,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17, QMetaType::Bool,    2,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   35,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   39,
    QMetaType::Void, QMetaType::Bool,   39,
    QMetaType::Void, QMetaType::Bool,   39,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   44,
    QMetaType::Void, QMetaType::Int,   46,
    QMetaType::Void, QMetaType::Int,   48,
    QMetaType::Void, QMetaType::Bool,   39,
    QMetaType::Void, QMetaType::QString,   44,

       0        // eod
};

void EncodeDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EncodeDock *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->captureStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->onAudioChannelsChanged(); break;
        case 2: _t->onProducerOpened(); break;
        case 3: _t->onProfileChanged(); break;
        case 4: _t->on_hwencodeButton_clicked(); break;
        case 5: { bool _r = _t->detectHardwareEncoders();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->on_presetsTree_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 7: _t->on_presetsTree_activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->on_encodeButton_clicked(); break;
        case 9: _t->on_streamButton_clicked(); break;
        case 10: _t->on_addPresetButton_clicked(); break;
        case 11: _t->on_removePresetButton_clicked(); break;
        case 12: _t->onFinished((*reinterpret_cast< AbstractJob*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->on_stopCaptureButton_clicked(); break;
        case 14: _t->on_videoRateControlCombo_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->on_audioRateControlCombo_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->on_scanModeCombo_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->on_presetsSearch_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->on_resetButton_clicked(); break;
        case 19: _t->openCaptureFile(); break;
        case 20: _t->on_formatCombo_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->on_videoBufferDurationChanged(); break;
        case 22: _t->on_gopSpinner_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->on_fromCombo_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->on_videoCodecCombo_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->on_audioCodecCombo_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->setAudioChannels((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 27: _t->on_widthSpinner_editingFinished(); break;
        case 28: _t->on_heightSpinner_editingFinished(); break;
        case 29: _t->on_advancedButton_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 30: _t->on_hwencodeCheckBox_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 31: _t->on_advancedCheckBox_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 32: _t->on_fpsSpinner_editingFinished(); break;
        case 33: _t->on_fpsComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 34: _t->on_videoQualitySpinner_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 35: _t->on_audioQualitySpinner_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 36: _t->on_parallelCheckbox_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 37: _t->on_resolutionComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EncodeDock::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EncodeDock::captureStateChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EncodeDock::staticMetaObject = { {
    QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
    qt_meta_stringdata_EncodeDock.data,
    qt_meta_data_EncodeDock,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *EncodeDock::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_EncodeDock.stringdata0))
        return static_cast<void*>(this);
    return QDockWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void EncodeDock::captureStateChanged(bool _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
