2024-11-17 06:21:37 +00:00
# pragma once
# ifndef MIQT_QT6_GEN_QSTRINGLISTMODEL_H
# define MIQT_QT6_GEN_QSTRINGLISTMODEL_H
2024-10-20 05:21:03 +00:00
# include <stdbool.h>
# include <stddef.h>
# include <stdint.h>
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# include "../libmiqt/libmiqt.h"
# ifdef __cplusplus
extern " C " {
# endif
# ifdef __cplusplus
2024-11-19 06:29:06 +00:00
class QAbstractItemModel ;
class QAbstractListModel ;
2024-10-20 05:21:03 +00:00
class QMetaObject ;
2024-11-19 06:29:06 +00:00
class QMimeData ;
2024-10-20 05:21:03 +00:00
class QModelIndex ;
class QObject ;
class QStringListModel ;
class QVariant ;
# else
2024-11-19 06:29:06 +00:00
typedef struct QAbstractItemModel QAbstractItemModel ;
typedef struct QAbstractListModel QAbstractListModel ;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject ;
2024-11-19 06:29:06 +00:00
typedef struct QMimeData QMimeData ;
2024-10-20 05:21:03 +00:00
typedef struct QModelIndex QModelIndex ;
typedef struct QObject QObject ;
typedef struct QStringListModel QStringListModel ;
typedef struct QVariant QVariant ;
# endif
2024-11-19 06:29:06 +00:00
void QStringListModel_new ( QStringListModel * * outptr_QStringListModel , QAbstractListModel * * outptr_QAbstractListModel , QAbstractItemModel * * outptr_QAbstractItemModel , QObject * * outptr_QObject ) ;
void QStringListModel_new2 ( struct miqt_array /* of struct miqt_string */ strings , QStringListModel * * outptr_QStringListModel , QAbstractListModel * * outptr_QAbstractListModel , QAbstractItemModel * * outptr_QAbstractItemModel , QObject * * outptr_QObject ) ;
void QStringListModel_new3 ( QObject * parent , QStringListModel * * outptr_QStringListModel , QAbstractListModel * * outptr_QAbstractListModel , QAbstractItemModel * * outptr_QAbstractItemModel , QObject * * outptr_QObject ) ;
void QStringListModel_new4 ( struct miqt_array /* of struct miqt_string */ strings , QObject * parent , QStringListModel * * outptr_QStringListModel , QAbstractListModel * * outptr_QAbstractListModel , QAbstractItemModel * * outptr_QAbstractItemModel , QObject * * outptr_QObject ) ;
2024-10-20 05:21:03 +00:00
QMetaObject * QStringListModel_MetaObject ( const QStringListModel * self ) ;
void * QStringListModel_Metacast ( QStringListModel * self , const char * param1 ) ;
struct miqt_string QStringListModel_Tr ( const char * s ) ;
2024-11-19 06:29:06 +00:00
int QStringListModel_RowCount ( const QStringListModel * self , QModelIndex * parent ) ;
2024-10-20 05:21:03 +00:00
QModelIndex * QStringListModel_Sibling ( const QStringListModel * self , int row , int column , QModelIndex * idx ) ;
2024-11-19 06:29:06 +00:00
QVariant * QStringListModel_Data ( const QStringListModel * self , QModelIndex * index , int role ) ;
bool QStringListModel_SetData ( QStringListModel * self , QModelIndex * index , QVariant * value , int role ) ;
2024-10-20 05:21:03 +00:00
bool QStringListModel_ClearItemData ( QStringListModel * self , QModelIndex * index ) ;
int QStringListModel_Flags ( const QStringListModel * self , QModelIndex * index ) ;
2024-11-19 06:29:06 +00:00
bool QStringListModel_InsertRows ( QStringListModel * self , int row , int count , QModelIndex * parent ) ;
bool QStringListModel_RemoveRows ( QStringListModel * self , int row , int count , QModelIndex * parent ) ;
2024-10-20 05:21:03 +00:00
bool QStringListModel_MoveRows ( QStringListModel * self , QModelIndex * sourceParent , int sourceRow , int count , QModelIndex * destinationParent , int destinationChild ) ;
2024-11-17 06:21:37 +00:00
struct miqt_map /* of int to QVariant* */ QStringListModel_ItemData ( const QStringListModel * self , QModelIndex * index ) ;
bool QStringListModel_SetItemData ( QStringListModel * self , QModelIndex * index , struct miqt_map /* of int to QVariant* */ roles ) ;
2024-11-19 06:29:06 +00:00
void QStringListModel_Sort ( QStringListModel * self , int column , int order ) ;
2024-11-17 06:21:37 +00:00
struct miqt_array /* of struct miqt_string */ QStringListModel_StringList ( const QStringListModel * self ) ;
void QStringListModel_SetStringList ( QStringListModel * self , struct miqt_array /* of struct miqt_string */ strings ) ;
2024-10-20 05:21:03 +00:00
int QStringListModel_SupportedDropActions ( const QStringListModel * self ) ;
struct miqt_string QStringListModel_Tr2 ( const char * s , const char * c ) ;
struct miqt_string QStringListModel_Tr3 ( const char * s , const char * c , int n ) ;
2024-11-19 06:29:06 +00:00
void QStringListModel_override_virtual_RowCount ( void * self , intptr_t slot ) ;
int QStringListModel_virtualbase_RowCount ( const void * self , QModelIndex * parent ) ;
void QStringListModel_override_virtual_Sibling ( void * self , intptr_t slot ) ;
QModelIndex * QStringListModel_virtualbase_Sibling ( const void * self , int row , int column , QModelIndex * idx ) ;
void QStringListModel_override_virtual_Data ( void * self , intptr_t slot ) ;
QVariant * QStringListModel_virtualbase_Data ( const void * self , QModelIndex * index , int role ) ;
void QStringListModel_override_virtual_SetData ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_SetData ( void * self , QModelIndex * index , QVariant * value , int role ) ;
void QStringListModel_override_virtual_ClearItemData ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_ClearItemData ( void * self , QModelIndex * index ) ;
void QStringListModel_override_virtual_Flags ( void * self , intptr_t slot ) ;
int QStringListModel_virtualbase_Flags ( const void * self , QModelIndex * index ) ;
void QStringListModel_override_virtual_InsertRows ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_InsertRows ( void * self , int row , int count , QModelIndex * parent ) ;
void QStringListModel_override_virtual_RemoveRows ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_RemoveRows ( void * self , int row , int count , QModelIndex * parent ) ;
void QStringListModel_override_virtual_MoveRows ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_MoveRows ( void * self , QModelIndex * sourceParent , int sourceRow , int count , QModelIndex * destinationParent , int destinationChild ) ;
void QStringListModel_override_virtual_ItemData ( void * self , intptr_t slot ) ;
struct miqt_map /* of int to QVariant* */ QStringListModel_virtualbase_ItemData ( const void * self , QModelIndex * index ) ;
void QStringListModel_override_virtual_SetItemData ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_SetItemData ( void * self , QModelIndex * index , struct miqt_map /* of int to QVariant* */ roles ) ;
void QStringListModel_override_virtual_Sort ( void * self , intptr_t slot ) ;
void QStringListModel_virtualbase_Sort ( void * self , int column , int order ) ;
void QStringListModel_override_virtual_SupportedDropActions ( void * self , intptr_t slot ) ;
int QStringListModel_virtualbase_SupportedDropActions ( const void * self ) ;
void QStringListModel_override_virtual_Index ( void * self , intptr_t slot ) ;
QModelIndex * QStringListModel_virtualbase_Index ( const void * self , int row , int column , QModelIndex * parent ) ;
void QStringListModel_override_virtual_DropMimeData ( void * self , intptr_t slot ) ;
bool QStringListModel_virtualbase_DropMimeData ( void * self , QMimeData * data , int action , int row , int column , QModelIndex * parent ) ;
void QStringListModel_Delete ( QStringListModel * self , bool isSubclass ) ;
2024-10-20 05:21:03 +00:00
# ifdef __cplusplus
} /* extern C */
# endif
# endif