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

#include "../../../src/kdeplasma-addons-5.8.9/applets/notes/plugin/documenthandler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'documenthandler.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_DocumentHandler_t {
    QByteArrayData data[45];
    char stringdata0[591];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DocumentHandler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DocumentHandler_t qt_meta_stringdata_DocumentHandler = {
    {
QT_MOC_LITERAL(0, 0, 15), // "DocumentHandler"
QT_MOC_LITERAL(1, 16, 13), // "targetChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(4, 53, 21), // "selectionStartChanged"
QT_MOC_LITERAL(5, 75, 19), // "selectionEndChanged"
QT_MOC_LITERAL(6, 95, 17), // "fontFamilyChanged"
QT_MOC_LITERAL(7, 113, 16), // "textColorChanged"
QT_MOC_LITERAL(8, 130, 16), // "alignmentChanged"
QT_MOC_LITERAL(9, 147, 11), // "boldChanged"
QT_MOC_LITERAL(10, 159, 13), // "italicChanged"
QT_MOC_LITERAL(11, 173, 16), // "underlineChanged"
QT_MOC_LITERAL(12, 190, 16), // "strikeOutChanged"
QT_MOC_LITERAL(13, 207, 15), // "fontSizeChanged"
QT_MOC_LITERAL(14, 223, 23), // "defaultFontSizesChanged"
QT_MOC_LITERAL(15, 247, 14), // "fileUrlChanged"
QT_MOC_LITERAL(16, 262, 11), // "textChanged"
QT_MOC_LITERAL(17, 274, 20), // "documentTitleChanged"
QT_MOC_LITERAL(18, 295, 7), // "setBold"
QT_MOC_LITERAL(19, 303, 3), // "arg"
QT_MOC_LITERAL(20, 307, 9), // "setItalic"
QT_MOC_LITERAL(21, 317, 12), // "setUnderline"
QT_MOC_LITERAL(22, 330, 12), // "setStrikeOut"
QT_MOC_LITERAL(23, 343, 11), // "setFontSize"
QT_MOC_LITERAL(24, 355, 12), // "setTextColor"
QT_MOC_LITERAL(25, 368, 13), // "setFontFamily"
QT_MOC_LITERAL(26, 382, 7), // "setText"
QT_MOC_LITERAL(27, 390, 16), // "setDocumentTitle"
QT_MOC_LITERAL(28, 407, 6), // "target"
QT_MOC_LITERAL(29, 414, 11), // "QQuickItem*"
QT_MOC_LITERAL(30, 426, 14), // "cursorPosition"
QT_MOC_LITERAL(31, 441, 14), // "selectionStart"
QT_MOC_LITERAL(32, 456, 12), // "selectionEnd"
QT_MOC_LITERAL(33, 469, 9), // "textColor"
QT_MOC_LITERAL(34, 479, 10), // "fontFamily"
QT_MOC_LITERAL(35, 490, 9), // "alignment"
QT_MOC_LITERAL(36, 500, 13), // "Qt::Alignment"
QT_MOC_LITERAL(37, 514, 4), // "bold"
QT_MOC_LITERAL(38, 519, 6), // "italic"
QT_MOC_LITERAL(39, 526, 9), // "underline"
QT_MOC_LITERAL(40, 536, 9), // "strikeOut"
QT_MOC_LITERAL(41, 546, 8), // "fontSize"
QT_MOC_LITERAL(42, 555, 16), // "defaultFontSizes"
QT_MOC_LITERAL(43, 572, 4), // "text"
QT_MOC_LITERAL(44, 577, 13) // "documentTitle"

    },
    "DocumentHandler\0targetChanged\0\0"
    "cursorPositionChanged\0selectionStartChanged\0"
    "selectionEndChanged\0fontFamilyChanged\0"
    "textColorChanged\0alignmentChanged\0"
    "boldChanged\0italicChanged\0underlineChanged\0"
    "strikeOutChanged\0fontSizeChanged\0"
    "defaultFontSizesChanged\0fileUrlChanged\0"
    "textChanged\0documentTitleChanged\0"
    "setBold\0arg\0setItalic\0setUnderline\0"
    "setStrikeOut\0setFontSize\0setTextColor\0"
    "setFontFamily\0setText\0setDocumentTitle\0"
    "target\0QQuickItem*\0cursorPosition\0"
    "selectionStart\0selectionEnd\0textColor\0"
    "fontFamily\0alignment\0Qt::Alignment\0"
    "bold\0italic\0underline\0strikeOut\0"
    "fontSize\0defaultFontSizes\0text\0"
    "documentTitle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DocumentHandler[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      25,   14, // methods
      15,  182, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      16,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  139,    2, 0x06 /* Public */,
       3,    0,  140,    2, 0x06 /* Public */,
       4,    0,  141,    2, 0x06 /* Public */,
       5,    0,  142,    2, 0x06 /* Public */,
       6,    0,  143,    2, 0x06 /* Public */,
       7,    0,  144,    2, 0x06 /* Public */,
       8,    0,  145,    2, 0x06 /* Public */,
       9,    0,  146,    2, 0x06 /* Public */,
      10,    0,  147,    2, 0x06 /* Public */,
      11,    0,  148,    2, 0x06 /* Public */,
      12,    0,  149,    2, 0x06 /* Public */,
      13,    0,  150,    2, 0x06 /* Public */,
      14,    0,  151,    2, 0x06 /* Public */,
      15,    0,  152,    2, 0x06 /* Public */,
      16,    0,  153,    2, 0x06 /* Public */,
      17,    0,  154,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,  155,    2, 0x0a /* Public */,
      20,    1,  158,    2, 0x0a /* Public */,
      21,    1,  161,    2, 0x0a /* Public */,
      22,    1,  164,    2, 0x0a /* Public */,
      23,    1,  167,    2, 0x0a /* Public */,
      24,    1,  170,    2, 0x0a /* Public */,
      25,    1,  173,    2, 0x0a /* Public */,
      26,    1,  176,    2, 0x0a /* Public */,
      27,    1,  179,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::QColor,   19,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QString,   19,

 // properties: name, type, flags
      28, 0x80000000 | 29, 0x0049510b,
      30, QMetaType::Int, 0x00495103,
      31, QMetaType::Int, 0x00495103,
      32, QMetaType::Int, 0x00495103,
      33, QMetaType::QColor, 0x00495103,
      34, QMetaType::QString, 0x00495103,
      35, 0x80000000 | 36, 0x0049510b,
      37, QMetaType::Bool, 0x00495103,
      38, QMetaType::Bool, 0x00495103,
      39, QMetaType::Bool, 0x00495103,
      40, QMetaType::Bool, 0x00495103,
      41, QMetaType::Int, 0x00495103,
      42, QMetaType::QStringList, 0x00495001,
      43, QMetaType::QString, 0x00495103,
      44, QMetaType::QString, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       5,
       4,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      14,
      15,

 // enums: name, flags, count, data

 // enum data: key, value

       0        // eod
};

void DocumentHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DocumentHandler *_t = static_cast<DocumentHandler *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->targetChanged(); break;
        case 1: _t->cursorPositionChanged(); break;
        case 2: _t->selectionStartChanged(); break;
        case 3: _t->selectionEndChanged(); break;
        case 4: _t->fontFamilyChanged(); break;
        case 5: _t->textColorChanged(); break;
        case 6: _t->alignmentChanged(); break;
        case 7: _t->boldChanged(); break;
        case 8: _t->italicChanged(); break;
        case 9: _t->underlineChanged(); break;
        case 10: _t->strikeOutChanged(); break;
        case 11: _t->fontSizeChanged(); break;
        case 12: _t->defaultFontSizesChanged(); break;
        case 13: _t->fileUrlChanged(); break;
        case 14: _t->textChanged(); break;
        case 15: _t->documentTitleChanged(); break;
        case 16: _t->setBold((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->setItalic((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->setUnderline((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->setStrikeOut((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->setTextColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 22: _t->setFontFamily((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 23: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 24: _t->setDocumentTitle((*reinterpret_cast< QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::targetChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::cursorPositionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::selectionStartChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::selectionEndChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::fontFamilyChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::textColorChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::alignmentChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::boldChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::italicChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::underlineChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::strikeOutChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::fontSizeChanged)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::defaultFontSizesChanged)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::fileUrlChanged)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::textChanged)) {
                *result = 14;
                return;
            }
        }
        {
            typedef void (DocumentHandler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DocumentHandler::documentTitleChanged)) {
                *result = 15;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DocumentHandler *_t = static_cast<DocumentHandler *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->selectionStart(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->selectionEnd(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->fontFamily(); break;
        case 6: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->bold(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->italic(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->underline(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->strikeOut(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->fontSize(); break;
        case 12: *reinterpret_cast< QStringList*>(_v) = _t->defaultFontSizes(); break;
        case 13: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 14: *reinterpret_cast< QString*>(_v) = _t->documentTitle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        DocumentHandler *_t = static_cast<DocumentHandler *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 1: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setSelectionStart(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setSelectionEnd(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 5: _t->setFontFamily(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 7: _t->setBold(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setItalic(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setUnderline(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setStrikeOut(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setFontSize(*reinterpret_cast< int*>(_v)); break;
        case 13: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 14: _t->setDocumentTitle(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject DocumentHandler::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DocumentHandler.data,
      qt_meta_data_DocumentHandler,  qt_static_metacall, nullptr, nullptr}
};


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

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

int DocumentHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 25;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void DocumentHandler::targetChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void DocumentHandler::cursorPositionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void DocumentHandler::selectionStartChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void DocumentHandler::selectionEndChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void DocumentHandler::fontFamilyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void DocumentHandler::textColorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DocumentHandler::alignmentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void DocumentHandler::boldChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void DocumentHandler::italicChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void DocumentHandler::underlineChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void DocumentHandler::strikeOutChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void DocumentHandler::fontSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void DocumentHandler::defaultFontSizesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void DocumentHandler::fileUrlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void DocumentHandler::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void DocumentHandler::documentTitleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
