2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSTRINGLISTMODEL_H
|
|
|
|
#define GEN_QSTRINGLISTMODEL_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QMetaObject;
|
|
|
|
class QModelIndex;
|
|
|
|
class QObject;
|
|
|
|
class QStringListModel;
|
|
|
|
class QVariant;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QStringListModel QStringListModel;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QStringListModel* QStringListModel_new();
|
2024-09-16 07:33:40 +00:00
|
|
|
QStringListModel* QStringListModel_new2(struct miqt_array* /* of struct miqt_string* */ strings);
|
2024-08-25 04:08:24 +00:00
|
|
|
QStringListModel* QStringListModel_new3(QObject* parent);
|
2024-09-16 07:33:40 +00:00
|
|
|
QStringListModel* QStringListModel_new4(struct miqt_array* /* of struct miqt_string* */ strings, QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QStringListModel_MetaObject(const QStringListModel* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QStringListModel_Metacast(QStringListModel* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QStringListModel_Tr(const char* s);
|
|
|
|
struct miqt_string* QStringListModel_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QStringListModel_RowCount(const QStringListModel* self);
|
|
|
|
QModelIndex* QStringListModel_Sibling(const QStringListModel* self, int row, int column, QModelIndex* idx);
|
|
|
|
QVariant* QStringListModel_Data(const QStringListModel* self, QModelIndex* index);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QStringListModel_SetData(QStringListModel* self, QModelIndex* index, QVariant* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QStringListModel_Flags(const QStringListModel* self, QModelIndex* index);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QStringListModel_InsertRows(QStringListModel* self, int row, int count);
|
|
|
|
bool QStringListModel_RemoveRows(QStringListModel* self, int row, int count);
|
|
|
|
bool QStringListModel_MoveRows(QStringListModel* self, QModelIndex* sourceParent, int sourceRow, int count, QModelIndex* destinationParent, int destinationChild);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QStringListModel_Sort(QStringListModel* self, int column);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QStringListModel_StringList(const QStringListModel* self);
|
2024-09-16 07:33:40 +00:00
|
|
|
void QStringListModel_SetStringList(QStringListModel* self, struct miqt_array* /* of struct miqt_string* */ strings);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QStringListModel_SupportedDropActions(const QStringListModel* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QStringListModel_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QStringListModel_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QStringListModel_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QStringListModel_TrUtf83(const char* s, const char* c, int n);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QStringListModel_RowCount1(const QStringListModel* self, QModelIndex* parent);
|
|
|
|
QVariant* QStringListModel_Data2(const QStringListModel* self, QModelIndex* index, int role);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QStringListModel_SetData3(QStringListModel* self, QModelIndex* index, QVariant* value, int role);
|
|
|
|
bool QStringListModel_InsertRows3(QStringListModel* self, int row, int count, QModelIndex* parent);
|
|
|
|
bool QStringListModel_RemoveRows3(QStringListModel* self, int row, int count, QModelIndex* parent);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QStringListModel_Sort2(QStringListModel* self, int column, int order);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStringListModel_Delete(QStringListModel* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|