2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QVARIANT_H
|
|
|
|
#define GEN_QVARIANT_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
|
2024-10-25 21:42:03 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QAssociativeIterable__const_iterator)
|
|
|
|
typedef QAssociativeIterable::const_iterator QAssociativeIterable__const_iterator;
|
|
|
|
#else
|
|
|
|
class QAssociativeIterable__const_iterator;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QBitArray;
|
|
|
|
class QByteArray;
|
|
|
|
class QChar;
|
|
|
|
class QDataStream;
|
|
|
|
class QDate;
|
|
|
|
class QDateTime;
|
|
|
|
class QEasingCurve;
|
|
|
|
class QJsonArray;
|
|
|
|
class QJsonDocument;
|
|
|
|
class QJsonObject;
|
|
|
|
class QJsonValue;
|
|
|
|
class QLine;
|
|
|
|
class QLineF;
|
|
|
|
class QLocale;
|
|
|
|
class QModelIndex;
|
|
|
|
class QPersistentModelIndex;
|
|
|
|
class QPoint;
|
|
|
|
class QPointF;
|
|
|
|
class QRect;
|
|
|
|
class QRectF;
|
|
|
|
class QRegExp;
|
|
|
|
class QRegularExpression;
|
2024-10-25 21:42:03 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QSequentialIterable__const_iterator)
|
|
|
|
typedef QSequentialIterable::const_iterator QSequentialIterable__const_iterator;
|
|
|
|
#else
|
|
|
|
class QSequentialIterable__const_iterator;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSize;
|
|
|
|
class QSizeF;
|
|
|
|
class QTime;
|
|
|
|
class QUrl;
|
|
|
|
class QUuid;
|
|
|
|
class QVariant;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QVariant__Handler)
|
|
|
|
typedef QVariant::Handler QVariant__Handler;
|
|
|
|
#else
|
|
|
|
class QVariant__Handler;
|
|
|
|
#endif
|
2024-10-25 21:42:03 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QVariant__Private__Data)
|
|
|
|
typedef QVariant::Private::Data QVariant__Private__Data;
|
2024-08-29 07:01:51 +00:00
|
|
|
#else
|
2024-10-25 21:42:03 +00:00
|
|
|
class QVariant__Private__Data;
|
2024-08-29 07:01:51 +00:00
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QVariantComparisonHelper;
|
2024-08-29 07:01:51 +00:00
|
|
|
#else
|
2024-10-25 21:42:03 +00:00
|
|
|
typedef struct QAssociativeIterable__const_iterator QAssociativeIterable__const_iterator;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QBitArray QBitArray;
|
|
|
|
typedef struct QByteArray QByteArray;
|
|
|
|
typedef struct QChar QChar;
|
|
|
|
typedef struct QDataStream QDataStream;
|
|
|
|
typedef struct QDate QDate;
|
|
|
|
typedef struct QDateTime QDateTime;
|
|
|
|
typedef struct QEasingCurve QEasingCurve;
|
|
|
|
typedef struct QJsonArray QJsonArray;
|
|
|
|
typedef struct QJsonDocument QJsonDocument;
|
|
|
|
typedef struct QJsonObject QJsonObject;
|
|
|
|
typedef struct QJsonValue QJsonValue;
|
|
|
|
typedef struct QLine QLine;
|
|
|
|
typedef struct QLineF QLineF;
|
|
|
|
typedef struct QLocale QLocale;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QPersistentModelIndex QPersistentModelIndex;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QPointF QPointF;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QRectF QRectF;
|
|
|
|
typedef struct QRegExp QRegExp;
|
|
|
|
typedef struct QRegularExpression QRegularExpression;
|
2024-10-25 21:42:03 +00:00
|
|
|
typedef struct QSequentialIterable__const_iterator QSequentialIterable__const_iterator;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSizeF QSizeF;
|
|
|
|
typedef struct QTime QTime;
|
|
|
|
typedef struct QUrl QUrl;
|
|
|
|
typedef struct QUuid QUuid;
|
|
|
|
typedef struct QVariant QVariant;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QVariant__Handler QVariant__Handler;
|
2024-10-25 21:42:03 +00:00
|
|
|
typedef struct QVariant__Private__Data QVariant__Private__Data;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QVariantComparisonHelper QVariantComparisonHelper;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QVariant* QVariant_new();
|
2024-09-18 00:12:02 +00:00
|
|
|
QVariant* QVariant_new2(int typeVal);
|
2024-09-20 22:32:57 +00:00
|
|
|
QVariant* QVariant_new3(int typeId, const void* copyVal);
|
|
|
|
QVariant* QVariant_new4(int typeId, const void* copyVal, unsigned int flags);
|
|
|
|
QVariant* QVariant_new5(QVariant* other);
|
|
|
|
QVariant* QVariant_new6(QDataStream* s);
|
|
|
|
QVariant* QVariant_new7(int i);
|
|
|
|
QVariant* QVariant_new8(unsigned int ui);
|
|
|
|
QVariant* QVariant_new9(long long ll);
|
|
|
|
QVariant* QVariant_new10(unsigned long long ull);
|
|
|
|
QVariant* QVariant_new11(bool b);
|
|
|
|
QVariant* QVariant_new12(double d);
|
|
|
|
QVariant* QVariant_new13(float f);
|
|
|
|
QVariant* QVariant_new14(const char* str);
|
2024-10-18 23:53:33 +00:00
|
|
|
QVariant* QVariant_new15(struct miqt_string bytearray);
|
2024-09-20 22:32:57 +00:00
|
|
|
QVariant* QVariant_new16(QBitArray* bitarray);
|
2024-10-18 23:53:33 +00:00
|
|
|
QVariant* QVariant_new17(struct miqt_string stringVal);
|
2024-11-04 07:18:27 +00:00
|
|
|
QVariant* QVariant_new18(struct miqt_array /* of struct miqt_string */ stringlist);
|
2024-09-20 22:32:57 +00:00
|
|
|
QVariant* QVariant_new19(QChar* qchar);
|
|
|
|
QVariant* QVariant_new20(QDate* date);
|
|
|
|
QVariant* QVariant_new21(QTime* time);
|
|
|
|
QVariant* QVariant_new22(QDateTime* datetime);
|
|
|
|
QVariant* QVariant_new23(QSize* size);
|
|
|
|
QVariant* QVariant_new24(QSizeF* size);
|
|
|
|
QVariant* QVariant_new25(QPoint* pt);
|
|
|
|
QVariant* QVariant_new26(QPointF* pt);
|
|
|
|
QVariant* QVariant_new27(QLine* line);
|
|
|
|
QVariant* QVariant_new28(QLineF* line);
|
|
|
|
QVariant* QVariant_new29(QRect* rect);
|
|
|
|
QVariant* QVariant_new30(QRectF* rect);
|
|
|
|
QVariant* QVariant_new31(QLocale* locale);
|
|
|
|
QVariant* QVariant_new32(QRegExp* regExp);
|
|
|
|
QVariant* QVariant_new33(QRegularExpression* re);
|
|
|
|
QVariant* QVariant_new34(QEasingCurve* easing);
|
|
|
|
QVariant* QVariant_new35(QUuid* uuid);
|
|
|
|
QVariant* QVariant_new36(QUrl* url);
|
|
|
|
QVariant* QVariant_new37(QJsonValue* jsonValue);
|
|
|
|
QVariant* QVariant_new38(QJsonObject* jsonObject);
|
|
|
|
QVariant* QVariant_new39(QJsonArray* jsonArray);
|
|
|
|
QVariant* QVariant_new40(QJsonDocument* jsonDocument);
|
|
|
|
QVariant* QVariant_new41(QModelIndex* modelIndex);
|
|
|
|
QVariant* QVariant_new42(QPersistentModelIndex* modelIndex);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QVariant_OperatorAssign(QVariant* self, QVariant* other);
|
|
|
|
void QVariant_Swap(QVariant* self, QVariant* other);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QVariant_Type(const QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QVariant_UserType(const QVariant* self);
|
|
|
|
const char* QVariant_TypeName(const QVariant* self);
|
|
|
|
bool QVariant_CanConvert(const QVariant* self, int targetTypeId);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QVariant_Convert(QVariant* self, int targetTypeId);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QVariant_IsValid(const QVariant* self);
|
|
|
|
bool QVariant_IsNull(const QVariant* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QVariant_Clear(QVariant* self);
|
|
|
|
void QVariant_Detach(QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QVariant_IsDetached(const QVariant* self);
|
|
|
|
int QVariant_ToInt(const QVariant* self);
|
|
|
|
unsigned int QVariant_ToUInt(const QVariant* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
long long QVariant_ToLongLong(const QVariant* self);
|
|
|
|
unsigned long long QVariant_ToULongLong(const QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QVariant_ToBool(const QVariant* self);
|
|
|
|
double QVariant_ToDouble(const QVariant* self);
|
|
|
|
float QVariant_ToFloat(const QVariant* self);
|
|
|
|
double QVariant_ToReal(const QVariant* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QVariant_ToByteArray(const QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBitArray* QVariant_ToBitArray(const QVariant* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QVariant_ToString(const QVariant* self);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QVariant_ToStringList(const QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QChar* QVariant_ToChar(const QVariant* self);
|
|
|
|
QDate* QVariant_ToDate(const QVariant* self);
|
|
|
|
QTime* QVariant_ToTime(const QVariant* self);
|
|
|
|
QDateTime* QVariant_ToDateTime(const QVariant* self);
|
|
|
|
QPoint* QVariant_ToPoint(const QVariant* self);
|
|
|
|
QPointF* QVariant_ToPointF(const QVariant* self);
|
|
|
|
QRect* QVariant_ToRect(const QVariant* self);
|
|
|
|
QSize* QVariant_ToSize(const QVariant* self);
|
|
|
|
QSizeF* QVariant_ToSizeF(const QVariant* self);
|
|
|
|
QLine* QVariant_ToLine(const QVariant* self);
|
|
|
|
QLineF* QVariant_ToLineF(const QVariant* self);
|
|
|
|
QRectF* QVariant_ToRectF(const QVariant* self);
|
|
|
|
QLocale* QVariant_ToLocale(const QVariant* self);
|
|
|
|
QRegExp* QVariant_ToRegExp(const QVariant* self);
|
|
|
|
QRegularExpression* QVariant_ToRegularExpression(const QVariant* self);
|
|
|
|
QEasingCurve* QVariant_ToEasingCurve(const QVariant* self);
|
|
|
|
QUuid* QVariant_ToUuid(const QVariant* self);
|
|
|
|
QUrl* QVariant_ToUrl(const QVariant* self);
|
|
|
|
QJsonValue* QVariant_ToJsonValue(const QVariant* self);
|
|
|
|
QJsonObject* QVariant_ToJsonObject(const QVariant* self);
|
|
|
|
QJsonArray* QVariant_ToJsonArray(const QVariant* self);
|
|
|
|
QJsonDocument* QVariant_ToJsonDocument(const QVariant* self);
|
|
|
|
QModelIndex* QVariant_ToModelIndex(const QVariant* self);
|
|
|
|
QPersistentModelIndex* QVariant_ToPersistentModelIndex(const QVariant* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QVariant_Load(QVariant* self, QDataStream* ds);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QVariant_Save(const QVariant* self, QDataStream* ds);
|
2024-08-29 07:01:51 +00:00
|
|
|
const char* QVariant_TypeToName(int typeId);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QVariant_NameToType(const char* name);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QVariant_Data(QVariant* self);
|
|
|
|
const void* QVariant_ConstData(const QVariant* self);
|
|
|
|
const void* QVariant_Data2(const QVariant* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QVariant_OperatorEqual(const QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorNotEqual(const QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorLesser(const QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorLesserOrEqual(const QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorGreater(const QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorGreaterOrEqual(const QVariant* self, QVariant* v);
|
|
|
|
int QVariant_ToInt1(const QVariant* self, bool* ok);
|
|
|
|
unsigned int QVariant_ToUInt1(const QVariant* self, bool* ok);
|
2024-09-18 00:12:02 +00:00
|
|
|
long long QVariant_ToLongLong1(const QVariant* self, bool* ok);
|
|
|
|
unsigned long long QVariant_ToULongLong1(const QVariant* self, bool* ok);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QVariant_ToDouble1(const QVariant* self, bool* ok);
|
|
|
|
float QVariant_ToFloat1(const QVariant* self, bool* ok);
|
|
|
|
double QVariant_ToReal1(const QVariant* self, bool* ok);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QVariant_Delete(QVariant* self);
|
|
|
|
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new(QVariant* varVal);
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new2(QVariantComparisonHelper* param1);
|
|
|
|
void QVariantComparisonHelper_Delete(QVariantComparisonHelper* self);
|
|
|
|
|
2024-10-25 21:42:03 +00:00
|
|
|
QVariant__Private__Data* QVariant__Private__Data_new();
|
|
|
|
QVariant__Private__Data* QVariant__Private__Data_new2(QVariant__Private__Data* param1);
|
|
|
|
void QVariant__Private__Data_OperatorAssign(QVariant__Private__Data* self, QVariant__Private__Data* param1);
|
|
|
|
void QVariant__Private__Data_Delete(QVariant__Private__Data* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
|
|
|
void QVariant__Handler_Delete(QVariant__Handler* self);
|
|
|
|
|
2024-10-25 21:42:03 +00:00
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_new(QSequentialIterable__const_iterator* other);
|
|
|
|
void QSequentialIterable__const_iterator_OperatorAssign(QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* other);
|
|
|
|
QVariant* QSequentialIterable__const_iterator_OperatorMultiply(const QSequentialIterable__const_iterator* self);
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorEqual(const QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o);
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorNotEqual(const QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlusPlus(QSequentialIterable__const_iterator* self);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlusPlusWithInt(QSequentialIterable__const_iterator* self, int param1);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinusMinus(QSequentialIterable__const_iterator* self);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinusMinusWithInt(QSequentialIterable__const_iterator* self, int param1);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlusAssign(QSequentialIterable__const_iterator* self, int j);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinusAssign(QSequentialIterable__const_iterator* self, int j);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlus(const QSequentialIterable__const_iterator* self, int j);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinus(const QSequentialIterable__const_iterator* self, int j);
|
|
|
|
void QSequentialIterable__const_iterator_Delete(QSequentialIterable__const_iterator* self);
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_new(QAssociativeIterable__const_iterator* other);
|
|
|
|
void QAssociativeIterable__const_iterator_OperatorAssign(QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* other);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Key(const QAssociativeIterable__const_iterator* self);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Value(const QAssociativeIterable__const_iterator* self);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_OperatorMultiply(const QAssociativeIterable__const_iterator* self);
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorEqual(const QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o);
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorNotEqual(const QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlusPlus(QAssociativeIterable__const_iterator* self);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlusPlusWithInt(QAssociativeIterable__const_iterator* self, int param1);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinusMinus(QAssociativeIterable__const_iterator* self);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinusMinusWithInt(QAssociativeIterable__const_iterator* self, int param1);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlusAssign(QAssociativeIterable__const_iterator* self, int j);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinusAssign(QAssociativeIterable__const_iterator* self, int j);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlus(const QAssociativeIterable__const_iterator* self, int j);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinus(const QAssociativeIterable__const_iterator* self, int j);
|
|
|
|
void QAssociativeIterable__const_iterator_Delete(QAssociativeIterable__const_iterator* self);
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|