#[repr(C)]
pub struct QAccessibleTableModelChangeEvent { /* private fields */ }
Expand description

The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1.

C++ class: QAccessibleTableModelChangeEvent.

C++ documentation:

The QAccessibleTableModelChangeEvent signifies a change in a table, list, or tree where cells are added or removed. If the change affected a number of rows, firstColumn and lastColumn will return -1. Likewise for columns, the row functions may return -1.

This class is used with QAccessible::updateAccessibility().

Implementations§

source§

impl QAccessibleTableModelChangeEvent

source

pub unsafe fn first_column(&self) -> c_int

Returns the first changed column.

Calls C++ function: int QAccessibleTableModelChangeEvent::firstColumn() const.

C++ documentation:

Returns the first changed column.

See also setFirstColumn().

source

pub unsafe fn first_row(&self) -> c_int

Returns the first changed row.

Calls C++ function: int QAccessibleTableModelChangeEvent::firstRow() const.

C++ documentation:

Returns the first changed row.

See also setFirstRow().

source

pub unsafe fn last_column(&self) -> c_int

Returns the last changed column.

Calls C++ function: int QAccessibleTableModelChangeEvent::lastColumn() const.

C++ documentation:

Returns the last changed column.

See also setLastColumn().

source

pub unsafe fn last_row(&self) -> c_int

Returns the last changed row.

Calls C++ function: int QAccessibleTableModelChangeEvent::lastRow() const.

C++ documentation:

Returns the last changed row.

See also setLastRow().

source

pub unsafe fn model_change_type(&self) -> ModelChangeType

Returns the type of change.

Calls C++ function: QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType() const.

C++ documentation:

Returns the type of change.

See also setModelChangeType().

source

pub unsafe fn from_q_object_model_change_type( obj: impl CastInto<Ptr<QObject>>, change_type: ModelChangeType ) -> CppBox<QAccessibleTableModelChangeEvent>

Constructs a new QAccessibleTableModelChangeEvent for object of with changeType.

Calls C++ function: [constructor] void QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject* obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Constructs a new QAccessibleTableModelChangeEvent for object of with changeType.

source

pub unsafe fn from_q_accessible_interface_model_change_type( iface: impl CastInto<Ptr<QAccessibleInterface>>, change_type: ModelChangeType ) -> CppBox<QAccessibleTableModelChangeEvent>

Constructs a new QAccessibleTableModelChangeEvent for interface iface with a model change type changeType.

Calls C++ function: [constructor] void QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface* iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Constructs a new QAccessibleTableModelChangeEvent for interface iface with a model change type changeType.

source

pub unsafe fn set_first_column(&self, col: c_int)

Sets the first changed column.

Calls C++ function: void QAccessibleTableModelChangeEvent::setFirstColumn(int col).

C++ documentation:

Sets the first changed column.

See also firstColumn().

source

pub unsafe fn set_first_row(&self, row: c_int)

Sets the first changed row.

Calls C++ function: void QAccessibleTableModelChangeEvent::setFirstRow(int row).

C++ documentation:

Sets the first changed row.

See also firstRow().

source

pub unsafe fn set_last_column(&self, col: c_int)

Sets the last changed column.

Calls C++ function: void QAccessibleTableModelChangeEvent::setLastColumn(int col).

C++ documentation:

Sets the last changed column.

See also lastColumn().

source

pub unsafe fn set_last_row(&self, row: c_int)

Sets the last changed row.

Calls C++ function: void QAccessibleTableModelChangeEvent::setLastRow(int row).

C++ documentation:

Sets the last changed row.

See also lastRow().

source

pub unsafe fn set_model_change_type(&self, change_type: ModelChangeType)

Sets the type of change to changeType.

Calls C++ function: void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType).

C++ documentation:

Sets the type of change to changeType.

See also modelChangeType().

Methods from Deref<Target = QAccessibleEvent>§

source

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

Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.

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

C++ documentation:

Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.

source

pub unsafe fn child(&self) -> c_int

Returns the child index.

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

C++ documentation:

Returns the child index.

See also setChild().

source

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

Returns the event object.

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

C++ documentation:

Returns the event object.

source

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

Sets the child index to child.

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

C++ documentation:

Sets the child index to child.

See also child().

source

pub unsafe fn type_(&self) -> Event

Returns the event type.

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

C++ documentation:

Returns the event type.

source

pub unsafe fn unique_id(&self) -> c_uint

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

Trait Implementations§

source§

impl CppDeletable for QAccessibleTableModelChangeEvent

source§

unsafe fn delete(&self)

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

source§

impl Deref for QAccessibleTableModelChangeEvent

source§

fn deref(&self) -> &QAccessibleEvent

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

§

type Target = QAccessibleEvent

The resulting type after dereferencing.
source§

impl DynamicCast<QAccessibleTableModelChangeEvent> for QAccessibleEvent

source§

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

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

source§

impl StaticDowncast<QAccessibleTableModelChangeEvent> for QAccessibleEvent

source§

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

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

source§

impl StaticUpcast<QAccessibleEvent> for QAccessibleTableModelChangeEvent

source§

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

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleTableModelChangeEvent* 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<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>,

§

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>,

§

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.