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

#include <memory>
#include "../widgets/qlineedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlineedit.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QLineEdit_t {
    QByteArrayData data[58];
    char stringdata0[747];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QLineEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QLineEdit_t qt_meta_stringdata_QLineEdit = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QLineEdit"
QT_MOC_LITERAL(1, 10, 11), // "textChanged"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 10), // "textEdited"
QT_MOC_LITERAL(4, 34, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(5, 56, 13), // "returnPressed"
QT_MOC_LITERAL(6, 70, 15), // "editingFinished"
QT_MOC_LITERAL(7, 86, 16), // "selectionChanged"
QT_MOC_LITERAL(8, 103, 13), // "inputRejected"
QT_MOC_LITERAL(9, 117, 7), // "setText"
QT_MOC_LITERAL(10, 125, 5), // "clear"
QT_MOC_LITERAL(11, 131, 9), // "selectAll"
QT_MOC_LITERAL(12, 141, 4), // "undo"
QT_MOC_LITERAL(13, 146, 4), // "redo"
QT_MOC_LITERAL(14, 151, 3), // "cut"
QT_MOC_LITERAL(15, 155, 4), // "copy"
QT_MOC_LITERAL(16, 160, 5), // "paste"
QT_MOC_LITERAL(17, 166, 23), // "_q_handleWindowActivate"
QT_MOC_LITERAL(18, 190, 13), // "_q_textEdited"
QT_MOC_LITERAL(19, 204, 24), // "_q_cursorPositionChanged"
QT_MOC_LITERAL(20, 229, 24), // "_q_completionHighlighted"
QT_MOC_LITERAL(21, 254, 19), // "_q_selectionChanged"
QT_MOC_LITERAL(22, 274, 15), // "_q_updateNeeded"
QT_MOC_LITERAL(23, 290, 14), // "_q_textChanged"
QT_MOC_LITERAL(24, 305, 21), // "_q_clearButtonClicked"
QT_MOC_LITERAL(25, 327, 16), // "inputMethodQuery"
QT_MOC_LITERAL(26, 344, 20), // "Qt::InputMethodQuery"
QT_MOC_LITERAL(27, 365, 8), // "property"
QT_MOC_LITERAL(28, 374, 8), // "argument"
QT_MOC_LITERAL(29, 383, 9), // "inputMask"
QT_MOC_LITERAL(30, 393, 4), // "text"
QT_MOC_LITERAL(31, 398, 9), // "maxLength"
QT_MOC_LITERAL(32, 408, 5), // "frame"
QT_MOC_LITERAL(33, 414, 8), // "echoMode"
QT_MOC_LITERAL(34, 423, 8), // "EchoMode"
QT_MOC_LITERAL(35, 432, 11), // "displayText"
QT_MOC_LITERAL(36, 444, 14), // "cursorPosition"
QT_MOC_LITERAL(37, 459, 9), // "alignment"
QT_MOC_LITERAL(38, 469, 13), // "Qt::Alignment"
QT_MOC_LITERAL(39, 483, 8), // "modified"
QT_MOC_LITERAL(40, 492, 15), // "hasSelectedText"
QT_MOC_LITERAL(41, 508, 12), // "selectedText"
QT_MOC_LITERAL(42, 521, 11), // "dragEnabled"
QT_MOC_LITERAL(43, 533, 8), // "readOnly"
QT_MOC_LITERAL(44, 542, 13), // "undoAvailable"
QT_MOC_LITERAL(45, 556, 13), // "redoAvailable"
QT_MOC_LITERAL(46, 570, 15), // "acceptableInput"
QT_MOC_LITERAL(47, 586, 15), // "placeholderText"
QT_MOC_LITERAL(48, 602, 15), // "cursorMoveStyle"
QT_MOC_LITERAL(49, 618, 19), // "Qt::CursorMoveStyle"
QT_MOC_LITERAL(50, 638, 18), // "clearButtonEnabled"
QT_MOC_LITERAL(51, 657, 14), // "ActionPosition"
QT_MOC_LITERAL(52, 672, 15), // "LeadingPosition"
QT_MOC_LITERAL(53, 688, 16), // "TrailingPosition"
QT_MOC_LITERAL(54, 705, 6), // "Normal"
QT_MOC_LITERAL(55, 712, 6), // "NoEcho"
QT_MOC_LITERAL(56, 719, 8), // "Password"
QT_MOC_LITERAL(57, 728, 18) // "PasswordEchoOnEdit"

    },
    "QLineEdit\0textChanged\0\0textEdited\0"
    "cursorPositionChanged\0returnPressed\0"
    "editingFinished\0selectionChanged\0"
    "inputRejected\0setText\0clear\0selectAll\0"
    "undo\0redo\0cut\0copy\0paste\0"
    "_q_handleWindowActivate\0_q_textEdited\0"
    "_q_cursorPositionChanged\0"
    "_q_completionHighlighted\0_q_selectionChanged\0"
    "_q_updateNeeded\0_q_textChanged\0"
    "_q_clearButtonClicked\0inputMethodQuery\0"
    "Qt::InputMethodQuery\0property\0argument\0"
    "inputMask\0text\0maxLength\0frame\0echoMode\0"
    "EchoMode\0displayText\0cursorPosition\0"
    "alignment\0Qt::Alignment\0modified\0"
    "hasSelectedText\0selectedText\0dragEnabled\0"
    "readOnly\0undoAvailable\0redoAvailable\0"
    "acceptableInput\0placeholderText\0"
    "cursorMoveStyle\0Qt::CursorMoveStyle\0"
    "clearButtonEnabled\0ActionPosition\0"
    "LeadingPosition\0TrailingPosition\0"
    "Normal\0NoEcho\0Password\0PasswordEchoOnEdit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QLineEdit[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
      19,  184, // properties
       2,  260, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       3,    1,  137,    2, 0x06 /* Public */,
       4,    2,  140,    2, 0x06 /* Public */,
       5,    0,  145,    2, 0x06 /* Public */,
       6,    0,  146,    2, 0x06 /* Public */,
       7,    0,  147,    2, 0x06 /* Public */,
       8,    0,  148,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  149,    2, 0x0a /* Public */,
      10,    0,  152,    2, 0x0a /* Public */,
      11,    0,  153,    2, 0x0a /* Public */,
      12,    0,  154,    2, 0x0a /* Public */,
      13,    0,  155,    2, 0x0a /* Public */,
      14,    0,  156,    2, 0x0a /* Public */,
      15,    0,  157,    2, 0x0a /* Public */,
      16,    0,  158,    2, 0x0a /* Public */,
      17,    0,  159,    2, 0x08 /* Private */,
      18,    1,  160,    2, 0x08 /* Private */,
      19,    2,  163,    2, 0x08 /* Private */,
      20,    1,  168,    2, 0x08 /* Private */,
      21,    0,  171,    2, 0x08 /* Private */,
      22,    1,  172,    2, 0x08 /* Private */,
      23,    1,  175,    2, 0x08 /* Private */,
      24,    0,  178,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      25,    2,  179,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariant, 0x80000000 | 26, QMetaType::QVariant,   27,   28,

 // properties: name, type, flags
      29, QMetaType::QString, 0x00095103,
      30, QMetaType::QString, 0x00595103,
      31, QMetaType::Int, 0x00095103,
      32, QMetaType::Bool, 0x00095103,
      33, 0x80000000 | 34, 0x0009510b,
      35, QMetaType::QString, 0x00095001,
      36, QMetaType::Int, 0x00095103,
      37, 0x80000000 | 38, 0x0009510b,
      39, QMetaType::Bool, 0x00094103,
      40, QMetaType::Bool, 0x00095001,
      41, QMetaType::QString, 0x00095001,
      42, QMetaType::Bool, 0x00095103,
      43, QMetaType::Bool, 0x00095103,
      44, QMetaType::Bool, 0x00095001,
      45, QMetaType::Bool, 0x00095001,
      46, QMetaType::Bool, 0x00095001,
      47, QMetaType::QString, 0x00095103,
      48, 0x80000000 | 49, 0x0009510b,
      50, QMetaType::Bool, 0x00095103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      51,   51, 0x0,    2,  270,
      34,   34, 0x0,    4,  274,

 // enum data: key, value
      52, uint(QLineEdit::LeadingPosition),
      53, uint(QLineEdit::TrailingPosition),
      54, uint(QLineEdit::Normal),
      55, uint(QLineEdit::NoEcho),
      56, uint(QLineEdit::Password),
      57, uint(QLineEdit::PasswordEchoOnEdit),

       0        // eod
};

void QLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QLineEdit *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->returnPressed(); break;
        case 4: _t->editingFinished(); break;
        case 5: _t->selectionChanged(); break;
        case 6: _t->inputRejected(); break;
        case 7: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->clear(); break;
        case 9: _t->selectAll(); break;
        case 10: _t->undo(); break;
        case 11: _t->redo(); break;
        case 12: _t->cut(); break;
        case 13: _t->copy(); break;
        case 14: _t->paste(); break;
        case 15: _t->d_func()->_q_handleWindowActivate(); break;
        case 16: _t->d_func()->_q_textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->d_func()->_q_cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->d_func()->_q_completionHighlighted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->d_func()->_q_selectionChanged(); break;
        case 20: _t->d_func()->_q_updateNeeded((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 21: _t->d_func()->_q_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 22: _t->d_func()->_q_clearButtonClicked(); break;
        case 23: { QVariant _r = _t->inputMethodQuery((*reinterpret_cast< Qt::InputMethodQuery(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QLineEdit::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::textChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::textEdited)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::cursorPositionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::returnPressed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::editingFinished)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::selectionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QLineEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::inputRejected)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QLineEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->inputMask(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->maxLength(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->hasFrame(); break;
        case 4: *reinterpret_cast< EchoMode*>(_v) = _t->echoMode(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->displayText(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
        case 7: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->isModified(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->hasSelectedText(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->selectedText(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->dragEnabled(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->isUndoAvailable(); break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->isRedoAvailable(); break;
        case 15: *reinterpret_cast< bool*>(_v) = _t->hasAcceptableInput(); break;
        case 16: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break;
        case 17: *reinterpret_cast< Qt::CursorMoveStyle*>(_v) = _t->cursorMoveStyle(); break;
        case 18: *reinterpret_cast< bool*>(_v) = _t->isClearButtonEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QLineEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setInputMask(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setMaxLength(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setFrame(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setEchoMode(*reinterpret_cast< EchoMode*>(_v)); break;
        case 6: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 8: _t->setModified(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setDragEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 12: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 16: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break;
        case 17: _t->setCursorMoveStyle(*reinterpret_cast< Qt::CursorMoveStyle*>(_v)); break;
        case 18: _t->setClearButtonEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QLineEdit::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QLineEdit.data,
    qt_meta_data_QLineEdit,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QLineEdit::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
#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 -= 19;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 19;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 19;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 19;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 19;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 19;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QLineEdit::cursorPositionChanged(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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

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

// SIGNAL 6
void QLineEdit::inputRejected()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
