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

#include "../../../../src/qtbase-opensource-src-5.4.2/src/widgets/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.4.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
struct qt_meta_stringdata_QLineEdit_t {
    QByteArrayData data[53];
    char stringdata[677];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QLineEdit_t, stringdata) + 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, 7), // "setText"
QT_MOC_LITERAL(9, 111, 5), // "clear"
QT_MOC_LITERAL(10, 117, 9), // "selectAll"
QT_MOC_LITERAL(11, 127, 4), // "undo"
QT_MOC_LITERAL(12, 132, 4), // "redo"
QT_MOC_LITERAL(13, 137, 3), // "cut"
QT_MOC_LITERAL(14, 141, 4), // "copy"
QT_MOC_LITERAL(15, 146, 5), // "paste"
QT_MOC_LITERAL(16, 152, 23), // "_q_handleWindowActivate"
QT_MOC_LITERAL(17, 176, 13), // "_q_textEdited"
QT_MOC_LITERAL(18, 190, 24), // "_q_cursorPositionChanged"
QT_MOC_LITERAL(19, 215, 24), // "_q_completionHighlighted"
QT_MOC_LITERAL(20, 240, 19), // "_q_selectionChanged"
QT_MOC_LITERAL(21, 260, 15), // "_q_updateNeeded"
QT_MOC_LITERAL(22, 276, 14), // "_q_textChanged"
QT_MOC_LITERAL(23, 291, 21), // "_q_clearButtonClicked"
QT_MOC_LITERAL(24, 313, 9), // "inputMask"
QT_MOC_LITERAL(25, 323, 4), // "text"
QT_MOC_LITERAL(26, 328, 9), // "maxLength"
QT_MOC_LITERAL(27, 338, 5), // "frame"
QT_MOC_LITERAL(28, 344, 8), // "echoMode"
QT_MOC_LITERAL(29, 353, 8), // "EchoMode"
QT_MOC_LITERAL(30, 362, 11), // "displayText"
QT_MOC_LITERAL(31, 374, 14), // "cursorPosition"
QT_MOC_LITERAL(32, 389, 9), // "alignment"
QT_MOC_LITERAL(33, 399, 13), // "Qt::Alignment"
QT_MOC_LITERAL(34, 413, 8), // "modified"
QT_MOC_LITERAL(35, 422, 15), // "hasSelectedText"
QT_MOC_LITERAL(36, 438, 12), // "selectedText"
QT_MOC_LITERAL(37, 451, 11), // "dragEnabled"
QT_MOC_LITERAL(38, 463, 8), // "readOnly"
QT_MOC_LITERAL(39, 472, 13), // "undoAvailable"
QT_MOC_LITERAL(40, 486, 13), // "redoAvailable"
QT_MOC_LITERAL(41, 500, 15), // "acceptableInput"
QT_MOC_LITERAL(42, 516, 15), // "placeholderText"
QT_MOC_LITERAL(43, 532, 15), // "cursorMoveStyle"
QT_MOC_LITERAL(44, 548, 19), // "Qt::CursorMoveStyle"
QT_MOC_LITERAL(45, 568, 18), // "clearButtonEnabled"
QT_MOC_LITERAL(46, 587, 14), // "ActionPosition"
QT_MOC_LITERAL(47, 602, 15), // "LeadingPosition"
QT_MOC_LITERAL(48, 618, 16), // "TrailingPosition"
QT_MOC_LITERAL(49, 635, 6), // "Normal"
QT_MOC_LITERAL(50, 642, 6), // "NoEcho"
QT_MOC_LITERAL(51, 649, 8), // "Password"
QT_MOC_LITERAL(52, 658, 18) // "PasswordEchoOnEdit"

    },
    "QLineEdit\0textChanged\0\0textEdited\0"
    "cursorPositionChanged\0returnPressed\0"
    "editingFinished\0selectionChanged\0"
    "setText\0clear\0selectAll\0undo\0redo\0cut\0"
    "copy\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\0inputMask\0text\0"
    "maxLength\0frame\0echoMode\0EchoMode\0"
    "displayText\0cursorPosition\0alignment\0"
    "Qt::Alignment\0modified\0hasSelectedText\0"
    "selectedText\0dragEnabled\0readOnly\0"
    "undoAvailable\0redoAvailable\0acceptableInput\0"
    "placeholderText\0cursorMoveStyle\0"
    "Qt::CursorMoveStyle\0clearButtonEnabled\0"
    "ActionPosition\0LeadingPosition\0"
    "TrailingPosition\0Normal\0NoEcho\0Password\0"
    "PasswordEchoOnEdit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QLineEdit[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
      19,  168, // properties
       2,  244, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       3,    1,  127,    2, 0x06 /* Public */,
       4,    2,  130,    2, 0x06 /* Public */,
       5,    0,  135,    2, 0x06 /* Public */,
       6,    0,  136,    2, 0x06 /* Public */,
       7,    0,  137,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  138,    2, 0x0a /* Public */,
       9,    0,  141,    2, 0x0a /* Public */,
      10,    0,  142,    2, 0x0a /* Public */,
      11,    0,  143,    2, 0x0a /* Public */,
      12,    0,  144,    2, 0x0a /* Public */,
      13,    0,  145,    2, 0x0a /* Public */,
      14,    0,  146,    2, 0x0a /* Public */,
      15,    0,  147,    2, 0x0a /* Public */,
      16,    0,  148,    2, 0x08 /* Private */,
      17,    1,  149,    2, 0x08 /* Private */,
      18,    2,  152,    2, 0x08 /* Private */,
      19,    1,  157,    2, 0x08 /* Private */,
      20,    0,  160,    2, 0x08 /* Private */,
      21,    1,  161,    2, 0x08 /* Private */,
      22,    1,  164,    2, 0x08 /* Private */,
      23,    0,  167,    2, 0x08 /* Private */,

 // 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,

 // 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,

 // properties: name, type, flags
      24, QMetaType::QString, 0x00095103,
      25, QMetaType::QString, 0x00595103,
      26, QMetaType::Int, 0x00095103,
      27, QMetaType::Bool, 0x00095103,
      28, 0x80000000 | 29, 0x0009510b,
      30, QMetaType::QString, 0x00095001,
      31, QMetaType::Int, 0x00095103,
      32, 0x80000000 | 33, 0x0009510b,
      34, QMetaType::Bool, 0x00094103,
      35, QMetaType::Bool, 0x00095001,
      36, QMetaType::QString, 0x00095001,
      37, QMetaType::Bool, 0x00095103,
      38, QMetaType::Bool, 0x00095103,
      39, QMetaType::Bool, 0x00095001,
      40, QMetaType::Bool, 0x00095001,
      41, QMetaType::Bool, 0x00095001,
      42, QMetaType::QString, 0x00095103,
      43, 0x80000000 | 44, 0x0009510b,
      45, 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, flags, count, data
      46, 0x0,    2,  252,
      29, 0x0,    4,  256,

 // enum data: key, value
      47, uint(QLineEdit::LeadingPosition),
      48, uint(QLineEdit::TrailingPosition),
      49, uint(QLineEdit::Normal),
      50, uint(QLineEdit::NoEcho),
      51, uint(QLineEdit::Password),
      52, uint(QLineEdit::PasswordEchoOnEdit),

       0        // eod
};

void QLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QLineEdit *_t = static_cast<QLineEdit *>(_o);
        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->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->clear(); break;
        case 8: _t->selectAll(); break;
        case 9: _t->undo(); break;
        case 10: _t->redo(); break;
        case 11: _t->cut(); break;
        case 12: _t->copy(); break;
        case 13: _t->paste(); break;
        case 14: _t->d_func()->_q_handleWindowActivate(); break;
        case 15: _t->d_func()->_q_textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->d_func()->_q_cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: _t->d_func()->_q_completionHighlighted((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 18: _t->d_func()->_q_selectionChanged(); break;
        case 19: _t->d_func()->_q_updateNeeded((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 20: _t->d_func()->_q_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->d_func()->_q_clearButtonClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QLineEdit::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::textChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QLineEdit::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::textEdited)) {
                *result = 1;
            }
        }
        {
            typedef void (QLineEdit::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::cursorPositionChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QLineEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::returnPressed)) {
                *result = 3;
            }
        }
        {
            typedef void (QLineEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::editingFinished)) {
                *result = 4;
            }
        }
        {
            typedef void (QLineEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLineEdit::selectionChanged)) {
                *result = 5;
            }
        }
    }
}

const QMetaObject QLineEdit::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QLineEdit.data,
      qt_meta_data_QLineEdit,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QLineEdit.stringdata))
        return static_cast<void*>(const_cast< QLineEdit*>(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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = inputMask(); break;
        case 1: *reinterpret_cast< QString*>(_v) = text(); break;
        case 2: *reinterpret_cast< int*>(_v) = maxLength(); break;
        case 3: *reinterpret_cast< bool*>(_v) = hasFrame(); break;
        case 4: *reinterpret_cast< EchoMode*>(_v) = echoMode(); break;
        case 5: *reinterpret_cast< QString*>(_v) = displayText(); break;
        case 6: *reinterpret_cast< int*>(_v) = cursorPosition(); break;
        case 7: *reinterpret_cast< Qt::Alignment*>(_v) = alignment(); break;
        case 8: *reinterpret_cast< bool*>(_v) = isModified(); break;
        case 9: *reinterpret_cast< bool*>(_v) = hasSelectedText(); break;
        case 10: *reinterpret_cast< QString*>(_v) = selectedText(); break;
        case 11: *reinterpret_cast< bool*>(_v) = dragEnabled(); break;
        case 12: *reinterpret_cast< bool*>(_v) = isReadOnly(); break;
        case 13: *reinterpret_cast< bool*>(_v) = isUndoAvailable(); break;
        case 14: *reinterpret_cast< bool*>(_v) = isRedoAvailable(); break;
        case 15: *reinterpret_cast< bool*>(_v) = hasAcceptableInput(); break;
        case 16: *reinterpret_cast< QString*>(_v) = placeholderText(); break;
        case 17: *reinterpret_cast< Qt::CursorMoveStyle*>(_v) = cursorMoveStyle(); break;
        case 18: *reinterpret_cast< bool*>(_v) = isClearButtonEnabled(); break;
        default: break;
        }
        _id -= 19;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setInputMask(*reinterpret_cast< QString*>(_v)); break;
        case 1: setText(*reinterpret_cast< QString*>(_v)); break;
        case 2: setMaxLength(*reinterpret_cast< int*>(_v)); break;
        case 3: setFrame(*reinterpret_cast< bool*>(_v)); break;
        case 4: setEchoMode(*reinterpret_cast< EchoMode*>(_v)); break;
        case 6: setCursorPosition(*reinterpret_cast< int*>(_v)); break;
        case 7: setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 8: setModified(*reinterpret_cast< bool*>(_v)); break;
        case 11: setDragEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 12: setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 16: setPlaceholderText(*reinterpret_cast< QString*>(_v)); break;
        case 17: setCursorMoveStyle(*reinterpret_cast< Qt::CursorMoveStyle*>(_v)); break;
        case 18: setClearButtonEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 19;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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