pub struct QMetaMethod { /* private fields */ }Expand description
C++ class: QMetaMethod.
Implementations§
Source§impl QMetaMethod
impl QMetaMethod
Sourcepub unsafe fn access(&self) -> Access
pub unsafe fn access(&self) -> Access
Calls C++ function: QMetaMethod::Access QMetaMethod::access() const.
Sourcepub unsafe fn attributes(&self) -> c_int
pub unsafe fn attributes(&self) -> c_int
Calls C++ function: int QMetaMethod::attributes() const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QMetaMethod>>,
) -> Ref<QMetaMethod>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QMetaMethod>>, ) -> Ref<QMetaMethod>
Calls C++ function: QMetaMethod& QMetaMethod::operator=(const QMetaMethod& other).
Sourcepub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
pub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
Calls C++ function: const QMetaObject* QMetaMethod::enclosingMetaObject() const.
Sourcepub unsafe fn get_parameter_types(&self, types: *mut c_int)
pub unsafe fn get_parameter_types(&self, types: *mut c_int)
Calls C++ function: void QMetaMethod::getParameterTypes(int* types) const.
Sourcepub unsafe fn method_index(&self) -> c_int
pub unsafe fn method_index(&self) -> c_int
Calls C++ function: int QMetaMethod::methodIndex() const.
Sourcepub unsafe fn method_signature(&self) -> CppBox<QByteArray>
pub unsafe fn method_signature(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QMetaMethod::methodSignature() const.
Sourcepub unsafe fn method_type(&self) -> MethodType
pub unsafe fn method_type(&self) -> MethodType
Calls C++ function: QMetaMethod::MethodType QMetaMethod::methodType() const.
Sourcepub unsafe fn name(&self) -> CppBox<QByteArray>
pub unsafe fn name(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QMetaMethod::name() const.
Sourcepub unsafe fn new() -> CppBox<QMetaMethod>
pub unsafe fn new() -> CppBox<QMetaMethod>
Calls C++ function: [constructor] void QMetaMethod::QMetaMethod().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QMetaMethod>>,
) -> CppBox<QMetaMethod>
pub unsafe fn new_copy( other: impl CastInto<Ref<QMetaMethod>>, ) -> CppBox<QMetaMethod>
Calls C++ function: [constructor] void QMetaMethod::QMetaMethod(const QMetaMethod& other).
Sourcepub unsafe fn parameter_count(&self) -> c_int
pub unsafe fn parameter_count(&self) -> c_int
Calls C++ function: int QMetaMethod::parameterCount() const.
Sourcepub unsafe fn parameter_names(&self) -> CppBox<QListOfQByteArray>
pub unsafe fn parameter_names(&self) -> CppBox<QListOfQByteArray>
Calls C++ function: QList<QByteArray> QMetaMethod::parameterNames() const.
Sourcepub unsafe fn parameter_type(&self, index: c_int) -> c_int
pub unsafe fn parameter_type(&self, index: c_int) -> c_int
Calls C++ function: int QMetaMethod::parameterType(int index) const.
Sourcepub unsafe fn parameter_types(&self) -> CppBox<QListOfQByteArray>
pub unsafe fn parameter_types(&self) -> CppBox<QListOfQByteArray>
Calls C++ function: QList<QByteArray> QMetaMethod::parameterTypes() const.
Sourcepub unsafe fn return_type(&self) -> c_int
pub unsafe fn return_type(&self) -> c_int
Calls C++ function: int QMetaMethod::returnType() const.