/****************************************************************************
** Meta object code from reading C++ file 'kpToolText.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/kolourpaint-17.12.3/tools/selection/text/kpToolText.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpToolText.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_kpToolText_t {
    QByteArrayData data[26];
    char stringdata0[398];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kpToolText_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kpToolText_t qt_meta_stringdata_kpToolText = {
    {
QT_MOC_LITERAL(0, 0, 10), // "kpToolText"
QT_MOC_LITERAL(1, 11, 19), // "slotIsOpaqueChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 8), // "isOpaque"
QT_MOC_LITERAL(4, 41, 17), // "slotColorsSwapped"
QT_MOC_LITERAL(5, 59, 7), // "kpColor"
QT_MOC_LITERAL(6, 67, 18), // "newForegroundColor"
QT_MOC_LITERAL(7, 86, 18), // "newBackgroundColor"
QT_MOC_LITERAL(8, 105, 26), // "slotForegroundColorChanged"
QT_MOC_LITERAL(9, 132, 5), // "color"
QT_MOC_LITERAL(10, 138, 26), // "slotBackgroundColorChanged"
QT_MOC_LITERAL(11, 165, 26), // "slotColorSimilarityChanged"
QT_MOC_LITERAL(12, 192, 21), // "slotFontFamilyChanged"
QT_MOC_LITERAL(13, 214, 10), // "fontFamily"
QT_MOC_LITERAL(14, 225, 13), // "oldFontFamily"
QT_MOC_LITERAL(15, 239, 19), // "slotFontSizeChanged"
QT_MOC_LITERAL(16, 259, 8), // "fontSize"
QT_MOC_LITERAL(17, 268, 11), // "oldFontSize"
QT_MOC_LITERAL(18, 280, 15), // "slotBoldChanged"
QT_MOC_LITERAL(19, 296, 6), // "isBold"
QT_MOC_LITERAL(20, 303, 17), // "slotItalicChanged"
QT_MOC_LITERAL(21, 321, 8), // "isItalic"
QT_MOC_LITERAL(22, 330, 20), // "slotUnderlineChanged"
QT_MOC_LITERAL(23, 351, 11), // "isUnderline"
QT_MOC_LITERAL(24, 363, 21), // "slotStrikeThruChanged"
QT_MOC_LITERAL(25, 385, 12) // "isStrikeThru"

    },
    "kpToolText\0slotIsOpaqueChanged\0\0"
    "isOpaque\0slotColorsSwapped\0kpColor\0"
    "newForegroundColor\0newBackgroundColor\0"
    "slotForegroundColorChanged\0color\0"
    "slotBackgroundColorChanged\0"
    "slotColorSimilarityChanged\0"
    "slotFontFamilyChanged\0fontFamily\0"
    "oldFontFamily\0slotFontSizeChanged\0"
    "fontSize\0oldFontSize\0slotBoldChanged\0"
    "isBold\0slotItalicChanged\0isItalic\0"
    "slotUnderlineChanged\0isUnderline\0"
    "slotStrikeThruChanged\0isStrikeThru"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kpToolText[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x09 /* Protected */,
       4,    2,   72,    2, 0x09 /* Protected */,
       8,    1,   77,    2, 0x09 /* Protected */,
      10,    1,   80,    2, 0x09 /* Protected */,
      11,    2,   83,    2, 0x09 /* Protected */,
      12,    2,   88,    2, 0x0a /* Public */,
      15,    2,   93,    2, 0x0a /* Public */,
      18,    1,   98,    2, 0x0a /* Public */,
      20,    1,  101,    2, 0x0a /* Public */,
      22,    1,  104,    2, 0x0a /* Public */,
      24,    1,  107,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 5,    6,    7,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, QMetaType::Double, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   13,   14,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   16,   17,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   25,

       0        // eod
};

void kpToolText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        kpToolText *_t = static_cast<kpToolText *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotIsOpaqueChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->slotColorsSwapped((*reinterpret_cast< const kpColor(*)>(_a[1])),(*reinterpret_cast< const kpColor(*)>(_a[2]))); break;
        case 2: _t->slotForegroundColorChanged((*reinterpret_cast< const kpColor(*)>(_a[1]))); break;
        case 3: _t->slotBackgroundColorChanged((*reinterpret_cast< const kpColor(*)>(_a[1]))); break;
        case 4: _t->slotColorSimilarityChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->slotFontFamilyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->slotFontSizeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->slotBoldChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->slotItalicChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->slotUnderlineChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->slotStrikeThruChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject kpToolText::staticMetaObject = {
    { &kpAbstractSelectionTool::staticMetaObject, qt_meta_stringdata_kpToolText.data,
      qt_meta_data_kpToolText,  qt_static_metacall, nullptr, nullptr}
};


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

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

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