2024-10-20 18:21:03 +13:00
# define WORKAROUND_INNER_CLASS_DEFINITION_QAccessible__State
# include <QAccessibleActionInterface>
# include <QAccessibleEditableTextInterface>
# include <QAccessibleEvent>
# include <QAccessibleHyperlinkInterface>
# include <QAccessibleImageInterface>
# include <QAccessibleInterface>
# include <QAccessibleStateChangeEvent>
# include <QAccessibleTableCellInterface>
# include <QAccessibleTableInterface>
# include <QAccessibleTableModelChangeEvent>
# include <QAccessibleTextCursorEvent>
# include <QAccessibleTextInsertEvent>
# include <QAccessibleTextInterface>
# include <QAccessibleTextRemoveEvent>
# include <QAccessibleTextSelectionEvent>
# include <QAccessibleTextUpdateEvent>
# include <QAccessibleValueChangeEvent>
# include <QAccessibleValueInterface>
# include <QColor>
# include <QList>
# include <QObject>
2024-11-26 20:10:11 +13:00
# include <QPair>
2024-10-20 18:21:03 +13:00
# include <QPoint>
# include <QRect>
# include <QSize>
# include <QString>
# include <QByteArray>
# include <cstring>
# include <QVariant>
# include <QWindow>
# include <qaccessible.h>
# include "gen_qaccessible.h"
2024-12-11 19:55:47 +13:00
2025-01-07 11:30:33 +01:00
# ifdef __cplusplus
extern " C " {
# endif
2025-02-01 13:45:16 +13:00
QAccessibleInterface * miqt_exec_callback_QAccessibleEvent_accessibleInterface ( const QAccessibleEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleStateChangeEvent_accessibleInterface ( const QAccessibleStateChangeEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTextCursorEvent_accessibleInterface ( const QAccessibleTextCursorEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTextSelectionEvent_accessibleInterface ( const QAccessibleTextSelectionEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTextInsertEvent_accessibleInterface ( const QAccessibleTextInsertEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTextRemoveEvent_accessibleInterface ( const QAccessibleTextRemoveEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTextUpdateEvent_accessibleInterface ( const QAccessibleTextUpdateEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleValueChangeEvent_accessibleInterface ( const QAccessibleValueChangeEvent * , intptr_t ) ;
QAccessibleInterface * miqt_exec_callback_QAccessibleTableModelChangeEvent_accessibleInterface ( const QAccessibleTableModelChangeEvent * , intptr_t ) ;
2025-01-07 11:30:33 +01:00
# ifdef __cplusplus
} /* extern C */
2024-12-11 19:55:47 +13:00
# endif
2024-10-20 18:21:03 +13:00
2025-02-01 13:45:16 +13:00
bool QAccessibleInterface_isValid ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > isValid ( ) ;
}
2025-02-01 13:45:16 +13:00
QObject * QAccessibleInterface_object ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > object ( ) ;
}
2025-02-01 13:45:16 +13:00
QWindow * QAccessibleInterface_window ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > window ( ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of struct miqt_map tuple of QAccessibleInterface* and int */ QAccessibleInterface_relations ( const QAccessibleInterface * self , int match ) {
2024-11-19 19:29:06 +13:00
QList < QPair < QAccessibleInterface * , QAccessible : : Relation > > _ret = self - > relations ( static_cast < QAccessible : : Relation > ( match ) ) ;
2024-11-17 19:21:37 +13:00
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_map /* tuple of QAccessibleInterface* and int */ * _arr = static_cast < struct miqt_map /* tuple of QAccessibleInterface* and int */ * > ( malloc ( sizeof ( struct miqt_map /* tuple of QAccessibleInterface* and int */ ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
QPair < QAccessibleInterface * , QFlags < QAccessible : : RelationFlag > > _lv_ret = _ret [ i ] ;
// Convert QPair<> from C++ memory to manually-managed C memory
QAccessibleInterface * * _lv_first_arr = static_cast < QAccessibleInterface * * > ( malloc ( sizeof ( QAccessibleInterface * ) ) ) ;
int * _lv_second_arr = static_cast < int * > ( malloc ( sizeof ( int ) ) ) ;
_lv_first_arr [ 0 ] = _lv_ret . first ;
QFlags < QAccessible : : RelationFlag > _lv_second_ret = _lv_ret . second ;
_lv_second_arr [ 0 ] = static_cast < int > ( _lv_second_ret ) ;
struct miqt_map _lv_out ;
_lv_out . len = 1 ;
_lv_out . keys = static_cast < void * > ( _lv_first_arr ) ;
_lv_out . values = static_cast < void * > ( _lv_second_arr ) ;
_arr [ i ] = _lv_out ;
}
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
return _out ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleInterface_focusChild ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > focusChild ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleInterface_childAt ( const QAccessibleInterface * self , int x , int y ) {
2024-10-20 18:21:03 +13:00
return self - > childAt ( static_cast < int > ( x ) , static_cast < int > ( y ) ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleInterface_parent ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > parent ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleInterface_child ( const QAccessibleInterface * self , int index ) {
2024-10-20 18:21:03 +13:00
return self - > child ( static_cast < int > ( index ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleInterface_childCount ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > childCount ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleInterface_indexOfChild ( const QAccessibleInterface * self , QAccessibleInterface * param1 ) {
2024-10-20 18:21:03 +13:00
return self - > indexOfChild ( param1 ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleInterface_text ( const QAccessibleInterface * self , int t ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > text ( static_cast < QAccessible : : Text > ( t ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleInterface_setText ( QAccessibleInterface * self , int t , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
self - > setText ( static_cast < QAccessible : : Text > ( t ) , text_QString ) ;
}
2025-02-01 13:45:16 +13:00
QRect * QAccessibleInterface_rect ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QRect ( self - > rect ( ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleInterface_role ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
QAccessible : : Role _ret = self - > role ( ) ;
return static_cast < int > ( _ret ) ;
}
2025-02-01 13:45:16 +13:00
QAccessible__State * QAccessibleInterface_state ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QAccessible : : State ( self - > state ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QColor * QAccessibleInterface_foregroundColor ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QColor ( self - > foregroundColor ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QColor * QAccessibleInterface_backgroundColor ( const QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QColor ( self - > backgroundColor ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleTextInterface * QAccessibleInterface_textInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > textInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleEditableTextInterface * QAccessibleInterface_editableTextInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > editableTextInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleValueInterface * QAccessibleInterface_valueInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > valueInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleActionInterface * QAccessibleInterface_actionInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > actionInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleImageInterface * QAccessibleInterface_imageInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > imageInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleTableInterface * QAccessibleInterface_tableInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > tableInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleTableCellInterface * QAccessibleInterface_tableCellInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > tableCellInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleHyperlinkInterface * QAccessibleInterface_hyperlinkInterface ( QAccessibleInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > hyperlinkInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleInterface_virtualHook ( QAccessibleInterface * self , int id , void * data ) {
2024-10-20 18:21:03 +13:00
self - > virtual_hook ( static_cast < int > ( id ) , data ) ;
}
2025-02-01 13:45:16 +13:00
void * QAccessibleInterface_interfaceCast ( QAccessibleInterface * self , int param1 ) {
2024-10-20 18:21:03 +13:00
return self - > interface_cast ( static_cast < QAccessible : : InterfaceType > ( param1 ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_selection ( const QAccessibleTextInterface * self , int selectionIndex , int * startOffset , int * endOffset ) {
2024-10-20 18:21:03 +13:00
self - > selection ( static_cast < int > ( selectionIndex ) , static_cast < int * > ( startOffset ) , static_cast < int * > ( endOffset ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextInterface_selectionCount ( const QAccessibleTextInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectionCount ( ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_addSelection ( QAccessibleTextInterface * self , int startOffset , int endOffset ) {
2024-10-20 18:21:03 +13:00
self - > addSelection ( static_cast < int > ( startOffset ) , static_cast < int > ( endOffset ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_removeSelection ( QAccessibleTextInterface * self , int selectionIndex ) {
2024-10-20 18:21:03 +13:00
self - > removeSelection ( static_cast < int > ( selectionIndex ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_setSelection ( QAccessibleTextInterface * self , int selectionIndex , int startOffset , int endOffset ) {
2024-10-20 18:21:03 +13:00
self - > setSelection ( static_cast < int > ( selectionIndex ) , static_cast < int > ( startOffset ) , static_cast < int > ( endOffset ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextInterface_cursorPosition ( const QAccessibleTextInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > cursorPosition ( ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_setCursorPosition ( QAccessibleTextInterface * self , int position ) {
2024-10-20 18:21:03 +13:00
self - > setCursorPosition ( static_cast < int > ( position ) ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInterface_text ( const QAccessibleTextInterface * self , int startOffset , int endOffset ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > text ( static_cast < int > ( startOffset ) , static_cast < int > ( endOffset ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInterface_textBeforeOffset ( const QAccessibleTextInterface * self , int offset , int boundaryType , int * startOffset , int * endOffset ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textBeforeOffset ( static_cast < int > ( offset ) , static_cast < QAccessible : : TextBoundaryType > ( boundaryType ) , static_cast < int * > ( startOffset ) , static_cast < int * > ( endOffset ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInterface_textAfterOffset ( const QAccessibleTextInterface * self , int offset , int boundaryType , int * startOffset , int * endOffset ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textAfterOffset ( static_cast < int > ( offset ) , static_cast < QAccessible : : TextBoundaryType > ( boundaryType ) , static_cast < int * > ( startOffset ) , static_cast < int * > ( endOffset ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInterface_textAtOffset ( const QAccessibleTextInterface * self , int offset , int boundaryType , int * startOffset , int * endOffset ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textAtOffset ( static_cast < int > ( offset ) , static_cast < QAccessible : : TextBoundaryType > ( boundaryType ) , static_cast < int * > ( startOffset ) , static_cast < int * > ( endOffset ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextInterface_characterCount ( const QAccessibleTextInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > characterCount ( ) ;
}
2025-02-01 13:45:16 +13:00
QRect * QAccessibleTextInterface_characterRect ( const QAccessibleTextInterface * self , int offset ) {
2024-10-20 18:21:03 +13:00
return new QRect ( self - > characterRect ( static_cast < int > ( offset ) ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextInterface_offsetAtPoint ( const QAccessibleTextInterface * self , QPoint * point ) {
2024-10-20 18:21:03 +13:00
return self - > offsetAtPoint ( * point ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_scrollToSubstring ( QAccessibleTextInterface * self , int startIndex , int endIndex ) {
2024-10-20 18:21:03 +13:00
self - > scrollToSubstring ( static_cast < int > ( startIndex ) , static_cast < int > ( endIndex ) ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInterface_attributes ( const QAccessibleTextInterface * self , int offset , int * startOffset , int * endOffset ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > attributes ( static_cast < int > ( offset ) , static_cast < int * > ( startOffset ) , static_cast < int * > ( endOffset ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_operatorAssign ( QAccessibleTextInterface * self , QAccessibleTextInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInterface_delete ( QAccessibleTextInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleEditableTextInterface_deleteText ( QAccessibleEditableTextInterface * self , int startOffset , int endOffset ) {
2024-10-20 18:21:03 +13:00
self - > deleteText ( static_cast < int > ( startOffset ) , static_cast < int > ( endOffset ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleEditableTextInterface_insertText ( QAccessibleEditableTextInterface * self , int offset , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
self - > insertText ( static_cast < int > ( offset ) , text_QString ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleEditableTextInterface_replaceText ( QAccessibleEditableTextInterface * self , int startOffset , int endOffset , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
self - > replaceText ( static_cast < int > ( startOffset ) , static_cast < int > ( endOffset ) , text_QString ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleEditableTextInterface_operatorAssign ( QAccessibleEditableTextInterface * self , QAccessibleEditableTextInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleEditableTextInterface_delete ( QAccessibleEditableTextInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QVariant * QAccessibleValueInterface_currentValue ( const QAccessibleValueInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QVariant ( self - > currentValue ( ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleValueInterface_setCurrentValue ( QAccessibleValueInterface * self , QVariant * value ) {
2024-10-20 18:21:03 +13:00
self - > setCurrentValue ( * value ) ;
}
2025-02-01 13:45:16 +13:00
QVariant * QAccessibleValueInterface_maximumValue ( const QAccessibleValueInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QVariant ( self - > maximumValue ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QVariant * QAccessibleValueInterface_minimumValue ( const QAccessibleValueInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QVariant ( self - > minimumValue ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QVariant * QAccessibleValueInterface_minimumStepSize ( const QAccessibleValueInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QVariant ( self - > minimumStepSize ( ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleValueInterface_operatorAssign ( QAccessibleValueInterface * self , QAccessibleValueInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleValueInterface_delete ( QAccessibleValueInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableCellInterface_isSelected ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > isSelected ( ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QAccessibleInterface* */ QAccessibleTableCellInterface_columnHeaderCells ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
QList < QAccessibleInterface * > _ret = self - > columnHeaderCells ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
QAccessibleInterface * * _arr = static_cast < QAccessibleInterface * * > ( malloc ( sizeof ( QAccessibleInterface * ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = _ret [ i ] ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QAccessibleInterface* */ QAccessibleTableCellInterface_rowHeaderCells ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
QList < QAccessibleInterface * > _ret = self - > rowHeaderCells ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
QAccessibleInterface * * _arr = static_cast < QAccessibleInterface * * > ( malloc ( sizeof ( QAccessibleInterface * ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = _ret [ i ] ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableCellInterface_columnIndex ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > columnIndex ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableCellInterface_rowIndex ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > rowIndex ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableCellInterface_columnExtent ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > columnExtent ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableCellInterface_rowExtent ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > rowExtent ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTableCellInterface_table ( const QAccessibleTableCellInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > table ( ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableCellInterface_operatorAssign ( QAccessibleTableCellInterface * self , QAccessibleTableCellInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableCellInterface_delete ( QAccessibleTableCellInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTableInterface_caption ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > caption ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTableInterface_summary ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > summary ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTableInterface_cellAt ( const QAccessibleTableInterface * self , int row , int column ) {
2024-10-20 18:21:03 +13:00
return self - > cellAt ( static_cast < int > ( row ) , static_cast < int > ( column ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableInterface_selectedCellCount ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectedCellCount ( ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QAccessibleInterface* */ QAccessibleTableInterface_selectedCells ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
QList < QAccessibleInterface * > _ret = self - > selectedCells ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
QAccessibleInterface * * _arr = static_cast < QAccessibleInterface * * > ( malloc ( sizeof ( QAccessibleInterface * ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = _ret [ i ] ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTableInterface_columnDescription ( const QAccessibleTableInterface * self , int column ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > columnDescription ( static_cast < int > ( column ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTableInterface_rowDescription ( const QAccessibleTableInterface * self , int row ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > rowDescription ( static_cast < int > ( row ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableInterface_selectedColumnCount ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectedColumnCount ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableInterface_selectedRowCount ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectedRowCount ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableInterface_columnCount ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > columnCount ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableInterface_rowCount ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > rowCount ( ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of int */ QAccessibleTableInterface_selectedColumns ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
QList < int > _ret = self - > selectedColumns ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
int * _arr = static_cast < int * > ( malloc ( sizeof ( int ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = _ret [ i ] ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of int */ QAccessibleTableInterface_selectedRows ( const QAccessibleTableInterface * self ) {
2024-10-20 18:21:03 +13:00
QList < int > _ret = self - > selectedRows ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
int * _arr = static_cast < int * > ( malloc ( sizeof ( int ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = _ret [ i ] ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_isColumnSelected ( const QAccessibleTableInterface * self , int column ) {
2024-10-20 18:21:03 +13:00
return self - > isColumnSelected ( static_cast < int > ( column ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_isRowSelected ( const QAccessibleTableInterface * self , int row ) {
2024-10-20 18:21:03 +13:00
return self - > isRowSelected ( static_cast < int > ( row ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_selectRow ( QAccessibleTableInterface * self , int row ) {
2024-10-20 18:21:03 +13:00
return self - > selectRow ( static_cast < int > ( row ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_selectColumn ( QAccessibleTableInterface * self , int column ) {
2024-10-20 18:21:03 +13:00
return self - > selectColumn ( static_cast < int > ( column ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_unselectRow ( QAccessibleTableInterface * self , int row ) {
2024-10-20 18:21:03 +13:00
return self - > unselectRow ( static_cast < int > ( row ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableInterface_unselectColumn ( QAccessibleTableInterface * self , int column ) {
2024-10-20 18:21:03 +13:00
return self - > unselectColumn ( static_cast < int > ( column ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableInterface_modelChange ( QAccessibleTableInterface * self , QAccessibleTableModelChangeEvent * event ) {
2024-10-20 18:21:03 +13:00
self - > modelChange ( event ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableInterface_delete ( QAccessibleTableInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_tr ( const char * sourceText ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : tr ( sourceText ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of struct miqt_string */ QAccessibleActionInterface_actionNames ( const QAccessibleActionInterface * self ) {
2024-10-20 18:21:03 +13:00
QStringList _ret = self - > actionNames ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * _arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
QString _lv_ret = _ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _lv_b = _lv_ret . toUtf8 ( ) ;
struct miqt_string _lv_ms ;
_lv_ms . len = _lv_b . length ( ) ;
_lv_ms . data = static_cast < char * > ( malloc ( _lv_ms . len ) ) ;
memcpy ( _lv_ms . data , _lv_b . data ( ) , _lv_ms . len ) ;
_arr [ i ] = _lv_ms ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_localizedActionName ( const QAccessibleActionInterface * self , struct miqt_string name ) {
2024-10-20 18:21:03 +13:00
QString name_QString = QString : : fromUtf8 ( name . data , name . len ) ;
QString _ret = self - > localizedActionName ( name_QString ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_localizedActionDescription ( const QAccessibleActionInterface * self , struct miqt_string name ) {
2024-10-20 18:21:03 +13:00
QString name_QString = QString : : fromUtf8 ( name . data , name . len ) ;
QString _ret = self - > localizedActionDescription ( name_QString ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleActionInterface_doAction ( QAccessibleActionInterface * self , struct miqt_string actionName ) {
2024-10-20 18:21:03 +13:00
QString actionName_QString = QString : : fromUtf8 ( actionName . data , actionName . len ) ;
self - > doAction ( actionName_QString ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of struct miqt_string */ QAccessibleActionInterface_keyBindingsForAction ( const QAccessibleActionInterface * self , struct miqt_string actionName ) {
2024-10-20 18:21:03 +13:00
QString actionName_QString = QString : : fromUtf8 ( actionName . data , actionName . len ) ;
QStringList _ret = self - > keyBindingsForAction ( actionName_QString ) ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * _arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
QString _lv_ret = _ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _lv_b = _lv_ret . toUtf8 ( ) ;
struct miqt_string _lv_ms ;
_lv_ms . len = _lv_b . length ( ) ;
_lv_ms . data = static_cast < char * > ( malloc ( _lv_ms . len ) ) ;
memcpy ( _lv_ms . data , _lv_b . data ( ) , _lv_ms . len ) ;
_arr [ i ] = _lv_ms ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 18:21:03 +13:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_pressAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : pressAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_increaseAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : increaseAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_decreaseAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : decreaseAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_showMenuAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : showMenuAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_setFocusAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : setFocusAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_toggleAction ( ) {
2024-10-20 18:21:03 +13:00
const QString _ret = QAccessibleActionInterface : : toggleAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_scrollLeftAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : scrollLeftAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_scrollRightAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : scrollRightAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_scrollUpAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : scrollUpAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_scrollDownAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : scrollDownAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_nextPageAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : nextPageAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_previousPageAction ( ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : previousPageAction ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleActionInterface_operatorAssign ( QAccessibleActionInterface * self , QAccessibleActionInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_tr2 ( const char * sourceText , const char * disambiguation ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : tr ( sourceText , disambiguation ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleActionInterface_tr3 ( const char * sourceText , const char * disambiguation , int n ) {
2024-10-20 18:21:03 +13:00
QString _ret = QAccessibleActionInterface : : tr ( sourceText , disambiguation , static_cast < int > ( n ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleActionInterface_delete ( QAccessibleActionInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleImageInterface_imageDescription ( const QAccessibleImageInterface * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > imageDescription ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
QSize * QAccessibleImageInterface_imageSize ( const QAccessibleImageInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QSize ( self - > imageSize ( ) ) ;
}
2025-02-01 13:45:16 +13:00
QPoint * QAccessibleImageInterface_imagePosition ( const QAccessibleImageInterface * self ) {
2024-10-20 18:21:03 +13:00
return new QPoint ( self - > imagePosition ( ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleImageInterface_operatorAssign ( QAccessibleImageInterface * self , QAccessibleImageInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleImageInterface_delete ( QAccessibleImageInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleHyperlinkInterface_anchor ( const QAccessibleHyperlinkInterface * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > anchor ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleHyperlinkInterface_anchorTarget ( const QAccessibleHyperlinkInterface * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > anchorTarget ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleHyperlinkInterface_startIndex ( const QAccessibleHyperlinkInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > startIndex ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleHyperlinkInterface_endIndex ( const QAccessibleHyperlinkInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > endIndex ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleHyperlinkInterface_isValid ( const QAccessibleHyperlinkInterface * self ) {
2024-10-20 18:21:03 +13:00
return self - > isValid ( ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleHyperlinkInterface_operatorAssign ( QAccessibleHyperlinkInterface * self , QAccessibleHyperlinkInterface * param1 ) {
2024-10-20 18:21:03 +13:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleHyperlinkInterface_delete ( QAccessibleHyperlinkInterface * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-01-18 17:42:41 +13:00
class MiqtVirtualQAccessibleEvent final : public QAccessibleEvent {
2024-11-19 19:29:06 +13:00
public :
MiqtVirtualQAccessibleEvent ( QObject * obj , QAccessible : : Event typ ) : QAccessibleEvent ( obj , typ ) { } ;
MiqtVirtualQAccessibleEvent ( QAccessibleInterface * iface , QAccessible : : Event typ ) : QAccessibleEvent ( iface , typ ) { } ;
2025-01-18 17:42:41 +13:00
virtual ~ MiqtVirtualQAccessibleEvent ( ) override = default ;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2024-11-19 19:29:06 +13:00
return QAccessibleEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2024-11-19 19:29:06 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2024-11-19 19:29:06 +13:00
return QAccessibleEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleEvent * QAccessibleEvent_new ( QObject * obj , int typ ) {
return new MiqtVirtualQAccessibleEvent ( obj , static_cast < QAccessible : : Event > ( typ ) ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleEvent * QAccessibleEvent_new2 ( QAccessibleInterface * iface , int typ ) {
return new MiqtVirtualQAccessibleEvent ( iface , static_cast < QAccessible : : Event > ( typ ) ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QAccessibleEvent_type ( const QAccessibleEvent * self ) {
2024-10-20 18:21:03 +13:00
QAccessible : : Event _ret = self - > type ( ) ;
return static_cast < int > ( _ret ) ;
}
2025-02-01 13:45:16 +13:00
QObject * QAccessibleEvent_object ( const QAccessibleEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > object ( ) ;
}
2025-02-01 13:45:16 +13:00
unsigned int QAccessibleEvent_uniqueId ( const QAccessibleEvent * self ) {
2024-10-20 18:21:03 +13:00
QAccessible : : Id _ret = self - > uniqueId ( ) ;
return static_cast < unsigned int > ( _ret ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleEvent_setChild ( QAccessibleEvent * self , int chld ) {
2024-10-20 18:21:03 +13:00
self - > setChild ( static_cast < int > ( chld ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleEvent_child ( const QAccessibleEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > child ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleEvent_accessibleInterface ( const QAccessibleEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-18 17:57:48 +13:00
MiqtVirtualQAccessibleEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleEvent * > ( ( QAccessibleEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-18 17:57:48 +13:00
return true ;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleEvent_delete ( QAccessibleEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-11-19 19:29:06 +13:00
}
2025-01-18 17:42:41 +13:00
class MiqtVirtualQAccessibleStateChangeEvent final : public QAccessibleStateChangeEvent {
2024-11-19 19:29:06 +13:00
public :
MiqtVirtualQAccessibleStateChangeEvent ( QObject * obj , QAccessible : : State state ) : QAccessibleStateChangeEvent ( obj , state ) { } ;
MiqtVirtualQAccessibleStateChangeEvent ( QAccessibleInterface * iface , QAccessible : : State state ) : QAccessibleStateChangeEvent ( iface , state ) { } ;
2025-01-18 17:42:41 +13:00
virtual ~ MiqtVirtualQAccessibleStateChangeEvent ( ) override = default ;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2024-11-19 19:29:06 +13:00
return QAccessibleStateChangeEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleStateChangeEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2024-11-19 19:29:06 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2024-11-19 19:29:06 +13:00
return QAccessibleStateChangeEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleStateChangeEvent * QAccessibleStateChangeEvent_new ( QObject * obj , QAccessible__State * state ) {
return new MiqtVirtualQAccessibleStateChangeEvent ( obj , * state ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleStateChangeEvent * QAccessibleStateChangeEvent_new2 ( QAccessibleInterface * iface , QAccessible__State * state ) {
return new MiqtVirtualQAccessibleStateChangeEvent ( iface , * state ) ;
}
void QAccessibleStateChangeEvent_virtbase ( QAccessibleStateChangeEvent * src , QAccessibleEvent * * outptr_QAccessibleEvent ) {
* outptr_QAccessibleEvent = static_cast < QAccessibleEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessible__State * QAccessibleStateChangeEvent_changedStates ( const QAccessibleStateChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return new QAccessible : : State ( self - > changedStates ( ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleStateChangeEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-18 17:57:48 +13:00
MiqtVirtualQAccessibleStateChangeEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleStateChangeEvent * > ( ( QAccessibleStateChangeEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-18 17:57:48 +13:00
return true ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleStateChangeEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleStateChangeEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleStateChangeEvent_delete ( QAccessibleStateChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-11-19 19:29:06 +13:00
}
2025-01-18 17:42:41 +13:00
class MiqtVirtualQAccessibleTextCursorEvent final : public QAccessibleTextCursorEvent {
2024-11-19 19:29:06 +13:00
public :
MiqtVirtualQAccessibleTextCursorEvent ( QObject * obj , int cursorPos ) : QAccessibleTextCursorEvent ( obj , cursorPos ) { } ;
MiqtVirtualQAccessibleTextCursorEvent ( QAccessibleInterface * iface , int cursorPos ) : QAccessibleTextCursorEvent ( iface , cursorPos ) { } ;
2025-01-18 17:42:41 +13:00
virtual ~ MiqtVirtualQAccessibleTextCursorEvent ( ) override = default ;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2024-11-19 19:29:06 +13:00
return QAccessibleTextCursorEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTextCursorEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2024-11-19 19:29:06 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2024-11-19 19:29:06 +13:00
return QAccessibleTextCursorEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTextCursorEvent * QAccessibleTextCursorEvent_new ( QObject * obj , int cursorPos ) {
return new MiqtVirtualQAccessibleTextCursorEvent ( obj , static_cast < int > ( cursorPos ) ) ;
}
QAccessibleTextCursorEvent * QAccessibleTextCursorEvent_new2 ( QAccessibleInterface * iface , int cursorPos ) {
return new MiqtVirtualQAccessibleTextCursorEvent ( iface , static_cast < int > ( cursorPos ) ) ;
2024-11-19 19:29:06 +13:00
}
2024-12-07 17:15:57 +13:00
void QAccessibleTextCursorEvent_virtbase ( QAccessibleTextCursorEvent * src , QAccessibleEvent * * outptr_QAccessibleEvent ) {
* outptr_QAccessibleEvent = static_cast < QAccessibleEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextCursorEvent_setCursorPosition ( QAccessibleTextCursorEvent * self , int position ) {
2024-10-20 18:21:03 +13:00
self - > setCursorPosition ( static_cast < int > ( position ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextCursorEvent_cursorPosition ( const QAccessibleTextCursorEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > cursorPosition ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTextCursorEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-18 17:57:48 +13:00
MiqtVirtualQAccessibleTextCursorEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTextCursorEvent * > ( ( QAccessibleTextCursorEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-18 17:57:48 +13:00
return true ;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTextCursorEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTextCursorEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextCursorEvent_delete ( QAccessibleTextCursorEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-11-19 19:29:06 +13:00
}
2025-01-19 16:39:11 +13:00
class MiqtVirtualQAccessibleTextSelectionEvent final : public QAccessibleTextSelectionEvent {
public :
MiqtVirtualQAccessibleTextSelectionEvent ( QObject * obj , int start , int end ) : QAccessibleTextSelectionEvent ( obj , start , end ) { } ;
MiqtVirtualQAccessibleTextSelectionEvent ( QAccessibleInterface * iface , int start , int end ) : QAccessibleTextSelectionEvent ( iface , start , end ) { } ;
virtual ~ MiqtVirtualQAccessibleTextSelectionEvent ( ) override = default ;
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2025-01-19 16:39:11 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2025-01-19 16:39:11 +13:00
return QAccessibleTextSelectionEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTextSelectionEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2025-01-19 16:39:11 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2025-01-19 16:39:11 +13:00
return QAccessibleTextSelectionEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTextSelectionEvent * QAccessibleTextSelectionEvent_new ( QObject * obj , int start , int end ) {
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextSelectionEvent ( obj , static_cast < int > ( start ) , static_cast < int > ( end ) ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleTextSelectionEvent * QAccessibleTextSelectionEvent_new2 ( QAccessibleInterface * iface , int start , int end ) {
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextSelectionEvent ( iface , static_cast < int > ( start ) , static_cast < int > ( end ) ) ;
2024-12-07 17:15:57 +13:00
}
void QAccessibleTextSelectionEvent_virtbase ( QAccessibleTextSelectionEvent * src , QAccessibleTextCursorEvent * * outptr_QAccessibleTextCursorEvent ) {
* outptr_QAccessibleTextCursorEvent = static_cast < QAccessibleTextCursorEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextSelectionEvent_setSelection ( QAccessibleTextSelectionEvent * self , int start , int end ) {
2024-10-20 18:21:03 +13:00
self - > setSelection ( static_cast < int > ( start ) , static_cast < int > ( end ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextSelectionEvent_selectionStart ( const QAccessibleTextSelectionEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectionStart ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextSelectionEvent_selectionEnd ( const QAccessibleTextSelectionEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > selectionEnd ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTextSelectionEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-19 16:39:11 +13:00
MiqtVirtualQAccessibleTextSelectionEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTextSelectionEvent * > ( ( QAccessibleTextSelectionEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-19 16:39:11 +13:00
return true ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTextSelectionEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTextSelectionEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2025-01-19 16:39:11 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextSelectionEvent_delete ( QAccessibleTextSelectionEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-01-19 16:39:11 +13:00
class MiqtVirtualQAccessibleTextInsertEvent final : public QAccessibleTextInsertEvent {
public :
MiqtVirtualQAccessibleTextInsertEvent ( QObject * obj , int position , const QString & text ) : QAccessibleTextInsertEvent ( obj , position , text ) { } ;
MiqtVirtualQAccessibleTextInsertEvent ( QAccessibleInterface * iface , int position , const QString & text ) : QAccessibleTextInsertEvent ( iface , position , text ) { } ;
virtual ~ MiqtVirtualQAccessibleTextInsertEvent ( ) override = default ;
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2025-01-19 16:39:11 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2025-01-19 16:39:11 +13:00
return QAccessibleTextInsertEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTextInsertEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2025-01-19 16:39:11 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2025-01-19 16:39:11 +13:00
return QAccessibleTextInsertEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTextInsertEvent * QAccessibleTextInsertEvent_new ( QObject * obj , int position , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextInsertEvent ( obj , static_cast < int > ( position ) , text_QString ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleTextInsertEvent * QAccessibleTextInsertEvent_new2 ( QAccessibleInterface * iface , int position , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextInsertEvent ( iface , static_cast < int > ( position ) , text_QString ) ;
2024-12-07 17:15:57 +13:00
}
void QAccessibleTextInsertEvent_virtbase ( QAccessibleTextInsertEvent * src , QAccessibleTextCursorEvent * * outptr_QAccessibleTextCursorEvent ) {
* outptr_QAccessibleTextCursorEvent = static_cast < QAccessibleTextCursorEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextInsertEvent_textInserted ( const QAccessibleTextInsertEvent * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textInserted ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextInsertEvent_changePosition ( const QAccessibleTextInsertEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > changePosition ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTextInsertEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-19 16:39:11 +13:00
MiqtVirtualQAccessibleTextInsertEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTextInsertEvent * > ( ( QAccessibleTextInsertEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-19 16:39:11 +13:00
return true ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTextInsertEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTextInsertEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2025-01-19 16:39:11 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextInsertEvent_delete ( QAccessibleTextInsertEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-01-19 16:39:11 +13:00
class MiqtVirtualQAccessibleTextRemoveEvent final : public QAccessibleTextRemoveEvent {
public :
MiqtVirtualQAccessibleTextRemoveEvent ( QObject * obj , int position , const QString & text ) : QAccessibleTextRemoveEvent ( obj , position , text ) { } ;
MiqtVirtualQAccessibleTextRemoveEvent ( QAccessibleInterface * iface , int position , const QString & text ) : QAccessibleTextRemoveEvent ( iface , position , text ) { } ;
virtual ~ MiqtVirtualQAccessibleTextRemoveEvent ( ) override = default ;
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2025-01-19 16:39:11 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2025-01-19 16:39:11 +13:00
return QAccessibleTextRemoveEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTextRemoveEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2025-01-19 16:39:11 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2025-01-19 16:39:11 +13:00
return QAccessibleTextRemoveEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTextRemoveEvent * QAccessibleTextRemoveEvent_new ( QObject * obj , int position , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextRemoveEvent ( obj , static_cast < int > ( position ) , text_QString ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleTextRemoveEvent * QAccessibleTextRemoveEvent_new2 ( QAccessibleInterface * iface , int position , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextRemoveEvent ( iface , static_cast < int > ( position ) , text_QString ) ;
2024-12-07 17:15:57 +13:00
}
void QAccessibleTextRemoveEvent_virtbase ( QAccessibleTextRemoveEvent * src , QAccessibleTextCursorEvent * * outptr_QAccessibleTextCursorEvent ) {
* outptr_QAccessibleTextCursorEvent = static_cast < QAccessibleTextCursorEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextRemoveEvent_textRemoved ( const QAccessibleTextRemoveEvent * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textRemoved ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextRemoveEvent_changePosition ( const QAccessibleTextRemoveEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > changePosition ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTextRemoveEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-19 16:39:11 +13:00
MiqtVirtualQAccessibleTextRemoveEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTextRemoveEvent * > ( ( QAccessibleTextRemoveEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-19 16:39:11 +13:00
return true ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTextRemoveEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTextRemoveEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2025-01-19 16:39:11 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextRemoveEvent_delete ( QAccessibleTextRemoveEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-01-19 16:39:11 +13:00
class MiqtVirtualQAccessibleTextUpdateEvent final : public QAccessibleTextUpdateEvent {
public :
MiqtVirtualQAccessibleTextUpdateEvent ( QObject * obj , int position , const QString & oldText , const QString & text ) : QAccessibleTextUpdateEvent ( obj , position , oldText , text ) { } ;
MiqtVirtualQAccessibleTextUpdateEvent ( QAccessibleInterface * iface , int position , const QString & oldText , const QString & text ) : QAccessibleTextUpdateEvent ( iface , position , oldText , text ) { } ;
virtual ~ MiqtVirtualQAccessibleTextUpdateEvent ( ) override = default ;
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2025-01-19 16:39:11 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2025-01-19 16:39:11 +13:00
return QAccessibleTextUpdateEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTextUpdateEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2025-01-19 16:39:11 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2025-01-19 16:39:11 +13:00
return QAccessibleTextUpdateEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTextUpdateEvent * QAccessibleTextUpdateEvent_new ( QObject * obj , int position , struct miqt_string oldText , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString oldText_QString = QString : : fromUtf8 ( oldText . data , oldText . len ) ;
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextUpdateEvent ( obj , static_cast < int > ( position ) , oldText_QString , text_QString ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleTextUpdateEvent * QAccessibleTextUpdateEvent_new2 ( QAccessibleInterface * iface , int position , struct miqt_string oldText , struct miqt_string text ) {
2024-10-20 18:21:03 +13:00
QString oldText_QString = QString : : fromUtf8 ( oldText . data , oldText . len ) ;
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-01-19 16:39:11 +13:00
return new MiqtVirtualQAccessibleTextUpdateEvent ( iface , static_cast < int > ( position ) , oldText_QString , text_QString ) ;
2024-12-07 17:15:57 +13:00
}
void QAccessibleTextUpdateEvent_virtbase ( QAccessibleTextUpdateEvent * src , QAccessibleTextCursorEvent * * outptr_QAccessibleTextCursorEvent ) {
* outptr_QAccessibleTextCursorEvent = static_cast < QAccessibleTextCursorEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextUpdateEvent_textRemoved ( const QAccessibleTextUpdateEvent * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textRemoved ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QAccessibleTextUpdateEvent_textInserted ( const QAccessibleTextUpdateEvent * self ) {
2024-10-20 18:21:03 +13:00
QString _ret = self - > textInserted ( ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTextUpdateEvent_changePosition ( const QAccessibleTextUpdateEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > changePosition ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTextUpdateEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-19 16:39:11 +13:00
MiqtVirtualQAccessibleTextUpdateEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTextUpdateEvent * > ( ( QAccessibleTextUpdateEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-19 16:39:11 +13:00
return true ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTextUpdateEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTextUpdateEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2025-01-19 16:39:11 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTextUpdateEvent_delete ( QAccessibleTextUpdateEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}
2025-01-18 17:42:41 +13:00
class MiqtVirtualQAccessibleValueChangeEvent final : public QAccessibleValueChangeEvent {
2024-11-19 19:29:06 +13:00
public :
MiqtVirtualQAccessibleValueChangeEvent ( QObject * obj , const QVariant & val ) : QAccessibleValueChangeEvent ( obj , val ) { } ;
MiqtVirtualQAccessibleValueChangeEvent ( QAccessibleInterface * iface , const QVariant & val ) : QAccessibleValueChangeEvent ( iface , val ) { } ;
2025-01-18 17:42:41 +13:00
virtual ~ MiqtVirtualQAccessibleValueChangeEvent ( ) override = default ;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2024-11-19 19:29:06 +13:00
return QAccessibleValueChangeEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleValueChangeEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2024-11-19 19:29:06 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2024-11-19 19:29:06 +13:00
return QAccessibleValueChangeEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleValueChangeEvent * QAccessibleValueChangeEvent_new ( QObject * obj , QVariant * val ) {
return new MiqtVirtualQAccessibleValueChangeEvent ( obj , * val ) ;
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QAccessibleValueChangeEvent * QAccessibleValueChangeEvent_new2 ( QAccessibleInterface * iface , QVariant * val ) {
return new MiqtVirtualQAccessibleValueChangeEvent ( iface , * val ) ;
}
void QAccessibleValueChangeEvent_virtbase ( QAccessibleValueChangeEvent * src , QAccessibleEvent * * outptr_QAccessibleEvent ) {
* outptr_QAccessibleEvent = static_cast < QAccessibleEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleValueChangeEvent_setValue ( QAccessibleValueChangeEvent * self , QVariant * val ) {
2024-10-20 18:21:03 +13:00
self - > setValue ( * val ) ;
}
2025-02-01 13:45:16 +13:00
QVariant * QAccessibleValueChangeEvent_value ( const QAccessibleValueChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return new QVariant ( self - > value ( ) ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleValueChangeEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-18 17:57:48 +13:00
MiqtVirtualQAccessibleValueChangeEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleValueChangeEvent * > ( ( QAccessibleValueChangeEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-18 17:57:48 +13:00
return true ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleValueChangeEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleValueChangeEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleValueChangeEvent_delete ( QAccessibleValueChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-11-19 19:29:06 +13:00
}
2025-01-18 17:42:41 +13:00
class MiqtVirtualQAccessibleTableModelChangeEvent final : public QAccessibleTableModelChangeEvent {
2024-11-19 19:29:06 +13:00
public :
MiqtVirtualQAccessibleTableModelChangeEvent ( QObject * obj , QAccessibleTableModelChangeEvent : : ModelChangeType changeType ) : QAccessibleTableModelChangeEvent ( obj , changeType ) { } ;
MiqtVirtualQAccessibleTableModelChangeEvent ( QAccessibleInterface * iface , QAccessibleTableModelChangeEvent : : ModelChangeType changeType ) : QAccessibleTableModelChangeEvent ( iface , changeType ) { } ;
2025-01-18 17:42:41 +13:00
virtual ~ MiqtVirtualQAccessibleTableModelChangeEvent ( ) override = default ;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__accessibleInterface = 0 ;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAccessibleInterface * accessibleInterface ( ) const override {
2025-02-01 13:45:16 +13:00
if ( handle__accessibleInterface = = 0 ) {
2024-11-19 19:29:06 +13:00
return QAccessibleTableModelChangeEvent : : accessibleInterface ( ) ;
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * callback_return_value = miqt_exec_callback_QAccessibleTableModelChangeEvent_accessibleInterface ( this , handle__accessibleInterface ) ;
2024-11-19 19:29:06 +13:00
return callback_return_value ;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAccessibleInterface * virtualbase_accessibleInterface ( ) const {
2024-11-19 19:29:06 +13:00
return QAccessibleTableModelChangeEvent : : accessibleInterface ( ) ;
}
} ;
2024-12-07 17:15:57 +13:00
QAccessibleTableModelChangeEvent * QAccessibleTableModelChangeEvent_new ( QObject * obj , int changeType ) {
return new MiqtVirtualQAccessibleTableModelChangeEvent ( obj , static_cast < QAccessibleTableModelChangeEvent : : ModelChangeType > ( changeType ) ) ;
}
QAccessibleTableModelChangeEvent * QAccessibleTableModelChangeEvent_new2 ( QAccessibleInterface * iface , int changeType ) {
return new MiqtVirtualQAccessibleTableModelChangeEvent ( iface , static_cast < QAccessibleTableModelChangeEvent : : ModelChangeType > ( changeType ) ) ;
2024-11-19 19:29:06 +13:00
}
2024-12-07 17:15:57 +13:00
void QAccessibleTableModelChangeEvent_virtbase ( QAccessibleTableModelChangeEvent * src , QAccessibleEvent * * outptr_QAccessibleEvent ) {
* outptr_QAccessibleEvent = static_cast < QAccessibleEvent * > ( src ) ;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_setModelChangeType ( QAccessibleTableModelChangeEvent * self , int changeType ) {
2024-10-20 18:21:03 +13:00
self - > setModelChangeType ( static_cast < QAccessibleTableModelChangeEvent : : ModelChangeType > ( changeType ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableModelChangeEvent_modelChangeType ( const QAccessibleTableModelChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
QAccessibleTableModelChangeEvent : : ModelChangeType _ret = self - > modelChangeType ( ) ;
return static_cast < int > ( _ret ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_setFirstRow ( QAccessibleTableModelChangeEvent * self , int row ) {
2024-10-20 18:21:03 +13:00
self - > setFirstRow ( static_cast < int > ( row ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_setFirstColumn ( QAccessibleTableModelChangeEvent * self , int col ) {
2024-10-20 18:21:03 +13:00
self - > setFirstColumn ( static_cast < int > ( col ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_setLastRow ( QAccessibleTableModelChangeEvent * self , int row ) {
2024-10-20 18:21:03 +13:00
self - > setLastRow ( static_cast < int > ( row ) ) ;
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_setLastColumn ( QAccessibleTableModelChangeEvent * self , int col ) {
2024-10-20 18:21:03 +13:00
self - > setLastColumn ( static_cast < int > ( col ) ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableModelChangeEvent_firstRow ( const QAccessibleTableModelChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > firstRow ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableModelChangeEvent_firstColumn ( const QAccessibleTableModelChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > firstColumn ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableModelChangeEvent_lastRow ( const QAccessibleTableModelChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > lastRow ( ) ;
}
2025-02-01 13:45:16 +13:00
int QAccessibleTableModelChangeEvent_lastColumn ( const QAccessibleTableModelChangeEvent * self ) {
2024-10-20 18:21:03 +13:00
return self - > lastColumn ( ) ;
}
2025-02-01 13:45:16 +13:00
bool QAccessibleTableModelChangeEvent_override_virtual_accessibleInterface ( void * self , intptr_t slot ) {
2025-01-18 17:57:48 +13:00
MiqtVirtualQAccessibleTableModelChangeEvent * self_cast = dynamic_cast < MiqtVirtualQAccessibleTableModelChangeEvent * > ( ( QAccessibleTableModelChangeEvent * ) ( self ) ) ;
if ( self_cast = = nullptr ) {
return false ;
}
2025-02-01 13:45:16 +13:00
self_cast - > handle__accessibleInterface = slot ;
2025-01-18 17:57:48 +13:00
return true ;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QAccessibleInterface * QAccessibleTableModelChangeEvent_virtualbase_accessibleInterface ( const void * self ) {
return ( ( const MiqtVirtualQAccessibleTableModelChangeEvent * ) ( self ) ) - > virtualbase_accessibleInterface ( ) ;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QAccessibleTableModelChangeEvent_delete ( QAccessibleTableModelChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-10-20 18:21:03 +13:00
}