2024-11-17 06:21:37 +00:00
# pragma once
# ifndef MIQT_QT_GEN_QABSTRACTITEMMODEL_H
# define MIQT_QT_GEN_QABSTRACTITEMMODEL_H
2024-08-25 04:08:24 +00:00
# include <stdbool.h>
# include <stddef.h>
# include <stdint.h>
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
2024-10-16 05:07:56 +00:00
# include "../libmiqt/libmiqt.h"
2024-09-14 22:29:05 +00:00
2024-08-25 04:08:24 +00:00
# ifdef __cplusplus
extern " C " {
# endif
# ifdef __cplusplus
class QAbstractItemModel ;
class QAbstractListModel ;
class QAbstractTableModel ;
2024-11-04 07:59:22 +00:00
class QByteArray ;
2024-08-25 04:08:24 +00:00
class QMetaObject ;
class QMimeData ;
class QModelIndex ;
class QPersistentModelIndex ;
class QSize ;
class QVariant ;
# else
typedef struct QAbstractItemModel QAbstractItemModel ;
typedef struct QAbstractListModel QAbstractListModel ;
typedef struct QAbstractTableModel QAbstractTableModel ;
2024-11-04 07:59:22 +00:00
typedef struct QByteArray QByteArray ;
2024-08-25 04:08:24 +00:00
typedef struct QMetaObject QMetaObject ;
typedef struct QMimeData QMimeData ;
typedef struct QModelIndex QModelIndex ;
typedef struct QPersistentModelIndex QPersistentModelIndex ;
typedef struct QSize QSize ;
typedef struct QVariant QVariant ;
# endif
QModelIndex * QModelIndex_new ( ) ;
QModelIndex * QModelIndex_new2 ( QModelIndex * param1 ) ;
2024-09-11 05:41:09 +00:00
int QModelIndex_Row ( const QModelIndex * self ) ;
int QModelIndex_Column ( const QModelIndex * self ) ;
uintptr_t QModelIndex_InternalId ( const QModelIndex * self ) ;
2024-09-20 22:32:57 +00:00
void * QModelIndex_InternalPointer ( const QModelIndex * self ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QModelIndex_Parent ( const QModelIndex * self ) ;
QModelIndex * QModelIndex_Sibling ( const QModelIndex * self , int row , int column ) ;
QModelIndex * QModelIndex_SiblingAtColumn ( const QModelIndex * self , int column ) ;
QModelIndex * QModelIndex_SiblingAtRow ( const QModelIndex * self , int row ) ;
QModelIndex * QModelIndex_Child ( const QModelIndex * self , int row , int column ) ;
QVariant * QModelIndex_Data ( const QModelIndex * self ) ;
int QModelIndex_Flags ( const QModelIndex * self ) ;
QAbstractItemModel * QModelIndex_Model ( const QModelIndex * self ) ;
bool QModelIndex_IsValid ( const QModelIndex * self ) ;
bool QModelIndex_OperatorEqual ( const QModelIndex * self , QModelIndex * other ) ;
bool QModelIndex_OperatorNotEqual ( const QModelIndex * self , QModelIndex * other ) ;
bool QModelIndex_OperatorLesser ( const QModelIndex * self , QModelIndex * other ) ;
QVariant * QModelIndex_Data1 ( const QModelIndex * self , int role ) ;
2024-08-25 04:08:24 +00:00
void QModelIndex_Delete ( QModelIndex * self ) ;
QPersistentModelIndex * QPersistentModelIndex_new ( ) ;
QPersistentModelIndex * QPersistentModelIndex_new2 ( QModelIndex * index ) ;
QPersistentModelIndex * QPersistentModelIndex_new3 ( QPersistentModelIndex * other ) ;
2024-09-11 05:41:09 +00:00
bool QPersistentModelIndex_OperatorLesser ( const QPersistentModelIndex * self , QPersistentModelIndex * other ) ;
bool QPersistentModelIndex_OperatorEqual ( const QPersistentModelIndex * self , QPersistentModelIndex * other ) ;
bool QPersistentModelIndex_OperatorNotEqual ( const QPersistentModelIndex * self , QPersistentModelIndex * other ) ;
2024-08-25 04:08:24 +00:00
void QPersistentModelIndex_OperatorAssign ( QPersistentModelIndex * self , QPersistentModelIndex * other ) ;
void QPersistentModelIndex_Swap ( QPersistentModelIndex * self , QPersistentModelIndex * other ) ;
2024-09-11 05:41:09 +00:00
bool QPersistentModelIndex_OperatorEqualWithOther ( const QPersistentModelIndex * self , QModelIndex * other ) ;
bool QPersistentModelIndex_OperatorNotEqualWithOther ( const QPersistentModelIndex * self , QModelIndex * other ) ;
2024-08-25 04:08:24 +00:00
void QPersistentModelIndex_OperatorAssignWithOther ( QPersistentModelIndex * self , QModelIndex * other ) ;
2024-09-11 05:41:09 +00:00
int QPersistentModelIndex_Row ( const QPersistentModelIndex * self ) ;
int QPersistentModelIndex_Column ( const QPersistentModelIndex * self ) ;
2024-09-20 22:32:57 +00:00
void * QPersistentModelIndex_InternalPointer ( const QPersistentModelIndex * self ) ;
2024-09-11 05:41:09 +00:00
uintptr_t QPersistentModelIndex_InternalId ( const QPersistentModelIndex * self ) ;
QModelIndex * QPersistentModelIndex_Parent ( const QPersistentModelIndex * self ) ;
QModelIndex * QPersistentModelIndex_Sibling ( const QPersistentModelIndex * self , int row , int column ) ;
QModelIndex * QPersistentModelIndex_Child ( const QPersistentModelIndex * self , int row , int column ) ;
QVariant * QPersistentModelIndex_Data ( const QPersistentModelIndex * self ) ;
int QPersistentModelIndex_Flags ( const QPersistentModelIndex * self ) ;
QAbstractItemModel * QPersistentModelIndex_Model ( const QPersistentModelIndex * self ) ;
bool QPersistentModelIndex_IsValid ( const QPersistentModelIndex * self ) ;
QVariant * QPersistentModelIndex_Data1 ( const QPersistentModelIndex * self , int role ) ;
2024-08-25 04:08:24 +00:00
void QPersistentModelIndex_Delete ( QPersistentModelIndex * self ) ;
2024-09-11 05:41:09 +00:00
QMetaObject * QAbstractItemModel_MetaObject ( const QAbstractItemModel * self ) ;
2024-09-20 22:32:57 +00:00
void * QAbstractItemModel_Metacast ( QAbstractItemModel * self , const char * param1 ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractItemModel_Tr ( const char * s ) ;
struct miqt_string QAbstractItemModel_TrUtf8 ( const char * s ) ;
2024-09-11 05:41:09 +00:00
bool QAbstractItemModel_HasIndex ( const QAbstractItemModel * self , int row , int column ) ;
QModelIndex * QAbstractItemModel_Index ( const QAbstractItemModel * self , int row , int column ) ;
QModelIndex * QAbstractItemModel_Parent ( const QAbstractItemModel * self , QModelIndex * child ) ;
QModelIndex * QAbstractItemModel_Sibling ( const QAbstractItemModel * self , int row , int column , QModelIndex * idx ) ;
int QAbstractItemModel_RowCount ( const QAbstractItemModel * self ) ;
int QAbstractItemModel_ColumnCount ( const QAbstractItemModel * self ) ;
bool QAbstractItemModel_HasChildren ( const QAbstractItemModel * self ) ;
QVariant * QAbstractItemModel_Data ( const QAbstractItemModel * self , QModelIndex * index ) ;
2024-08-25 04:08:24 +00:00
bool QAbstractItemModel_SetData ( QAbstractItemModel * self , QModelIndex * index , QVariant * value ) ;
2024-09-18 00:12:02 +00:00
QVariant * QAbstractItemModel_HeaderData ( const QAbstractItemModel * self , int section , int orientation ) ;
bool QAbstractItemModel_SetHeaderData ( QAbstractItemModel * self , int section , int orientation , QVariant * value ) ;
2024-11-17 06:21:37 +00:00
struct miqt_map /* of int to QVariant* */ QAbstractItemModel_ItemData ( const QAbstractItemModel * self , QModelIndex * index ) ;
bool QAbstractItemModel_SetItemData ( QAbstractItemModel * self , QModelIndex * index , struct miqt_map /* of int to QVariant* */ roles ) ;
struct miqt_array /* of struct miqt_string */ QAbstractItemModel_MimeTypes ( const QAbstractItemModel * self ) ;
QMimeData * QAbstractItemModel_MimeData ( const QAbstractItemModel * self , struct miqt_array /* of QModelIndex* */ indexes ) ;
2024-09-18 00:12:02 +00:00
bool QAbstractItemModel_CanDropMimeData ( const QAbstractItemModel * self , QMimeData * data , int action , int row , int column , QModelIndex * parent ) ;
bool QAbstractItemModel_DropMimeData ( QAbstractItemModel * self , QMimeData * data , int action , int row , int column , QModelIndex * parent ) ;
2024-09-11 05:41:09 +00:00
int QAbstractItemModel_SupportedDropActions ( const QAbstractItemModel * self ) ;
int QAbstractItemModel_SupportedDragActions ( const QAbstractItemModel * self ) ;
2024-08-25 04:08:24 +00:00
bool QAbstractItemModel_InsertRows ( QAbstractItemModel * self , int row , int count ) ;
bool QAbstractItemModel_InsertColumns ( QAbstractItemModel * self , int column , int count ) ;
bool QAbstractItemModel_RemoveRows ( QAbstractItemModel * self , int row , int count ) ;
bool QAbstractItemModel_RemoveColumns ( QAbstractItemModel * self , int column , int count ) ;
bool QAbstractItemModel_MoveRows ( QAbstractItemModel * self , QModelIndex * sourceParent , int sourceRow , int count , QModelIndex * destinationParent , int destinationChild ) ;
bool QAbstractItemModel_MoveColumns ( QAbstractItemModel * self , QModelIndex * sourceParent , int sourceColumn , int count , QModelIndex * destinationParent , int destinationChild ) ;
bool QAbstractItemModel_InsertRow ( QAbstractItemModel * self , int row ) ;
bool QAbstractItemModel_InsertColumn ( QAbstractItemModel * self , int column ) ;
bool QAbstractItemModel_RemoveRow ( QAbstractItemModel * self , int row ) ;
bool QAbstractItemModel_RemoveColumn ( QAbstractItemModel * self , int column ) ;
bool QAbstractItemModel_MoveRow ( QAbstractItemModel * self , QModelIndex * sourceParent , int sourceRow , QModelIndex * destinationParent , int destinationChild ) ;
bool QAbstractItemModel_MoveColumn ( QAbstractItemModel * self , QModelIndex * sourceParent , int sourceColumn , QModelIndex * destinationParent , int destinationChild ) ;
void QAbstractItemModel_FetchMore ( QAbstractItemModel * self , QModelIndex * parent ) ;
2024-09-11 05:41:09 +00:00
bool QAbstractItemModel_CanFetchMore ( const QAbstractItemModel * self , QModelIndex * parent ) ;
int QAbstractItemModel_Flags ( const QAbstractItemModel * self , QModelIndex * index ) ;
2024-08-29 07:01:51 +00:00
void QAbstractItemModel_Sort ( QAbstractItemModel * self , int column ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QAbstractItemModel_Buddy ( const QAbstractItemModel * self , QModelIndex * index ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of QModelIndex* */ QAbstractItemModel_Match ( const QAbstractItemModel * self , QModelIndex * start , int role , QVariant * value ) ;
2024-09-11 05:41:09 +00:00
QSize * QAbstractItemModel_Span ( const QAbstractItemModel * self , QModelIndex * index ) ;
2024-11-17 06:21:37 +00:00
struct miqt_map /* of int to struct miqt_string */ QAbstractItemModel_RoleNames ( const QAbstractItemModel * self ) ;
2024-09-11 05:41:09 +00:00
bool QAbstractItemModel_CheckIndex ( const QAbstractItemModel * self , QModelIndex * index ) ;
2024-08-25 04:08:24 +00:00
void QAbstractItemModel_DataChanged ( QAbstractItemModel * self , QModelIndex * topLeft , QModelIndex * bottomRight ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_DataChanged ( QAbstractItemModel * self , intptr_t slot ) ;
2024-09-18 00:12:02 +00:00
void QAbstractItemModel_HeaderDataChanged ( QAbstractItemModel * self , int orientation , int first , int last ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_HeaderDataChanged ( QAbstractItemModel * self , intptr_t slot ) ;
2024-08-29 07:01:51 +00:00
void QAbstractItemModel_LayoutChanged ( QAbstractItemModel * self ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutChanged ( QAbstractItemModel * self , intptr_t slot ) ;
2024-08-29 07:01:51 +00:00
void QAbstractItemModel_LayoutAboutToBeChanged ( QAbstractItemModel * self ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutAboutToBeChanged ( QAbstractItemModel * self , intptr_t slot ) ;
2024-08-25 04:08:24 +00:00
bool QAbstractItemModel_Submit ( QAbstractItemModel * self ) ;
void QAbstractItemModel_Revert ( QAbstractItemModel * self ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractItemModel_Tr2 ( const char * s , const char * c ) ;
struct miqt_string QAbstractItemModel_Tr3 ( const char * s , const char * c , int n ) ;
struct miqt_string QAbstractItemModel_TrUtf82 ( const char * s , const char * c ) ;
struct miqt_string QAbstractItemModel_TrUtf83 ( const char * s , const char * c , int n ) ;
2024-09-11 05:41:09 +00:00
bool QAbstractItemModel_HasIndex3 ( const QAbstractItemModel * self , int row , int column , QModelIndex * parent ) ;
QModelIndex * QAbstractItemModel_Index3 ( const QAbstractItemModel * self , int row , int column , QModelIndex * parent ) ;
int QAbstractItemModel_RowCount1 ( const QAbstractItemModel * self , QModelIndex * parent ) ;
int QAbstractItemModel_ColumnCount1 ( const QAbstractItemModel * self , QModelIndex * parent ) ;
bool QAbstractItemModel_HasChildren1 ( const QAbstractItemModel * self , QModelIndex * parent ) ;
QVariant * QAbstractItemModel_Data2 ( const QAbstractItemModel * self , QModelIndex * index , int role ) ;
2024-08-25 04:08:24 +00:00
bool QAbstractItemModel_SetData3 ( QAbstractItemModel * self , QModelIndex * index , QVariant * value , int role ) ;
2024-09-18 00:12:02 +00:00
QVariant * QAbstractItemModel_HeaderData3 ( const QAbstractItemModel * self , int section , int orientation , int role ) ;
bool QAbstractItemModel_SetHeaderData4 ( QAbstractItemModel * self , int section , int orientation , QVariant * value , int role ) ;
2024-08-25 04:08:24 +00:00
bool QAbstractItemModel_InsertRows3 ( QAbstractItemModel * self , int row , int count , QModelIndex * parent ) ;
bool QAbstractItemModel_InsertColumns3 ( QAbstractItemModel * self , int column , int count , QModelIndex * parent ) ;
bool QAbstractItemModel_RemoveRows3 ( QAbstractItemModel * self , int row , int count , QModelIndex * parent ) ;
bool QAbstractItemModel_RemoveColumns3 ( QAbstractItemModel * self , int column , int count , QModelIndex * parent ) ;
bool QAbstractItemModel_InsertRow2 ( QAbstractItemModel * self , int row , QModelIndex * parent ) ;
bool QAbstractItemModel_InsertColumn2 ( QAbstractItemModel * self , int column , QModelIndex * parent ) ;
bool QAbstractItemModel_RemoveRow2 ( QAbstractItemModel * self , int row , QModelIndex * parent ) ;
bool QAbstractItemModel_RemoveColumn2 ( QAbstractItemModel * self , int column , QModelIndex * parent ) ;
2024-09-18 00:12:02 +00:00
void QAbstractItemModel_Sort2 ( QAbstractItemModel * self , int column , int order ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of QModelIndex* */ QAbstractItemModel_Match4 ( const QAbstractItemModel * self , QModelIndex * start , int role , QVariant * value , int hits ) ;
struct miqt_array /* of QModelIndex* */ QAbstractItemModel_Match5 ( const QAbstractItemModel * self , QModelIndex * start , int role , QVariant * value , int hits , int flags ) ;
2024-09-11 05:41:09 +00:00
bool QAbstractItemModel_CheckIndex2 ( const QAbstractItemModel * self , QModelIndex * index , int options ) ;
2024-11-17 06:21:37 +00:00
void QAbstractItemModel_DataChanged3 ( QAbstractItemModel * self , QModelIndex * topLeft , QModelIndex * bottomRight , struct miqt_array /* of int */ roles ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_DataChanged3 ( QAbstractItemModel * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QAbstractItemModel_LayoutChanged1 ( QAbstractItemModel * self , struct miqt_array /* of QPersistentModelIndex* */ parents ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutChanged1 ( QAbstractItemModel * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QAbstractItemModel_LayoutChanged2 ( QAbstractItemModel * self , struct miqt_array /* of QPersistentModelIndex* */ parents , int hint ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutChanged2 ( QAbstractItemModel * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QAbstractItemModel_LayoutAboutToBeChanged1 ( QAbstractItemModel * self , struct miqt_array /* of QPersistentModelIndex* */ parents ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutAboutToBeChanged1 ( QAbstractItemModel * self , intptr_t slot ) ;
2024-11-17 06:21:37 +00:00
void QAbstractItemModel_LayoutAboutToBeChanged2 ( QAbstractItemModel * self , struct miqt_array /* of QPersistentModelIndex* */ parents , int hint ) ;
2024-10-13 06:06:06 +00:00
void QAbstractItemModel_connect_LayoutAboutToBeChanged2 ( QAbstractItemModel * self , intptr_t slot ) ;
2024-08-25 04:08:24 +00:00
void QAbstractItemModel_Delete ( QAbstractItemModel * self ) ;
2024-09-11 05:41:09 +00:00
QMetaObject * QAbstractTableModel_MetaObject ( const QAbstractTableModel * self ) ;
2024-09-20 22:32:57 +00:00
void * QAbstractTableModel_Metacast ( QAbstractTableModel * self , const char * param1 ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractTableModel_Tr ( const char * s ) ;
struct miqt_string QAbstractTableModel_TrUtf8 ( const char * s ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QAbstractTableModel_Index ( const QAbstractTableModel * self , int row , int column ) ;
QModelIndex * QAbstractTableModel_Sibling ( const QAbstractTableModel * self , int row , int column , QModelIndex * idx ) ;
2024-09-18 00:12:02 +00:00
bool QAbstractTableModel_DropMimeData ( QAbstractTableModel * self , QMimeData * data , int action , int row , int column , QModelIndex * parent ) ;
2024-09-11 05:41:09 +00:00
int QAbstractTableModel_Flags ( const QAbstractTableModel * self , QModelIndex * index ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractTableModel_Tr2 ( const char * s , const char * c ) ;
struct miqt_string QAbstractTableModel_Tr3 ( const char * s , const char * c , int n ) ;
struct miqt_string QAbstractTableModel_TrUtf82 ( const char * s , const char * c ) ;
struct miqt_string QAbstractTableModel_TrUtf83 ( const char * s , const char * c , int n ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QAbstractTableModel_Index3 ( const QAbstractTableModel * self , int row , int column , QModelIndex * parent ) ;
2024-08-25 04:08:24 +00:00
void QAbstractTableModel_Delete ( QAbstractTableModel * self ) ;
2024-09-11 05:41:09 +00:00
QMetaObject * QAbstractListModel_MetaObject ( const QAbstractListModel * self ) ;
2024-09-20 22:32:57 +00:00
void * QAbstractListModel_Metacast ( QAbstractListModel * self , const char * param1 ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractListModel_Tr ( const char * s ) ;
struct miqt_string QAbstractListModel_TrUtf8 ( const char * s ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QAbstractListModel_Index ( const QAbstractListModel * self , int row ) ;
QModelIndex * QAbstractListModel_Sibling ( const QAbstractListModel * self , int row , int column , QModelIndex * idx ) ;
2024-09-18 00:12:02 +00:00
bool QAbstractListModel_DropMimeData ( QAbstractListModel * self , QMimeData * data , int action , int row , int column , QModelIndex * parent ) ;
2024-09-11 05:41:09 +00:00
int QAbstractListModel_Flags ( const QAbstractListModel * self , QModelIndex * index ) ;
2024-10-18 23:53:33 +00:00
struct miqt_string QAbstractListModel_Tr2 ( const char * s , const char * c ) ;
struct miqt_string QAbstractListModel_Tr3 ( const char * s , const char * c , int n ) ;
struct miqt_string QAbstractListModel_TrUtf82 ( const char * s , const char * c ) ;
struct miqt_string QAbstractListModel_TrUtf83 ( const char * s , const char * c , int n ) ;
2024-09-11 05:41:09 +00:00
QModelIndex * QAbstractListModel_Index2 ( const QAbstractListModel * self , int row , int column ) ;
QModelIndex * QAbstractListModel_Index3 ( const QAbstractListModel * self , int row , int column , QModelIndex * parent ) ;
2024-08-25 04:08:24 +00:00
void QAbstractListModel_Delete ( QAbstractListModel * self ) ;
# ifdef __cplusplus
} /* extern C */
# endif
# endif