Skip to main content

QAccessible

Struct QAccessible 

Source
pub struct QAccessible { /* private fields */ }
Expand description

C++ class: QAccessible.

Implementations§

Source§

impl QAccessible

Source

pub unsafe fn accessible_interface( unique_id: c_uint, ) -> Ptr<QAccessibleInterface>

Calls C++ function: static QAccessibleInterface* QAccessible::accessibleInterface(unsigned int uniqueId).

Source

pub unsafe fn cleanup()

Calls C++ function: static void QAccessible::cleanup().

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QAccessible>>, ) -> Ref<QAccessible>

Calls C++ function: QAccessible& QAccessible::operator=(const QAccessible& other).

Source

pub unsafe fn delete_accessible_interface(unique_id: c_uint)

Calls C++ function: static void QAccessible::deleteAccessibleInterface(unsigned int uniqueId).

Source

pub unsafe fn install_root_object_handler( arg1: Option<extern "C" fn(*mut QObject)>, ) -> Option<extern "C" fn(*mut QObject)>

Calls C++ function: static void (*FN_PTR)(QObject *) QAccessible::installRootObjectHandler(void (*FN_PTR)(QObject *) arg1).

Source

pub unsafe fn install_update_handler( arg1: Option<extern "C" fn(*mut QAccessibleEvent)>, ) -> Option<extern "C" fn(*mut QAccessibleEvent)>

Calls C++ function: static void (*FN_PTR)(QAccessibleEvent *) QAccessible::installUpdateHandler(void (*FN_PTR)(QAccessibleEvent *) arg1).

Source

pub unsafe fn is_active() -> bool

Calls C++ function: static bool QAccessible::isActive().

Source

pub unsafe fn new_copy( other: impl CastInto<Ref<QAccessible>>, ) -> CppBox<QAccessible>

Calls C++ function: [constructor] void QAccessible::QAccessible(const QAccessible& other).

Source

pub unsafe fn q_accessible_text_boundary_helper( cursor: impl CastInto<Ref<QTextCursor>>, boundary_type: TextBoundaryType, ) -> CppBox<QPairOfIntInt>

Calls C++ function: static QPair<int, int> QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor& cursor, QAccessible::TextBoundaryType boundaryType).

Source

pub unsafe fn query_accessible_interface( arg1: impl CastInto<Ptr<QObject>>, ) -> Ptr<QAccessibleInterface>

Calls C++ function: static QAccessibleInterface* QAccessible::queryAccessibleInterface(QObject* arg1).

Source

pub unsafe fn register_accessible_interface( iface: impl CastInto<Ptr<QAccessibleInterface>>, ) -> c_uint

Calls C++ function: static unsigned int QAccessible::registerAccessibleInterface(QAccessibleInterface* iface).

Source

pub unsafe fn set_active(active: bool)

Calls C++ function: static void QAccessible::setActive(bool active).

Source

pub unsafe fn set_root_object(object: impl CastInto<Ptr<QObject>>)

Calls C++ function: static void QAccessible::setRootObject(QObject* object).

Source

pub unsafe fn static_meta_object() -> Ref<QMetaObject>

Returns a reference to the staticMetaObject field.

Source

pub unsafe fn unique_id( iface: impl CastInto<Ptr<QAccessibleInterface>>, ) -> c_uint

Calls C++ function: static unsigned int QAccessible::uniqueId(QAccessibleInterface* iface).

Source

pub unsafe fn update_accessibility(event: impl CastInto<Ptr<QAccessibleEvent>>)

Calls C++ function: static void QAccessible::updateAccessibility(QAccessibleEvent* event).

Trait Implementations§

Source§

impl CppDeletable for QAccessible

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QAccessible::~QAccessible().

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.