Skip to main content

QAccessibleTextInsertEvent

Struct QAccessibleTextInsertEvent 

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

C++ class: QAccessibleTextInsertEvent.

Implementations§

Source§

impl QAccessibleTextInsertEvent

Source

pub unsafe fn change_position(&self) -> c_int

Calls C++ function: int QAccessibleTextInsertEvent::changePosition() const.

Source

pub unsafe fn from_q_object_int_q_string( obj: impl CastInto<Ptr<QObject>>, position: c_int, text: impl CastInto<Ref<QString>>, ) -> CppBox<QAccessibleTextInsertEvent>

Calls C++ function: [constructor] void QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject* obj, int position, const QString& text).

Source

pub unsafe fn from_q_accessible_interface_int_q_string( iface: impl CastInto<Ptr<QAccessibleInterface>>, position: c_int, text: impl CastInto<Ref<QString>>, ) -> CppBox<QAccessibleTextInsertEvent>

Calls C++ function: [constructor] void QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface* iface, int position, const QString& text).

Source

pub unsafe fn text_inserted(&self) -> CppBox<QString>

Calls C++ function: QString QAccessibleTextInsertEvent::textInserted() const.

Methods from Deref<Target = QAccessibleTextCursorEvent>§

Source

pub unsafe fn cursor_position(&self) -> c_int

Calls C++ function: int QAccessibleTextCursorEvent::cursorPosition() const.

Source

pub unsafe fn set_cursor_position(&self, position: c_int)

Calls C++ function: void QAccessibleTextCursorEvent::setCursorPosition(int position).

Methods from Deref<Target = QAccessibleEvent>§

Source

pub unsafe fn accessible_interface(&self) -> Ptr<QAccessibleInterface>

Calls C++ function: virtual QAccessibleInterface* QAccessibleEvent::accessibleInterface() const.

Source

pub unsafe fn child(&self) -> c_int

Calls C++ function: int QAccessibleEvent::child() const.

Source

pub unsafe fn object(&self) -> QPtr<QObject>

Calls C++ function: QObject* QAccessibleEvent::object() const.

Source

pub unsafe fn set_child(&self, chld: c_int)

Calls C++ function: void QAccessibleEvent::setChild(int chld).

Source

pub unsafe fn type_(&self) -> Event

Calls C++ function: QAccessible::Event QAccessibleEvent::type() const.

Source

pub unsafe fn unique_id(&self) -> c_uint

Calls C++ function: unsigned int QAccessibleEvent::uniqueId() const.

Trait Implementations§

Source§

impl CppDeletable for QAccessibleTextInsertEvent

Source§

unsafe fn delete(&self)

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

Source§

impl Deref for QAccessibleTextInsertEvent

Source§

fn deref(&self) -> &QAccessibleTextCursorEvent

Calls C++ function: QAccessibleTextCursorEvent* static_cast<QAccessibleTextCursorEvent*>(QAccessibleTextInsertEvent* ptr).

Source§

type Target = QAccessibleTextCursorEvent

The resulting type after dereferencing.
Source§

impl DynamicCast<QAccessibleTextInsertEvent> for QAccessibleEvent

Source§

unsafe fn dynamic_cast( ptr: Ptr<QAccessibleEvent>, ) -> Ptr<QAccessibleTextInsertEvent>

Calls C++ function: QAccessibleTextInsertEvent* dynamic_cast<QAccessibleTextInsertEvent*>(QAccessibleEvent* ptr).

Source§

impl DynamicCast<QAccessibleTextInsertEvent> for QAccessibleTextCursorEvent

Source§

unsafe fn dynamic_cast( ptr: Ptr<QAccessibleTextCursorEvent>, ) -> Ptr<QAccessibleTextInsertEvent>

Calls C++ function: QAccessibleTextInsertEvent* dynamic_cast<QAccessibleTextInsertEvent*>(QAccessibleTextCursorEvent* ptr).

Source§

impl StaticDowncast<QAccessibleTextInsertEvent> for QAccessibleEvent

Source§

unsafe fn static_downcast( ptr: Ptr<QAccessibleEvent>, ) -> Ptr<QAccessibleTextInsertEvent>

Calls C++ function: QAccessibleTextInsertEvent* static_cast<QAccessibleTextInsertEvent*>(QAccessibleEvent* ptr).

Source§

impl StaticDowncast<QAccessibleTextInsertEvent> for QAccessibleTextCursorEvent

Source§

unsafe fn static_downcast( ptr: Ptr<QAccessibleTextCursorEvent>, ) -> Ptr<QAccessibleTextInsertEvent>

Calls C++ function: QAccessibleTextInsertEvent* static_cast<QAccessibleTextInsertEvent*>(QAccessibleTextCursorEvent* ptr).

Source§

impl StaticUpcast<QAccessibleEvent> for QAccessibleTextInsertEvent

Source§

unsafe fn static_upcast( ptr: Ptr<QAccessibleTextInsertEvent>, ) -> Ptr<QAccessibleEvent>

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleTextInsertEvent* ptr).

Source§

impl StaticUpcast<QAccessibleTextCursorEvent> for QAccessibleTextInsertEvent

Source§

unsafe fn static_upcast( ptr: Ptr<QAccessibleTextInsertEvent>, ) -> Ptr<QAccessibleTextCursorEvent>

Calls C++ function: QAccessibleTextCursorEvent* static_cast<QAccessibleTextCursorEvent*>(QAccessibleTextInsertEvent* ptr).

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.