| 1 | /**************************************************************************** | 
|---|
| 2 | ** Meta object code from reading C++ file 'qlineedit.h' | 
|---|
| 3 | ** | 
|---|
| 4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) | 
|---|
| 5 | ** | 
|---|
| 6 | ** WARNING! All changes made in this file will be lost! | 
|---|
| 7 | *****************************************************************************/ | 
|---|
| 8 |  | 
|---|
| 9 | #include <memory> | 
|---|
| 10 | #include "widgets/qlineedit.h" | 
|---|
| 11 | #include <QtCore/qbytearray.h> | 
|---|
| 12 | #include <QtCore/qmetatype.h> | 
|---|
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | 
|---|
| 14 | #error "The header file 'qlineedit.h' doesn't include <QObject>." | 
|---|
| 15 | #elif Q_MOC_OUTPUT_REVISION != 68 | 
|---|
| 16 | #error "This file was generated using the moc from 6.0.0. It" | 
|---|
| 17 | #error "cannot be used with the include files from this version of Qt." | 
|---|
| 18 | #error "(The moc has changed too much.)" | 
|---|
| 19 | #endif | 
|---|
| 20 |  | 
|---|
| 21 | QT_BEGIN_MOC_NAMESPACE | 
|---|
| 22 | QT_WARNING_PUSH | 
|---|
| 23 | QT_WARNING_DISABLE_DEPRECATED | 
|---|
| 24 | struct qt_meta_stringdata_QLineEdit_t { | 
|---|
| 25 | const uint offsetsAndSize[118]; | 
|---|
| 26 | char stringdata0[773]; | 
|---|
| 27 | }; | 
|---|
| 28 | #define QT_MOC_LITERAL(ofs, len) \ | 
|---|
| 29 | uint(offsetof(qt_meta_stringdata_QLineEdit_t, stringdata0) + ofs), len | 
|---|
| 30 | static const qt_meta_stringdata_QLineEdit_t qt_meta_stringdata_QLineEdit = { | 
|---|
| 31 | { | 
|---|
| 32 | QT_MOC_LITERAL(0, 9), // "QLineEdit" | 
|---|
| 33 | QT_MOC_LITERAL(10, 11), // "textChanged" | 
|---|
| 34 | QT_MOC_LITERAL(22, 0), // "" | 
|---|
| 35 | QT_MOC_LITERAL(23, 10), // "textEdited" | 
|---|
| 36 | QT_MOC_LITERAL(34, 21), // "cursorPositionChanged" | 
|---|
| 37 | QT_MOC_LITERAL(56, 13), // "returnPressed" | 
|---|
| 38 | QT_MOC_LITERAL(70, 15), // "editingFinished" | 
|---|
| 39 | QT_MOC_LITERAL(86, 16), // "selectionChanged" | 
|---|
| 40 | QT_MOC_LITERAL(103, 13), // "inputRejected" | 
|---|
| 41 | QT_MOC_LITERAL(117, 7), // "setText" | 
|---|
| 42 | QT_MOC_LITERAL(125, 5), // "clear" | 
|---|
| 43 | QT_MOC_LITERAL(131, 9), // "selectAll" | 
|---|
| 44 | QT_MOC_LITERAL(141, 4), // "undo" | 
|---|
| 45 | QT_MOC_LITERAL(146, 4), // "redo" | 
|---|
| 46 | QT_MOC_LITERAL(151, 3), // "cut" | 
|---|
| 47 | QT_MOC_LITERAL(155, 4), // "copy" | 
|---|
| 48 | QT_MOC_LITERAL(160, 5), // "paste" | 
|---|
| 49 | QT_MOC_LITERAL(166, 23), // "_q_handleWindowActivate" | 
|---|
| 50 | QT_MOC_LITERAL(190, 13), // "_q_textEdited" | 
|---|
| 51 | QT_MOC_LITERAL(204, 24), // "_q_cursorPositionChanged" | 
|---|
| 52 | QT_MOC_LITERAL(229, 24), // "_q_completionHighlighted" | 
|---|
| 53 | QT_MOC_LITERAL(254, 19), // "_q_selectionChanged" | 
|---|
| 54 | QT_MOC_LITERAL(274, 15), // "_q_updateNeeded" | 
|---|
| 55 | QT_MOC_LITERAL(290, 14), // "_q_textChanged" | 
|---|
| 56 | QT_MOC_LITERAL(305, 21), // "_q_clearButtonClicked" | 
|---|
| 57 | QT_MOC_LITERAL(327, 25), // "_q_controlEditingFinished" | 
|---|
| 58 | QT_MOC_LITERAL(353, 16), // "inputMethodQuery" | 
|---|
| 59 | QT_MOC_LITERAL(370, 20), // "Qt::InputMethodQuery" | 
|---|
| 60 | QT_MOC_LITERAL(391, 8), // "property" | 
|---|
| 61 | QT_MOC_LITERAL(400, 8), // "argument" | 
|---|
| 62 | QT_MOC_LITERAL(409, 9), // "inputMask" | 
|---|
| 63 | QT_MOC_LITERAL(419, 4), // "text" | 
|---|
| 64 | QT_MOC_LITERAL(424, 9), // "maxLength" | 
|---|
| 65 | QT_MOC_LITERAL(434, 5), // "frame" | 
|---|
| 66 | QT_MOC_LITERAL(440, 8), // "echoMode" | 
|---|
| 67 | QT_MOC_LITERAL(449, 8), // "EchoMode" | 
|---|
| 68 | QT_MOC_LITERAL(458, 11), // "displayText" | 
|---|
| 69 | QT_MOC_LITERAL(470, 14), // "cursorPosition" | 
|---|
| 70 | QT_MOC_LITERAL(485, 9), // "alignment" | 
|---|
| 71 | QT_MOC_LITERAL(495, 13), // "Qt::Alignment" | 
|---|
| 72 | QT_MOC_LITERAL(509, 8), // "modified" | 
|---|
| 73 | QT_MOC_LITERAL(518, 15), // "hasSelectedText" | 
|---|
| 74 | QT_MOC_LITERAL(534, 12), // "selectedText" | 
|---|
| 75 | QT_MOC_LITERAL(547, 11), // "dragEnabled" | 
|---|
| 76 | QT_MOC_LITERAL(559, 8), // "readOnly" | 
|---|
| 77 | QT_MOC_LITERAL(568, 13), // "undoAvailable" | 
|---|
| 78 | QT_MOC_LITERAL(582, 13), // "redoAvailable" | 
|---|
| 79 | QT_MOC_LITERAL(596, 15), // "acceptableInput" | 
|---|
| 80 | QT_MOC_LITERAL(612, 15), // "placeholderText" | 
|---|
| 81 | QT_MOC_LITERAL(628, 15), // "cursorMoveStyle" | 
|---|
| 82 | QT_MOC_LITERAL(644, 19), // "Qt::CursorMoveStyle" | 
|---|
| 83 | QT_MOC_LITERAL(664, 18), // "clearButtonEnabled" | 
|---|
| 84 | QT_MOC_LITERAL(683, 14), // "ActionPosition" | 
|---|
| 85 | QT_MOC_LITERAL(698, 15), // "LeadingPosition" | 
|---|
| 86 | QT_MOC_LITERAL(714, 16), // "TrailingPosition" | 
|---|
| 87 | QT_MOC_LITERAL(731, 6), // "Normal" | 
|---|
| 88 | QT_MOC_LITERAL(738, 6), // "NoEcho" | 
|---|
| 89 | QT_MOC_LITERAL(745, 8), // "Password" | 
|---|
| 90 | QT_MOC_LITERAL(754, 18) // "PasswordEchoOnEdit" | 
|---|
| 91 |  | 
|---|
| 92 | }, | 
|---|
| 93 | "QLineEdit\0textChanged\0\0textEdited\0" | 
|---|
| 94 | "cursorPositionChanged\0returnPressed\0" | 
|---|
| 95 | "editingFinished\0selectionChanged\0" | 
|---|
| 96 | "inputRejected\0setText\0clear\0selectAll\0" | 
|---|
| 97 | "undo\0redo\0cut\0copy\0paste\0" | 
|---|
| 98 | "_q_handleWindowActivate\0_q_textEdited\0" | 
|---|
| 99 | "_q_cursorPositionChanged\0" | 
|---|
| 100 | "_q_completionHighlighted\0_q_selectionChanged\0" | 
|---|
| 101 | "_q_updateNeeded\0_q_textChanged\0" | 
|---|
| 102 | "_q_clearButtonClicked\0_q_controlEditingFinished\0" | 
|---|
| 103 | "inputMethodQuery\0Qt::InputMethodQuery\0" | 
|---|
| 104 | "property\0argument\0inputMask\0text\0" | 
|---|
| 105 | "maxLength\0frame\0echoMode\0EchoMode\0" | 
|---|
| 106 | "displayText\0cursorPosition\0alignment\0" | 
|---|
| 107 | "Qt::Alignment\0modified\0hasSelectedText\0" | 
|---|
| 108 | "selectedText\0dragEnabled\0readOnly\0" | 
|---|
| 109 | "undoAvailable\0redoAvailable\0acceptableInput\0" | 
|---|
| 110 | "placeholderText\0cursorMoveStyle\0" | 
|---|
| 111 | "Qt::CursorMoveStyle\0clearButtonEnabled\0" | 
|---|
| 112 | "ActionPosition\0LeadingPosition\0" | 
|---|
| 113 | "TrailingPosition\0Normal\0NoEcho\0Password\0" | 
|---|
| 114 | "PasswordEchoOnEdit" | 
|---|
| 115 | }; | 
|---|
| 116 | #undef QT_MOC_LITERAL | 
|---|
| 117 |  | 
|---|
| 118 | static const uint qt_meta_data_QLineEdit[] = { | 
|---|
| 119 |  | 
|---|
| 120 | // content: | 
|---|
| 121 | 9,       // revision | 
|---|
| 122 | 0,       // classname | 
|---|
| 123 | 0,    0, // classinfo | 
|---|
| 124 | 25,   14, // methods | 
|---|
| 125 | 19,  215, // properties | 
|---|
| 126 | 2,  310, // enums/sets | 
|---|
| 127 | 0,    0, // constructors | 
|---|
| 128 | 0,       // flags | 
|---|
| 129 | 7,       // signalCount | 
|---|
| 130 |  | 
|---|
| 131 | // signals: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 132 | 1,    1,  164,    2, 0x06,   19 /* Public */, | 
|---|
| 133 | 3,    1,  167,    2, 0x06,   21 /* Public */, | 
|---|
| 134 | 4,    2,  170,    2, 0x06,   23 /* Public */, | 
|---|
| 135 | 5,    0,  175,    2, 0x06,   26 /* Public */, | 
|---|
| 136 | 6,    0,  176,    2, 0x06,   27 /* Public */, | 
|---|
| 137 | 7,    0,  177,    2, 0x06,   28 /* Public */, | 
|---|
| 138 | 8,    0,  178,    2, 0x06,   29 /* Public */, | 
|---|
| 139 |  | 
|---|
| 140 | // slots: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 141 | 9,    1,  179,    2, 0x0a,   30 /* Public */, | 
|---|
| 142 | 10,    0,  182,    2, 0x0a,   32 /* Public */, | 
|---|
| 143 | 11,    0,  183,    2, 0x0a,   33 /* Public */, | 
|---|
| 144 | 12,    0,  184,    2, 0x0a,   34 /* Public */, | 
|---|
| 145 | 13,    0,  185,    2, 0x0a,   35 /* Public */, | 
|---|
| 146 | 14,    0,  186,    2, 0x0a,   36 /* Public */, | 
|---|
| 147 | 15,    0,  187,    2, 0x0a,   37 /* Public */, | 
|---|
| 148 | 16,    0,  188,    2, 0x0a,   38 /* Public */, | 
|---|
| 149 | 17,    0,  189,    2, 0x08,   39 /* Private */, | 
|---|
| 150 | 18,    1,  190,    2, 0x08,   40 /* Private */, | 
|---|
| 151 | 19,    2,  193,    2, 0x08,   42 /* Private */, | 
|---|
| 152 | 20,    1,  198,    2, 0x08,   45 /* Private */, | 
|---|
| 153 | 21,    0,  201,    2, 0x08,   47 /* Private */, | 
|---|
| 154 | 22,    1,  202,    2, 0x08,   48 /* Private */, | 
|---|
| 155 | 23,    1,  205,    2, 0x08,   50 /* Private */, | 
|---|
| 156 | 24,    0,  208,    2, 0x08,   52 /* Private */, | 
|---|
| 157 | 25,    0,  209,    2, 0x08,   53 /* Private */, | 
|---|
| 158 |  | 
|---|
| 159 | // methods: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 160 | 26,    2,  210,    2, 0x02,   54 /* Public */, | 
|---|
| 161 |  | 
|---|
| 162 | // signals: parameters | 
|---|
| 163 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 164 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 165 | QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2, | 
|---|
| 166 | QMetaType::Void, | 
|---|
| 167 | QMetaType::Void, | 
|---|
| 168 | QMetaType::Void, | 
|---|
| 169 | QMetaType::Void, | 
|---|
| 170 |  | 
|---|
| 171 | // slots: parameters | 
|---|
| 172 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 173 | QMetaType::Void, | 
|---|
| 174 | QMetaType::Void, | 
|---|
| 175 | QMetaType::Void, | 
|---|
| 176 | QMetaType::Void, | 
|---|
| 177 | QMetaType::Void, | 
|---|
| 178 | QMetaType::Void, | 
|---|
| 179 | QMetaType::Void, | 
|---|
| 180 | QMetaType::Void, | 
|---|
| 181 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 182 | QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2, | 
|---|
| 183 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 184 | QMetaType::Void, | 
|---|
| 185 | QMetaType::Void, QMetaType::QRect,    2, | 
|---|
| 186 | QMetaType::Void, QMetaType::QString,    2, | 
|---|
| 187 | QMetaType::Void, | 
|---|
| 188 | QMetaType::Void, | 
|---|
| 189 |  | 
|---|
| 190 | // methods: parameters | 
|---|
| 191 | QMetaType::QVariant, 0x80000000 | 27, QMetaType::QVariant,   28,   29, | 
|---|
| 192 |  | 
|---|
| 193 | // properties: name, type, flags | 
|---|
| 194 | 30, QMetaType::QString, 0x00015103, uint(-1), 0, | 
|---|
| 195 | 31, QMetaType::QString, 0x00115103, uint(0), 0, | 
|---|
| 196 | 32, QMetaType::Int, 0x00015103, uint(-1), 0, | 
|---|
| 197 | 33, QMetaType::Bool, 0x00015103, uint(-1), 0, | 
|---|
| 198 | 34, 0x80000000 | 35, 0x0001510b, uint(-1), 0, | 
|---|
| 199 | 36, QMetaType::QString, 0x00015001, uint(-1), 0, | 
|---|
| 200 | 37, QMetaType::Int, 0x00015103, uint(-1), 0, | 
|---|
| 201 | 38, 0x80000000 | 39, 0x0001510b, uint(-1), 0, | 
|---|
| 202 | 40, QMetaType::Bool, 0x00014103, uint(-1), 0, | 
|---|
| 203 | 41, QMetaType::Bool, 0x00015001, uint(-1), 0, | 
|---|
| 204 | 42, QMetaType::QString, 0x00015001, uint(-1), 0, | 
|---|
| 205 | 43, QMetaType::Bool, 0x00015103, uint(-1), 0, | 
|---|
| 206 | 44, QMetaType::Bool, 0x00015103, uint(-1), 0, | 
|---|
| 207 | 45, QMetaType::Bool, 0x00015001, uint(-1), 0, | 
|---|
| 208 | 46, QMetaType::Bool, 0x00015001, uint(-1), 0, | 
|---|
| 209 | 47, QMetaType::Bool, 0x00015001, uint(-1), 0, | 
|---|
| 210 | 48, QMetaType::QString, 0x00015103, uint(-1), 0, | 
|---|
| 211 | 49, 0x80000000 | 50, 0x0001510b, uint(-1), 0, | 
|---|
| 212 | 51, QMetaType::Bool, 0x00015103, uint(-1), 0, | 
|---|
| 213 |  | 
|---|
| 214 | // enums: name, alias, flags, count, data | 
|---|
| 215 | 52,   52, 0x0,    2,  320, | 
|---|
| 216 | 35,   35, 0x0,    4,  324, | 
|---|
| 217 |  | 
|---|
| 218 | // enum data: key, value | 
|---|
| 219 | 53, uint(QLineEdit::LeadingPosition), | 
|---|
| 220 | 54, uint(QLineEdit::TrailingPosition), | 
|---|
| 221 | 55, uint(QLineEdit::Normal), | 
|---|
| 222 | 56, uint(QLineEdit::NoEcho), | 
|---|
| 223 | 57, uint(QLineEdit::Password), | 
|---|
| 224 | 58, uint(QLineEdit::PasswordEchoOnEdit), | 
|---|
| 225 |  | 
|---|
| 226 | 0        // eod | 
|---|
| 227 | }; | 
|---|
| 228 |  | 
|---|
| 229 | void QLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 230 | { | 
|---|
| 231 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 232 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 233 | auto *_t = static_cast<QLineEdit *>(_o); | 
|---|
| 234 | Q_UNUSED(_t) | 
|---|
| 235 | switch (_id) { | 
|---|
| 236 | case 0: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 237 | case 1: _t->textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 238 | case 2: _t->cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | 
|---|
| 239 | case 3: _t->returnPressed(); break; | 
|---|
| 240 | case 4: _t->editingFinished(); break; | 
|---|
| 241 | case 5: _t->selectionChanged(); break; | 
|---|
| 242 | case 6: _t->inputRejected(); break; | 
|---|
| 243 | case 7: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 244 | case 8: _t->clear(); break; | 
|---|
| 245 | case 9: _t->selectAll(); break; | 
|---|
| 246 | case 10: _t->undo(); break; | 
|---|
| 247 | case 11: _t->redo(); break; | 
|---|
| 248 | case 12: _t->cut(); break; | 
|---|
| 249 | case 13: _t->copy(); break; | 
|---|
| 250 | case 14: _t->paste(); break; | 
|---|
| 251 | case 15: _t->d_func()->_q_handleWindowActivate(); break; | 
|---|
| 252 | case 16: _t->d_func()->_q_textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 253 | case 17: _t->d_func()->_q_cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | 
|---|
| 254 | case 18: _t->d_func()->_q_completionHighlighted((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 255 | case 19: _t->d_func()->_q_selectionChanged(); break; | 
|---|
| 256 | case 20: _t->d_func()->_q_updateNeeded((*reinterpret_cast< const QRect(*)>(_a[1]))); break; | 
|---|
| 257 | case 21: _t->d_func()->_q_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 258 | case 22: _t->d_func()->_q_clearButtonClicked(); break; | 
|---|
| 259 | case 23: _t->d_func()->_q_controlEditingFinished(); break; | 
|---|
| 260 | case 24: { QVariant _r = _t->inputMethodQuery((*reinterpret_cast< Qt::InputMethodQuery(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); | 
|---|
| 261 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 262 | default: ; | 
|---|
| 263 | } | 
|---|
| 264 | } else if (_c == QMetaObject::IndexOfMethod) { | 
|---|
| 265 | int *result = reinterpret_cast<int *>(_a[0]); | 
|---|
| 266 | { | 
|---|
| 267 | using _t = void (QLineEdit::*)(const QString & ); | 
|---|
| 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::textChanged)) { | 
|---|
| 269 | *result = 0; | 
|---|
| 270 | return; | 
|---|
| 271 | } | 
|---|
| 272 | } | 
|---|
| 273 | { | 
|---|
| 274 | using _t = void (QLineEdit::*)(const QString & ); | 
|---|
| 275 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::textEdited)) { | 
|---|
| 276 | *result = 1; | 
|---|
| 277 | return; | 
|---|
| 278 | } | 
|---|
| 279 | } | 
|---|
| 280 | { | 
|---|
| 281 | using _t = void (QLineEdit::*)(int , int ); | 
|---|
| 282 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::cursorPositionChanged)) { | 
|---|
| 283 | *result = 2; | 
|---|
| 284 | return; | 
|---|
| 285 | } | 
|---|
| 286 | } | 
|---|
| 287 | { | 
|---|
| 288 | using _t = void (QLineEdit::*)(); | 
|---|
| 289 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::returnPressed)) { | 
|---|
| 290 | *result = 3; | 
|---|
| 291 | return; | 
|---|
| 292 | } | 
|---|
| 293 | } | 
|---|
| 294 | { | 
|---|
| 295 | using _t = void (QLineEdit::*)(); | 
|---|
| 296 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::editingFinished)) { | 
|---|
| 297 | *result = 4; | 
|---|
| 298 | return; | 
|---|
| 299 | } | 
|---|
| 300 | } | 
|---|
| 301 | { | 
|---|
| 302 | using _t = void (QLineEdit::*)(); | 
|---|
| 303 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::selectionChanged)) { | 
|---|
| 304 | *result = 5; | 
|---|
| 305 | return; | 
|---|
| 306 | } | 
|---|
| 307 | } | 
|---|
| 308 | { | 
|---|
| 309 | using _t = void (QLineEdit::*)(); | 
|---|
| 310 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLineEdit::inputRejected)) { | 
|---|
| 311 | *result = 6; | 
|---|
| 312 | return; | 
|---|
| 313 | } | 
|---|
| 314 | } | 
|---|
| 315 | } | 
|---|
| 316 | #ifndef QT_NO_PROPERTIES | 
|---|
| 317 | else if (_c == QMetaObject::ReadProperty) { | 
|---|
| 318 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 319 | auto *_t = static_cast<QLineEdit *>(_o); | 
|---|
| 320 | Q_UNUSED(_t) | 
|---|
| 321 | void *_v = _a[0]; | 
|---|
| 322 | switch (_id) { | 
|---|
| 323 | case 0: *reinterpret_cast< QString*>(_v) = _t->inputMask(); break; | 
|---|
| 324 | case 1: *reinterpret_cast< QString*>(_v) = _t->text(); break; | 
|---|
| 325 | case 2: *reinterpret_cast< int*>(_v) = _t->maxLength(); break; | 
|---|
| 326 | case 3: *reinterpret_cast< bool*>(_v) = _t->hasFrame(); break; | 
|---|
| 327 | case 4: *reinterpret_cast< EchoMode*>(_v) = _t->echoMode(); break; | 
|---|
| 328 | case 5: *reinterpret_cast< QString*>(_v) = _t->displayText(); break; | 
|---|
| 329 | case 6: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break; | 
|---|
| 330 | case 7: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break; | 
|---|
| 331 | case 8: *reinterpret_cast< bool*>(_v) = _t->isModified(); break; | 
|---|
| 332 | case 9: *reinterpret_cast< bool*>(_v) = _t->hasSelectedText(); break; | 
|---|
| 333 | case 10: *reinterpret_cast< QString*>(_v) = _t->selectedText(); break; | 
|---|
| 334 | case 11: *reinterpret_cast< bool*>(_v) = _t->dragEnabled(); break; | 
|---|
| 335 | case 12: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break; | 
|---|
| 336 | case 13: *reinterpret_cast< bool*>(_v) = _t->isUndoAvailable(); break; | 
|---|
| 337 | case 14: *reinterpret_cast< bool*>(_v) = _t->isRedoAvailable(); break; | 
|---|
| 338 | case 15: *reinterpret_cast< bool*>(_v) = _t->hasAcceptableInput(); break; | 
|---|
| 339 | case 16: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break; | 
|---|
| 340 | case 17: *reinterpret_cast< Qt::CursorMoveStyle*>(_v) = _t->cursorMoveStyle(); break; | 
|---|
| 341 | case 18: *reinterpret_cast< bool*>(_v) = _t->isClearButtonEnabled(); break; | 
|---|
| 342 | default: break; | 
|---|
| 343 | } | 
|---|
| 344 | } else if (_c == QMetaObject::WriteProperty) { | 
|---|
| 345 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 346 | auto *_t = static_cast<QLineEdit *>(_o); | 
|---|
| 347 | Q_UNUSED(_t) | 
|---|
| 348 | void *_v = _a[0]; | 
|---|
| 349 | switch (_id) { | 
|---|
| 350 | case 0: _t->setInputMask(*reinterpret_cast< QString*>(_v)); break; | 
|---|
| 351 | case 1: _t->setText(*reinterpret_cast< QString*>(_v)); break; | 
|---|
| 352 | case 2: _t->setMaxLength(*reinterpret_cast< int*>(_v)); break; | 
|---|
| 353 | case 3: _t->setFrame(*reinterpret_cast< bool*>(_v)); break; | 
|---|
| 354 | case 4: _t->setEchoMode(*reinterpret_cast< EchoMode*>(_v)); break; | 
|---|
| 355 | case 6: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break; | 
|---|
| 356 | case 7: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break; | 
|---|
| 357 | case 8: _t->setModified(*reinterpret_cast< bool*>(_v)); break; | 
|---|
| 358 | case 11: _t->setDragEnabled(*reinterpret_cast< bool*>(_v)); break; | 
|---|
| 359 | case 12: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break; | 
|---|
| 360 | case 16: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break; | 
|---|
| 361 | case 17: _t->setCursorMoveStyle(*reinterpret_cast< Qt::CursorMoveStyle*>(_v)); break; | 
|---|
| 362 | case 18: _t->setClearButtonEnabled(*reinterpret_cast< bool*>(_v)); break; | 
|---|
| 363 | default: break; | 
|---|
| 364 | } | 
|---|
| 365 | } else if (_c == QMetaObject::ResetProperty) { | 
|---|
| 366 | } else if (_c == QMetaObject::BindableProperty) { | 
|---|
| 367 | } | 
|---|
| 368 | #endif // QT_NO_PROPERTIES | 
|---|
| 369 | } | 
|---|
| 370 |  | 
|---|
| 371 | const QMetaObject QLineEdit::staticMetaObject = { { | 
|---|
| 372 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), | 
|---|
| 373 | qt_meta_stringdata_QLineEdit.offsetsAndSize, | 
|---|
| 374 | qt_meta_data_QLineEdit, | 
|---|
| 375 | qt_static_metacall, | 
|---|
| 376 | nullptr, | 
|---|
| 377 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QLineEdit_t | 
|---|
| 378 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<EchoMode, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::CursorMoveStyle, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> | 
|---|
| 379 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> | 
|---|
| 380 | , QtPrivate::TypeAndForceComplete<QVariant, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::InputMethodQuery, std::false_type>, QtPrivate::TypeAndForceComplete<QVariant, std::false_type> | 
|---|
| 381 |  | 
|---|
| 382 | >, | 
|---|
| 383 | nullptr | 
|---|
| 384 | } }; | 
|---|
| 385 |  | 
|---|
| 386 |  | 
|---|
| 387 | const QMetaObject *QLineEdit::metaObject() const | 
|---|
| 388 | { | 
|---|
| 389 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | 
|---|
| 390 | } | 
|---|
| 391 |  | 
|---|
| 392 | void *QLineEdit::qt_metacast(const char *_clname) | 
|---|
| 393 | { | 
|---|
| 394 | if (!_clname) return nullptr; | 
|---|
| 395 | if (!strcmp(_clname, qt_meta_stringdata_QLineEdit.stringdata0)) | 
|---|
| 396 | return static_cast<void*>(this); | 
|---|
| 397 | return QWidget::qt_metacast(_clname); | 
|---|
| 398 | } | 
|---|
| 399 |  | 
|---|
| 400 | int QLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 401 | { | 
|---|
| 402 | _id = QWidget::qt_metacall(_c, _id, _a); | 
|---|
| 403 | if (_id < 0) | 
|---|
| 404 | return _id; | 
|---|
| 405 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 406 | if (_id < 25) | 
|---|
| 407 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 408 | _id -= 25; | 
|---|
| 409 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 410 | if (_id < 25) | 
|---|
| 411 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); | 
|---|
| 412 | _id -= 25; | 
|---|
| 413 | } | 
|---|
| 414 | #ifndef QT_NO_PROPERTIES | 
|---|
| 415 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | 
|---|
| 416 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty | 
|---|
| 417 | || _c == QMetaObject::RegisterPropertyMetaType) { | 
|---|
| 418 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 419 | _id -= 19; | 
|---|
| 420 | } | 
|---|
| 421 | #endif // QT_NO_PROPERTIES | 
|---|
| 422 | return _id; | 
|---|
| 423 | } | 
|---|
| 424 |  | 
|---|
| 425 | // SIGNAL 0 | 
|---|
| 426 | void QLineEdit::textChanged(const QString & _t1) | 
|---|
| 427 | { | 
|---|
| 428 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
|---|
| 429 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | 
|---|
| 430 | } | 
|---|
| 431 |  | 
|---|
| 432 | // SIGNAL 1 | 
|---|
| 433 | void QLineEdit::textEdited(const QString & _t1) | 
|---|
| 434 | { | 
|---|
| 435 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
|---|
| 436 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | 
|---|
| 437 | } | 
|---|
| 438 |  | 
|---|
| 439 | // SIGNAL 2 | 
|---|
| 440 | void QLineEdit::cursorPositionChanged(int _t1, int _t2) | 
|---|
| 441 | { | 
|---|
| 442 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
|---|
| 443 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | 
|---|
| 444 | } | 
|---|
| 445 |  | 
|---|
| 446 | // SIGNAL 3 | 
|---|
| 447 | void QLineEdit::returnPressed() | 
|---|
| 448 | { | 
|---|
| 449 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | 
|---|
| 450 | } | 
|---|
| 451 |  | 
|---|
| 452 | // SIGNAL 4 | 
|---|
| 453 | void QLineEdit::editingFinished() | 
|---|
| 454 | { | 
|---|
| 455 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | 
|---|
| 456 | } | 
|---|
| 457 |  | 
|---|
| 458 | // SIGNAL 5 | 
|---|
| 459 | void QLineEdit::selectionChanged() | 
|---|
| 460 | { | 
|---|
| 461 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | 
|---|
| 462 | } | 
|---|
| 463 |  | 
|---|
| 464 | // SIGNAL 6 | 
|---|
| 465 | void QLineEdit::inputRejected() | 
|---|
| 466 | { | 
|---|
| 467 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | 
|---|
| 468 | } | 
|---|
| 469 | QT_WARNING_POP | 
|---|
| 470 | QT_END_MOC_NAMESPACE | 
|---|
| 471 |  | 
|---|