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"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QAssociativeIterable;
|
2024-08-29 07:01:51 +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;
|
|
|
|
class QSequentialIterable;
|
2024-08-29 07:01:51 +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
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QVariant__PrivateShared)
|
|
|
|
typedef QVariant::PrivateShared QVariant__PrivateShared;
|
|
|
|
#else
|
|
|
|
class QVariant__PrivateShared;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QVariantComparisonHelper;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtMetaTypePrivate__QAssociativeIterableImpl)
|
|
|
|
typedef QtMetaTypePrivate::QAssociativeIterableImpl QtMetaTypePrivate__QAssociativeIterableImpl;
|
|
|
|
#else
|
|
|
|
class QtMetaTypePrivate__QAssociativeIterableImpl;
|
|
|
|
#endif
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtMetaTypePrivate__QSequentialIterableImpl)
|
|
|
|
typedef QtMetaTypePrivate::QSequentialIterableImpl QtMetaTypePrivate__QSequentialIterableImpl;
|
|
|
|
#else
|
|
|
|
class QtMetaTypePrivate__QSequentialIterableImpl;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QAssociativeIterable QAssociativeIterable;
|
2024-08-29 07:01:51 +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;
|
|
|
|
typedef struct QSequentialIterable QSequentialIterable;
|
2024-08-29 07:01:51 +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;
|
|
|
|
typedef struct QVariant__PrivateShared QVariant__PrivateShared;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QVariantComparisonHelper QVariantComparisonHelper;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QtMetaTypePrivate__QAssociativeIterableImpl QtMetaTypePrivate__QAssociativeIterableImpl;
|
|
|
|
typedef struct QtMetaTypePrivate__QSequentialIterableImpl QtMetaTypePrivate__QSequentialIterableImpl;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
QVariant* QVariant_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new2(uintptr_t typeVal);
|
|
|
|
QVariant* QVariant_new3(QVariant* other);
|
|
|
|
QVariant* QVariant_new4(QDataStream* s);
|
|
|
|
QVariant* QVariant_new5(int i);
|
|
|
|
QVariant* QVariant_new6(unsigned int ui);
|
|
|
|
QVariant* QVariant_new7(int64_t ll);
|
|
|
|
QVariant* QVariant_new8(uint64_t ull);
|
|
|
|
QVariant* QVariant_new9(bool b);
|
|
|
|
QVariant* QVariant_new10(double d);
|
|
|
|
QVariant* QVariant_new11(float f);
|
|
|
|
QVariant* QVariant_new12(const char* str);
|
|
|
|
QVariant* QVariant_new13(QByteArray* bytearray);
|
|
|
|
QVariant* QVariant_new14(QBitArray* bitarray);
|
|
|
|
QVariant* QVariant_new15(const char* stringVal, size_t stringVal_Strlen);
|
|
|
|
QVariant* QVariant_new16(char** stringlist, uint64_t* stringlist_Lengths, size_t stringlist_len);
|
|
|
|
QVariant* QVariant_new17(QChar* qchar);
|
|
|
|
QVariant* QVariant_new18(QDate* date);
|
|
|
|
QVariant* QVariant_new19(QTime* time);
|
|
|
|
QVariant* QVariant_new20(QDateTime* datetime);
|
|
|
|
QVariant* QVariant_new21(QSize* size);
|
|
|
|
QVariant* QVariant_new22(QSizeF* size);
|
|
|
|
QVariant* QVariant_new23(QPoint* pt);
|
|
|
|
QVariant* QVariant_new24(QPointF* pt);
|
|
|
|
QVariant* QVariant_new25(QLine* line);
|
|
|
|
QVariant* QVariant_new26(QLineF* line);
|
|
|
|
QVariant* QVariant_new27(QRect* rect);
|
|
|
|
QVariant* QVariant_new28(QRectF* rect);
|
|
|
|
QVariant* QVariant_new29(QLocale* locale);
|
|
|
|
QVariant* QVariant_new30(QRegExp* regExp);
|
|
|
|
QVariant* QVariant_new31(QRegularExpression* re);
|
|
|
|
QVariant* QVariant_new32(QEasingCurve* easing);
|
|
|
|
QVariant* QVariant_new33(QUuid* uuid);
|
|
|
|
QVariant* QVariant_new34(QUrl* url);
|
|
|
|
QVariant* QVariant_new35(QJsonValue* jsonValue);
|
|
|
|
QVariant* QVariant_new36(QJsonObject* jsonObject);
|
|
|
|
QVariant* QVariant_new37(QJsonArray* jsonArray);
|
|
|
|
QVariant* QVariant_new38(QJsonDocument* jsonDocument);
|
|
|
|
QVariant* QVariant_new39(QModelIndex* modelIndex);
|
|
|
|
QVariant* QVariant_new40(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-08-29 07:01:51 +00:00
|
|
|
uintptr_t QVariant_Type(QVariant* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QVariant_UserType(QVariant* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
const char* QVariant_TypeName(QVariant* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QVariant_CanConvert(QVariant* self, int targetTypeId);
|
|
|
|
bool QVariant_Convert(QVariant* self, int targetTypeId);
|
|
|
|
bool QVariant_IsValid(QVariant* self);
|
|
|
|
bool QVariant_IsNull(QVariant* self);
|
|
|
|
void QVariant_Clear(QVariant* self);
|
|
|
|
void QVariant_Detach(QVariant* self);
|
|
|
|
bool QVariant_IsDetached(QVariant* self);
|
|
|
|
int QVariant_ToInt(QVariant* self);
|
|
|
|
unsigned int QVariant_ToUInt(QVariant* self);
|
|
|
|
int64_t QVariant_ToLongLong(QVariant* self);
|
|
|
|
uint64_t QVariant_ToULongLong(QVariant* self);
|
|
|
|
bool QVariant_ToBool(QVariant* self);
|
|
|
|
double QVariant_ToDouble(QVariant* self);
|
|
|
|
float QVariant_ToFloat(QVariant* self);
|
|
|
|
double QVariant_ToReal(QVariant* self);
|
|
|
|
QByteArray* QVariant_ToByteArray(QVariant* self);
|
|
|
|
QBitArray* QVariant_ToBitArray(QVariant* self);
|
|
|
|
void QVariant_ToString(QVariant* self, char** _out, int* _out_Strlen);
|
|
|
|
void QVariant_ToStringList(QVariant* self, char*** _out, int** _out_Lengths, size_t* _out_len);
|
|
|
|
QChar* QVariant_ToChar(QVariant* self);
|
|
|
|
QDate* QVariant_ToDate(QVariant* self);
|
|
|
|
QTime* QVariant_ToTime(QVariant* self);
|
|
|
|
QDateTime* QVariant_ToDateTime(QVariant* self);
|
|
|
|
QPoint* QVariant_ToPoint(QVariant* self);
|
|
|
|
QPointF* QVariant_ToPointF(QVariant* self);
|
|
|
|
QRect* QVariant_ToRect(QVariant* self);
|
|
|
|
QSize* QVariant_ToSize(QVariant* self);
|
|
|
|
QSizeF* QVariant_ToSizeF(QVariant* self);
|
|
|
|
QLine* QVariant_ToLine(QVariant* self);
|
|
|
|
QLineF* QVariant_ToLineF(QVariant* self);
|
|
|
|
QRectF* QVariant_ToRectF(QVariant* self);
|
|
|
|
QLocale* QVariant_ToLocale(QVariant* self);
|
|
|
|
QRegExp* QVariant_ToRegExp(QVariant* self);
|
|
|
|
QRegularExpression* QVariant_ToRegularExpression(QVariant* self);
|
|
|
|
QEasingCurve* QVariant_ToEasingCurve(QVariant* self);
|
|
|
|
QUuid* QVariant_ToUuid(QVariant* self);
|
|
|
|
QUrl* QVariant_ToUrl(QVariant* self);
|
|
|
|
QJsonValue* QVariant_ToJsonValue(QVariant* self);
|
|
|
|
QJsonObject* QVariant_ToJsonObject(QVariant* self);
|
|
|
|
QJsonArray* QVariant_ToJsonArray(QVariant* self);
|
|
|
|
QJsonDocument* QVariant_ToJsonDocument(QVariant* self);
|
|
|
|
QModelIndex* QVariant_ToModelIndex(QVariant* self);
|
|
|
|
QPersistentModelIndex* QVariant_ToPersistentModelIndex(QVariant* self);
|
|
|
|
void QVariant_Load(QVariant* self, QDataStream* ds);
|
|
|
|
void QVariant_Save(QVariant* self, QDataStream* ds);
|
2024-08-29 07:01:51 +00:00
|
|
|
const char* QVariant_TypeToName(int typeId);
|
|
|
|
uintptr_t QVariant_NameToType(const char* name);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QVariant_OperatorEqual(QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorNotEqual(QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorLesser(QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorLesserOrEqual(QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorGreater(QVariant* self, QVariant* v);
|
|
|
|
bool QVariant_OperatorGreaterOrEqual(QVariant* self, QVariant* v);
|
|
|
|
int QVariant_ToInt1(QVariant* self, bool* ok);
|
|
|
|
unsigned int QVariant_ToUInt1(QVariant* self, bool* ok);
|
|
|
|
int64_t QVariant_ToLongLong1(QVariant* self, bool* ok);
|
|
|
|
uint64_t QVariant_ToULongLong1(QVariant* self, bool* ok);
|
|
|
|
double QVariant_ToDouble1(QVariant* self, bool* ok);
|
|
|
|
float QVariant_ToFloat1(QVariant* self, bool* ok);
|
|
|
|
double QVariant_ToReal1(QVariant* self, bool* ok);
|
|
|
|
void QVariant_Delete(QVariant* self);
|
|
|
|
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new(QVariant* varVal);
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new2(QVariantComparisonHelper* param1);
|
|
|
|
void QVariantComparisonHelper_Delete(QVariantComparisonHelper* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QSequentialIterable* QSequentialIterable_new(QtMetaTypePrivate__QSequentialIterableImpl* impl);
|
|
|
|
QSequentialIterable* QSequentialIterable_new2(QSequentialIterable* param1);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable_Begin(QSequentialIterable* self);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable_End(QSequentialIterable* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QVariant* QSequentialIterable_At(QSequentialIterable* self, int idx);
|
|
|
|
int QSequentialIterable_Size(QSequentialIterable* self);
|
|
|
|
bool QSequentialIterable_CanReverseIterate(QSequentialIterable* self);
|
|
|
|
void QSequentialIterable_Delete(QSequentialIterable* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QAssociativeIterable* QAssociativeIterable_new(QtMetaTypePrivate__QAssociativeIterableImpl* impl);
|
|
|
|
QAssociativeIterable* QAssociativeIterable_new2(QAssociativeIterable* param1);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_Begin(QAssociativeIterable* self);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_End(QAssociativeIterable* self);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_Find(QAssociativeIterable* self, QVariant* key);
|
2024-08-25 04:08:24 +00:00
|
|
|
QVariant* QAssociativeIterable_Value(QAssociativeIterable* self, QVariant* key);
|
|
|
|
int QAssociativeIterable_Size(QAssociativeIterable* self);
|
|
|
|
void QAssociativeIterable_Delete(QAssociativeIterable* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QVariant__PrivateShared_Delete(QVariant__PrivateShared* self);
|
|
|
|
|
|
|
|
void QVariant__Handler_Delete(QVariant__Handler* self);
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_new(QSequentialIterable__const_iterator* other);
|
|
|
|
QVariant* QSequentialIterable__const_iterator_OperatorMultiply(QSequentialIterable__const_iterator* self);
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorEqual(QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o);
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorNotEqual(QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlusPlus(QSequentialIterable__const_iterator* self, int param1);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinusMinus(QSequentialIterable__const_iterator* self, int param1);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlus(QSequentialIterable__const_iterator* self, int j);
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinus(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);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Key(QAssociativeIterable__const_iterator* self);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Value(QAssociativeIterable__const_iterator* self);
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_OperatorMultiply(QAssociativeIterable__const_iterator* self);
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorEqual(QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o);
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorNotEqual(QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlusPlus(QAssociativeIterable__const_iterator* self, int param1);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinusMinus(QAssociativeIterable__const_iterator* self, int param1);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlus(QAssociativeIterable__const_iterator* self, int j);
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinus(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
|