Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc_qvalidatedlineedit.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qvalidatedlineedit.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qvalidatedlineedit.h"
9 #if !defined(Q_MOC_OUTPUT_REVISION)
10 #error "The header file 'qvalidatedlineedit.h' doesn't include <QObject>."
11 #elif Q_MOC_OUTPUT_REVISION != 63
12 #error "This file was generated using the moc from 4.8.6. It"
13 #error "cannot be used with the include files from this version of Qt."
14 #error "(The moc has changed too much.)"
15 #endif
16 
17 QT_BEGIN_MOC_NAMESPACE
18 static const uint qt_meta_data_QValidatedLineEdit[] = {
19 
20  // content:
21  6, // revision
22  0, // classname
23  0, 0, // classinfo
24  4, 14, // methods
25  0, 0, // properties
26  0, 0, // enums/sets
27  0, 0, // constructors
28  0, // flags
29  0, // signalCount
30 
31  // slots: signature, parameters, type, tag, flags
32  26, 20, 19, 19, 0x0a,
33  49, 41, 19, 19, 0x0a,
34  66, 19, 19, 19, 0x08,
35  78, 19, 19, 19, 0x08,
36 
37  0 // eod
38 };
39 
41  "QValidatedLineEdit\0\0valid\0setValid(bool)\0"
42  "enabled\0setEnabled(bool)\0markValid()\0"
43  "checkValidity()\0"
44 };
45 
46 void QValidatedLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
47 {
48  if (_c == QMetaObject::InvokeMetaMethod) {
49  Q_ASSERT(staticMetaObject.cast(_o));
50  QValidatedLineEdit *_t = static_cast<QValidatedLineEdit *>(_o);
51  switch (_id) {
52  case 0: _t->setValid((*reinterpret_cast< bool(*)>(_a[1]))); break;
53  case 1: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
54  case 2: _t->markValid(); break;
55  case 3: _t->checkValidity(); break;
56  default: ;
57  }
58  }
59 }
60 
61 const QMetaObjectExtraData QValidatedLineEdit::staticMetaObjectExtraData = {
62  0, qt_static_metacall
63 };
64 
65 const QMetaObject QValidatedLineEdit::staticMetaObject = {
66  { &QLineEdit::staticMetaObject, qt_meta_stringdata_QValidatedLineEdit,
67  qt_meta_data_QValidatedLineEdit, &staticMetaObjectExtraData }
68 };
69 
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &QValidatedLineEdit::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
73 
74 const QMetaObject *QValidatedLineEdit::metaObject() const
75 {
76  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
77 }
78 
79 void *QValidatedLineEdit::qt_metacast(const char *_clname)
80 {
81  if (!_clname) return 0;
82  if (!strcmp(_clname, qt_meta_stringdata_QValidatedLineEdit))
83  return static_cast<void*>(const_cast< QValidatedLineEdit*>(this));
84  return QLineEdit::qt_metacast(_clname);
85 }
86 
87 int QValidatedLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
88 {
89  _id = QLineEdit::qt_metacall(_c, _id, _a);
90  if (_id < 0)
91  return _id;
92  if (_c == QMetaObject::InvokeMetaMethod) {
93  if (_id < 4)
94  qt_static_metacall(this, _c, _id, _a);
95  _id -= 4;
96  }
97  return _id;
98 }
99 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_QValidatedLineEdit[]
Line edit that can be marked as "invalid" to show input validation feedback.
void setValid(bool valid)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QValidatedLineEdit[]