2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QABSTRACTPROXYMODEL_H
|
|
|
|
#define GEN_QABSTRACTPROXYMODEL_H
|
|
|
|
|
|
|
|
#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 QAbstractProxyModel;
|
|
|
|
class QMetaObject;
|
|
|
|
class QMimeData;
|
|
|
|
class QModelIndex;
|
|
|
|
class QSize;
|
|
|
|
class QVariant;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
|
|
typedef struct QAbstractProxyModel QAbstractProxyModel;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QMimeData QMimeData;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QAbstractProxyModel_MetaObject(const QAbstractProxyModel* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QAbstractProxyModel_Metacast(QAbstractProxyModel* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractProxyModel_Tr(const char* s);
|
|
|
|
struct miqt_string QAbstractProxyModel_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractProxyModel_SetSourceModel(QAbstractProxyModel* self, QAbstractItemModel* sourceModel);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractItemModel* QAbstractProxyModel_SourceModel(const QAbstractProxyModel* self);
|
|
|
|
QModelIndex* QAbstractProxyModel_MapToSource(const QAbstractProxyModel* self, QModelIndex* proxyIndex);
|
|
|
|
QModelIndex* QAbstractProxyModel_MapFromSource(const QAbstractProxyModel* self, QModelIndex* sourceIndex);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QAbstractProxyModel_Submit(QAbstractProxyModel* self);
|
|
|
|
void QAbstractProxyModel_Revert(QAbstractProxyModel* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QAbstractProxyModel_Data(const QAbstractProxyModel* self, QModelIndex* proxyIndex);
|
2024-09-18 00:12:02 +00:00
|
|
|
QVariant* QAbstractProxyModel_HeaderData(const QAbstractProxyModel* self, int section, int orientation);
|
2024-11-04 07:59:22 +00:00
|
|
|
struct miqt_map QAbstractProxyModel_ItemData(const QAbstractProxyModel* self, QModelIndex* index);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QAbstractProxyModel_Flags(const QAbstractProxyModel* self, QModelIndex* index);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QAbstractProxyModel_SetData(QAbstractProxyModel* self, QModelIndex* index, QVariant* value);
|
2024-11-04 07:59:22 +00:00
|
|
|
bool QAbstractProxyModel_SetItemData(QAbstractProxyModel* self, QModelIndex* index, struct miqt_map roles);
|
2024-09-18 00:12:02 +00:00
|
|
|
bool QAbstractProxyModel_SetHeaderData(QAbstractProxyModel* self, int section, int orientation, QVariant* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
QModelIndex* QAbstractProxyModel_Buddy(const QAbstractProxyModel* self, QModelIndex* index);
|
|
|
|
bool QAbstractProxyModel_CanFetchMore(const QAbstractProxyModel* self, QModelIndex* parent);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractProxyModel_FetchMore(QAbstractProxyModel* self, QModelIndex* parent);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QAbstractProxyModel_Sort(QAbstractProxyModel* self, int column);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QAbstractProxyModel_Span(const QAbstractProxyModel* self, QModelIndex* index);
|
|
|
|
bool QAbstractProxyModel_HasChildren(const QAbstractProxyModel* self);
|
|
|
|
QModelIndex* QAbstractProxyModel_Sibling(const QAbstractProxyModel* self, int row, int column, QModelIndex* idx);
|
2024-11-04 07:18:27 +00:00
|
|
|
QMimeData* QAbstractProxyModel_MimeData(const QAbstractProxyModel* self, struct miqt_array /* of QModelIndex* */ indexes);
|
2024-09-18 00:12:02 +00:00
|
|
|
bool QAbstractProxyModel_CanDropMimeData(const QAbstractProxyModel* self, QMimeData* data, int action, int row, int column, QModelIndex* parent);
|
|
|
|
bool QAbstractProxyModel_DropMimeData(QAbstractProxyModel* self, QMimeData* data, int action, int row, int column, QModelIndex* parent);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QAbstractProxyModel_MimeTypes(const QAbstractProxyModel* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QAbstractProxyModel_SupportedDragActions(const QAbstractProxyModel* self);
|
|
|
|
int QAbstractProxyModel_SupportedDropActions(const QAbstractProxyModel* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractProxyModel_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QAbstractProxyModel_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QAbstractProxyModel_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QAbstractProxyModel_TrUtf83(const char* s, const char* c, int n);
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QAbstractProxyModel_Data2(const QAbstractProxyModel* self, QModelIndex* proxyIndex, int role);
|
2024-09-18 00:12:02 +00:00
|
|
|
QVariant* QAbstractProxyModel_HeaderData3(const QAbstractProxyModel* self, int section, int orientation, int role);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QAbstractProxyModel_SetData3(QAbstractProxyModel* self, QModelIndex* index, QVariant* value, int role);
|
2024-09-18 00:12:02 +00:00
|
|
|
bool QAbstractProxyModel_SetHeaderData4(QAbstractProxyModel* self, int section, int orientation, QVariant* value, int role);
|
|
|
|
void QAbstractProxyModel_Sort2(QAbstractProxyModel* self, int column, int order);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QAbstractProxyModel_HasChildren1(const QAbstractProxyModel* self, QModelIndex* parent);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractProxyModel_Delete(QAbstractProxyModel* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|