/****************************************************************************
** Meta object code from reading C++ file 'bytearrayview.hpp'
**
** 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 "../../../../../okteta-0.26.27/kasten/gui/view/bytearrayview.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bytearrayview.hpp' 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_Kasten__ByteArrayView_t {
    QByteArrayData data[45];
    char stringdata0[794];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kasten__ByteArrayView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kasten__ByteArrayView_t qt_meta_stringdata_Kasten__ByteArrayView = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Kasten::ByteArrayView"
QT_MOC_LITERAL(1, 22, 16), // "zoomLevelChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 9), // "zoomScale"
QT_MOC_LITERAL(4, 50, 22), // "hasSelectedDataChanged"
QT_MOC_LITERAL(5, 73, 15), // "hasSelectedData"
QT_MOC_LITERAL(6, 89, 19), // "selectedDataChanged"
QT_MOC_LITERAL(7, 109, 37), // "const Kasten::AbstractModelSe..."
QT_MOC_LITERAL(8, 147, 14), // "modelSelection"
QT_MOC_LITERAL(9, 162, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(10, 184, 15), // "Okteta::Address"
QT_MOC_LITERAL(11, 200, 14), // "cursorPosition"
QT_MOC_LITERAL(12, 215, 16), // "charCodecChanged"
QT_MOC_LITERAL(13, 232, 14), // "charCodingName"
QT_MOC_LITERAL(14, 247, 18), // "valueCodingChanged"
QT_MOC_LITERAL(15, 266, 11), // "valueCoding"
QT_MOC_LITERAL(16, 278, 20), // "overwriteModeChanged"
QT_MOC_LITERAL(17, 299, 13), // "overwriteMode"
QT_MOC_LITERAL(18, 313, 26), // "offsetColumnVisibleChanged"
QT_MOC_LITERAL(19, 340, 7), // "visible"
QT_MOC_LITERAL(20, 348, 30), // "visibleByteArrayCodingsChanged"
QT_MOC_LITERAL(21, 379, 7), // "columns"
QT_MOC_LITERAL(22, 387, 19), // "offsetCodingChanged"
QT_MOC_LITERAL(23, 407, 12), // "offsetCoding"
QT_MOC_LITERAL(24, 420, 18), // "layoutStyleChanged"
QT_MOC_LITERAL(25, 439, 11), // "layoutStyle"
QT_MOC_LITERAL(26, 451, 23), // "noOfBytesPerLineChanged"
QT_MOC_LITERAL(27, 475, 16), // "noOfBytesPerLine"
QT_MOC_LITERAL(28, 492, 23), // "showsNonprintingChanged"
QT_MOC_LITERAL(29, 516, 16), // "showsNonprinting"
QT_MOC_LITERAL(30, 533, 21), // "substituteCharChanged"
QT_MOC_LITERAL(31, 555, 14), // "substituteChar"
QT_MOC_LITERAL(32, 570, 20), // "undefinedCharChanged"
QT_MOC_LITERAL(33, 591, 13), // "undefinedChar"
QT_MOC_LITERAL(34, 605, 23), // "noOfGroupedBytesChanged"
QT_MOC_LITERAL(35, 629, 16), // "noOfGroupedBytes"
QT_MOC_LITERAL(36, 646, 17), // "zoomLevelsChanged"
QT_MOC_LITERAL(37, 664, 16), // "viewModusChanged"
QT_MOC_LITERAL(38, 681, 9), // "viewModus"
QT_MOC_LITERAL(39, 691, 24), // "viewContextMenuRequested"
QT_MOC_LITERAL(40, 716, 3), // "pos"
QT_MOC_LITERAL(41, 720, 23), // "setFontByGlobalSettings"
QT_MOC_LITERAL(42, 744, 18), // "onSelectionChanged"
QT_MOC_LITERAL(43, 763, 20), // "Okteta::AddressRange"
QT_MOC_LITERAL(44, 784, 9) // "selection"

    },
    "Kasten::ByteArrayView\0zoomLevelChanged\0"
    "\0zoomScale\0hasSelectedDataChanged\0"
    "hasSelectedData\0selectedDataChanged\0"
    "const Kasten::AbstractModelSelection*\0"
    "modelSelection\0cursorPositionChanged\0"
    "Okteta::Address\0cursorPosition\0"
    "charCodecChanged\0charCodingName\0"
    "valueCodingChanged\0valueCoding\0"
    "overwriteModeChanged\0overwriteMode\0"
    "offsetColumnVisibleChanged\0visible\0"
    "visibleByteArrayCodingsChanged\0columns\0"
    "offsetCodingChanged\0offsetCoding\0"
    "layoutStyleChanged\0layoutStyle\0"
    "noOfBytesPerLineChanged\0noOfBytesPerLine\0"
    "showsNonprintingChanged\0showsNonprinting\0"
    "substituteCharChanged\0substituteChar\0"
    "undefinedCharChanged\0undefinedChar\0"
    "noOfGroupedBytesChanged\0noOfGroupedBytes\0"
    "zoomLevelsChanged\0viewModusChanged\0"
    "viewModus\0viewContextMenuRequested\0"
    "pos\0setFontByGlobalSettings\0"
    "onSelectionChanged\0Okteta::AddressRange\0"
    "selection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kasten__ByteArrayView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  119,    2, 0x06 /* Public */,
       4,    1,  122,    2, 0x06 /* Public */,
       6,    1,  125,    2, 0x06 /* Public */,
       9,    1,  128,    2, 0x06 /* Public */,
      12,    1,  131,    2, 0x06 /* Public */,
      14,    1,  134,    2, 0x06 /* Public */,
      16,    1,  137,    2, 0x06 /* Public */,
      18,    1,  140,    2, 0x06 /* Public */,
      20,    1,  143,    2, 0x06 /* Public */,
      22,    1,  146,    2, 0x06 /* Public */,
      24,    1,  149,    2, 0x06 /* Public */,
      26,    1,  152,    2, 0x06 /* Public */,
      28,    1,  155,    2, 0x06 /* Public */,
      30,    1,  158,    2, 0x06 /* Public */,
      32,    1,  161,    2, 0x06 /* Public */,
      34,    1,  164,    2, 0x06 /* Public */,
      36,    0,  167,    2, 0x06 /* Public */,
      37,    1,  168,    2, 0x06 /* Public */,
      39,    1,  171,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      41,    0,  174,    2, 0x08 /* Private */,
      42,    1,  175,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void, QMetaType::Bool,   29,
    QMetaType::Void, QMetaType::QChar,   31,
    QMetaType::Void, QMetaType::QChar,   33,
    QMetaType::Void, QMetaType::Int,   35,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   38,
    QMetaType::Void, QMetaType::QPoint,   40,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 43,   44,

       0        // eod
};

void Kasten::ByteArrayView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ByteArrayView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->zoomLevelChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 1: _t->hasSelectedDataChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->selectedDataChanged((*reinterpret_cast< const Kasten::AbstractModelSelection*(*)>(_a[1]))); break;
        case 3: _t->cursorPositionChanged((*reinterpret_cast< Okteta::Address(*)>(_a[1]))); break;
        case 4: _t->charCodecChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->valueCodingChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->overwriteModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->offsetColumnVisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->visibleByteArrayCodingsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->offsetCodingChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->layoutStyleChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->noOfBytesPerLineChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->showsNonprintingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->substituteCharChanged((*reinterpret_cast< QChar(*)>(_a[1]))); break;
        case 14: _t->undefinedCharChanged((*reinterpret_cast< QChar(*)>(_a[1]))); break;
        case 15: _t->noOfGroupedBytesChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->zoomLevelsChanged(); break;
        case 17: _t->viewModusChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->viewContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 19: _t->setFontByGlobalSettings(); break;
        case 20: _t->onSelectionChanged((*reinterpret_cast< const Okteta::AddressRange(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ByteArrayView::*)(double );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::zoomLevelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::hasSelectedDataChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(const Kasten::AbstractModelSelection * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::selectedDataChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(Okteta::Address );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::cursorPositionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::charCodecChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::valueCodingChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::overwriteModeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::offsetColumnVisibleChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::visibleByteArrayCodingsChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::offsetCodingChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::layoutStyleChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::noOfBytesPerLineChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::showsNonprintingChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(QChar );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::substituteCharChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(QChar );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::undefinedCharChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::noOfGroupedBytesChanged)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::zoomLevelsChanged)) {
                *result = 16;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::viewModusChanged)) {
                *result = 17;
                return;
            }
        }
        {
            using _t = void (ByteArrayView::*)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ByteArrayView::viewContextMenuRequested)) {
                *result = 18;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Kasten::ByteArrayView::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractView::staticMetaObject>(),
    qt_meta_stringdata_Kasten__ByteArrayView.data,
    qt_meta_data_Kasten__ByteArrayView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Kasten::ByteArrayView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kasten__ByteArrayView.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "If::Zoomable"))
        return static_cast< If::Zoomable*>(this);
    if (!strcmp(_clname, "If::DataSelectable"))
        return static_cast< If::DataSelectable*>(this);
    if (!strcmp(_clname, "If::SelectedDataWriteable"))
        return static_cast< If::SelectedDataWriteable*>(this);
    if (!strcmp(_clname, "org.kde.kasten.if.zoomable/1.0"))
        return static_cast< Kasten::If::Zoomable*>(this);
    if (!strcmp(_clname, "org.kde.kasten.if.dataselectable/1.0"))
        return static_cast< Kasten::If::DataSelectable*>(this);
    if (!strcmp(_clname, "org.kde.kasten.if.selecteddatawriteable/1.0"))
        return static_cast< Kasten::If::SelectedDataWriteable*>(this);
    return AbstractView::qt_metacast(_clname);
}

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

// SIGNAL 0
void Kasten::ByteArrayView::zoomLevelChanged(double _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kasten::ByteArrayView::hasSelectedDataChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kasten::ByteArrayView::selectedDataChanged(const Kasten::AbstractModelSelection * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Kasten::ByteArrayView::cursorPositionChanged(Okteta::Address _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kasten::ByteArrayView::charCodecChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kasten::ByteArrayView::valueCodingChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Kasten::ByteArrayView::overwriteModeChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Kasten::ByteArrayView::offsetColumnVisibleChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Kasten::ByteArrayView::visibleByteArrayCodingsChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Kasten::ByteArrayView::offsetCodingChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Kasten::ByteArrayView::layoutStyleChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Kasten::ByteArrayView::noOfBytesPerLineChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Kasten::ByteArrayView::showsNonprintingChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Kasten::ByteArrayView::substituteCharChanged(QChar _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void Kasten::ByteArrayView::undefinedCharChanged(QChar _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}

// SIGNAL 15
void Kasten::ByteArrayView::noOfGroupedBytesChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 15, _a);
}

// SIGNAL 16
void Kasten::ByteArrayView::zoomLevelsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}

// SIGNAL 17
void Kasten::ByteArrayView::viewModusChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 17, _a);
}

// SIGNAL 18
void Kasten::ByteArrayView::viewContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 18, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
