pub struct QMetaProperty { /* private fields */ }Expand description
C++ class: QMetaProperty.
Implementations§
Source§impl QMetaProperty
impl QMetaProperty
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QMetaProperty>>,
) -> Ref<QMetaProperty>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QMetaProperty>>, ) -> Ref<QMetaProperty>
Calls C++ function: QMetaProperty& QMetaProperty::operator=(const QMetaProperty& other).
Sourcepub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
pub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
Calls C++ function: const QMetaObject* QMetaProperty::enclosingMetaObject() const.
Sourcepub unsafe fn enumerator(&self) -> CppBox<QMetaEnum>
pub unsafe fn enumerator(&self) -> CppBox<QMetaEnum>
Calls C++ function: QMetaEnum QMetaProperty::enumerator() const.
Sourcepub unsafe fn has_notify_signal(&self) -> bool
pub unsafe fn has_notify_signal(&self) -> bool
Calls C++ function: bool QMetaProperty::hasNotifySignal() const.
Sourcepub unsafe fn has_std_cpp_set(&self) -> bool
pub unsafe fn has_std_cpp_set(&self) -> bool
Calls C++ function: bool QMetaProperty::hasStdCppSet() const.
Sourcepub unsafe fn is_constant(&self) -> bool
pub unsafe fn is_constant(&self) -> bool
Calls C++ function: bool QMetaProperty::isConstant() const.
Sourcepub unsafe fn is_designable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn is_designable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::isDesignable(const QObject* obj = …) const.
Sourcepub unsafe fn is_designable_0a(&self) -> bool
pub unsafe fn is_designable_0a(&self) -> bool
Calls C++ function: bool QMetaProperty::isDesignable() const.
Sourcepub unsafe fn is_editable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn is_editable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::isEditable(const QObject* obj = …) const.
Sourcepub unsafe fn is_editable_0a(&self) -> bool
pub unsafe fn is_editable_0a(&self) -> bool
Calls C++ function: bool QMetaProperty::isEditable() const.
Sourcepub unsafe fn is_enum_type(&self) -> bool
pub unsafe fn is_enum_type(&self) -> bool
Calls C++ function: bool QMetaProperty::isEnumType() const.
Sourcepub unsafe fn is_flag_type(&self) -> bool
pub unsafe fn is_flag_type(&self) -> bool
Calls C++ function: bool QMetaProperty::isFlagType() const.
Sourcepub unsafe fn is_readable(&self) -> bool
pub unsafe fn is_readable(&self) -> bool
Calls C++ function: bool QMetaProperty::isReadable() const.
Sourcepub unsafe fn is_required(&self) -> bool
pub unsafe fn is_required(&self) -> bool
Calls C++ function: bool QMetaProperty::isRequired() const.
Sourcepub unsafe fn is_resettable(&self) -> bool
pub unsafe fn is_resettable(&self) -> bool
Calls C++ function: bool QMetaProperty::isResettable() const.
Sourcepub unsafe fn is_scriptable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn is_scriptable_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::isScriptable(const QObject* obj = …) const.
Sourcepub unsafe fn is_scriptable_0a(&self) -> bool
pub unsafe fn is_scriptable_0a(&self) -> bool
Calls C++ function: bool QMetaProperty::isScriptable() const.
Sourcepub unsafe fn is_stored_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn is_stored_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::isStored(const QObject* obj = …) const.
Sourcepub unsafe fn is_stored_0a(&self) -> bool
pub unsafe fn is_stored_0a(&self) -> bool
Calls C++ function: bool QMetaProperty::isStored() const.
Sourcepub unsafe fn is_user_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn is_user_1a(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::isUser(const QObject* obj = …) const.
Sourcepub unsafe fn is_user_0a(&self) -> bool
pub unsafe fn is_user_0a(&self) -> bool
Calls C++ function: bool QMetaProperty::isUser() const.
Sourcepub unsafe fn is_writable(&self) -> bool
pub unsafe fn is_writable(&self) -> bool
Calls C++ function: bool QMetaProperty::isWritable() const.
Sourcepub unsafe fn name(&self) -> *const c_char
pub unsafe fn name(&self) -> *const c_char
Calls C++ function: const char* QMetaProperty::name() const.
Sourcepub unsafe fn new() -> CppBox<QMetaProperty>
pub unsafe fn new() -> CppBox<QMetaProperty>
Calls C++ function: [constructor] void QMetaProperty::QMetaProperty().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QMetaProperty>>,
) -> CppBox<QMetaProperty>
pub unsafe fn new_copy( other: impl CastInto<Ref<QMetaProperty>>, ) -> CppBox<QMetaProperty>
Calls C++ function: [constructor] void QMetaProperty::QMetaProperty(const QMetaProperty& other).
Sourcepub unsafe fn notify_signal(&self) -> CppBox<QMetaMethod>
pub unsafe fn notify_signal(&self) -> CppBox<QMetaMethod>
Calls C++ function: QMetaMethod QMetaProperty::notifySignal() const.
Sourcepub unsafe fn notify_signal_index(&self) -> c_int
pub unsafe fn notify_signal_index(&self) -> c_int
Calls C++ function: int QMetaProperty::notifySignalIndex() const.
Sourcepub unsafe fn property_index(&self) -> c_int
pub unsafe fn property_index(&self) -> c_int
Calls C++ function: int QMetaProperty::propertyIndex() const.
Sourcepub unsafe fn read(&self, obj: impl CastInto<Ptr<QObject>>) -> CppBox<QVariant>
pub unsafe fn read(&self, obj: impl CastInto<Ptr<QObject>>) -> CppBox<QVariant>
Calls C++ function: QVariant QMetaProperty::read(const QObject* obj) const.
Sourcepub unsafe fn read_on_gadget(&self, gadget: *const c_void) -> CppBox<QVariant>
pub unsafe fn read_on_gadget(&self, gadget: *const c_void) -> CppBox<QVariant>
Calls C++ function: QVariant QMetaProperty::readOnGadget(const void* gadget) const.
Sourcepub unsafe fn relative_property_index(&self) -> c_int
pub unsafe fn relative_property_index(&self) -> c_int
Calls C++ function: int QMetaProperty::relativePropertyIndex() const.
Sourcepub unsafe fn reset(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
pub unsafe fn reset(&self, obj: impl CastInto<Ptr<QObject>>) -> bool
Calls C++ function: bool QMetaProperty::reset(QObject* obj) const.
Sourcepub unsafe fn reset_on_gadget(&self, gadget: *mut c_void) -> bool
pub unsafe fn reset_on_gadget(&self, gadget: *mut c_void) -> bool
Calls C++ function: bool QMetaProperty::resetOnGadget(void* gadget) const.
Sourcepub unsafe fn revision(&self) -> c_int
pub unsafe fn revision(&self) -> c_int
Calls C++ function: int QMetaProperty::revision() const.
Sourcepub unsafe fn type_(&self) -> Type
pub unsafe fn type_(&self) -> Type
Calls C++ function: QVariant::Type QMetaProperty::type() const.
Sourcepub unsafe fn type_name(&self) -> *const c_char
pub unsafe fn type_name(&self) -> *const c_char
Calls C++ function: const char* QMetaProperty::typeName() const.
Sourcepub unsafe fn user_type(&self) -> c_int
pub unsafe fn user_type(&self) -> c_int
Calls C++ function: int QMetaProperty::userType() const.