void QELineEdit::setup() { setAddUnits( false ); }
int QCaLineEditPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QCaLineEdit::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 1) qt_static_metacall(this, _c, _id, _a); _id -= 1; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = getVariableNameProperty(); break; case 1: *reinterpret_cast< QString*>(_v) = getVariableNameSubstitutionsProperty(); break; case 2: *reinterpret_cast< bool*>(_v) = getWriteOnLoseFocus(); break; case 3: *reinterpret_cast< bool*>(_v) = getWriteOnEnter(); break; case 4: *reinterpret_cast< bool*>(_v) = getSubscribe(); break; case 5: *reinterpret_cast< bool*>(_v) = getVariableAsToolTip(); break; case 6: *reinterpret_cast< bool*>(_v) = isEnabled(); break; case 7: *reinterpret_cast< bool*>(_v) = getConfirmWrite(); break; case 8: *reinterpret_cast< uint*>(_v) = getPrecision(); break; case 9: *reinterpret_cast< bool*>(_v) = getUseDbPrecision(); break; case 10: *reinterpret_cast< bool*>(_v) = getLeadingZero(); break; case 11: *reinterpret_cast< bool*>(_v) = getTrailingZeros(); break; case 12: *reinterpret_cast< bool*>(_v) = getAddUnits(); break; case 13: *reinterpret_cast< Formats*>(_v) = getFormatProperty(); break; case 14: *reinterpret_cast< uint*>(_v) = getRadix(); break; case 15: *reinterpret_cast< Notations*>(_v) = getNotationProperty(); break; } _id -= 16; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setVariableNameProperty(*reinterpret_cast< QString*>(_v)); break; case 1: setVariableNameSubstitutionsProperty(*reinterpret_cast< QString*>(_v)); break; case 2: setWriteOnLoseFocus(*reinterpret_cast< bool*>(_v)); break; case 3: setWriteOnEnter(*reinterpret_cast< bool*>(_v)); break; case 4: setSubscribe(*reinterpret_cast< bool*>(_v)); break; case 5: setVariableAsToolTip(*reinterpret_cast< bool*>(_v)); break; case 6: setEnabled(*reinterpret_cast< bool*>(_v)); break; case 7: setConfirmWrite(*reinterpret_cast< bool*>(_v)); break; case 8: setPrecision(*reinterpret_cast< uint*>(_v)); break; case 9: setUseDbPrecision(*reinterpret_cast< bool*>(_v)); break; case 10: setLeadingZero(*reinterpret_cast< bool*>(_v)); break; case 11: setTrailingZeros(*reinterpret_cast< bool*>(_v)); break; case 12: setAddUnits(*reinterpret_cast< bool*>(_v)); break; case 13: setFormatProperty(*reinterpret_cast< Formats*>(_v)); break; case 14: setRadix(*reinterpret_cast< uint*>(_v)); break; case 15: setNotationProperty(*reinterpret_cast< Notations*>(_v)); break; } _id -= 16; } else if (_c == QMetaObject::ResetProperty) { _id -= 16; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 16; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 16; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 16; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 16; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 16; } #endif // QT_NO_PROPERTIES return _id; }