2024-08-25 04:08:24 +00:00
|
|
|
#include <QAssociativeIterable>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QAssociativeIterable__const_iterator
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QBitArray>
|
|
|
|
#include <QByteArray>
|
|
|
|
#include <QChar>
|
|
|
|
#include <QDataStream>
|
|
|
|
#include <QDate>
|
|
|
|
#include <QDateTime>
|
|
|
|
#include <QEasingCurve>
|
|
|
|
#include <QJsonArray>
|
|
|
|
#include <QJsonDocument>
|
|
|
|
#include <QJsonObject>
|
|
|
|
#include <QJsonValue>
|
|
|
|
#include <QLine>
|
|
|
|
#include <QLineF>
|
|
|
|
#include <QList>
|
|
|
|
#include <QLocale>
|
|
|
|
#include <QModelIndex>
|
|
|
|
#include <QPersistentModelIndex>
|
|
|
|
#include <QPoint>
|
|
|
|
#include <QPointF>
|
|
|
|
#include <QRect>
|
|
|
|
#include <QRectF>
|
|
|
|
#include <QRegExp>
|
|
|
|
#include <QRegularExpression>
|
|
|
|
#include <QSequentialIterable>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QSequentialIterable__const_iterator
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QSize>
|
|
|
|
#include <QSizeF>
|
|
|
|
#include <QString>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include <QByteArray>
|
|
|
|
#include <cstring>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QTime>
|
|
|
|
#include <QUrl>
|
|
|
|
#include <QUuid>
|
|
|
|
#include <QVariant>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QVariant__Handler
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QVariant__PrivateShared
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QVariantComparisonHelper>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtMetaTypePrivate__QAssociativeIterableImpl
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtMetaTypePrivate__QSequentialIterableImpl
|
|
|
|
#include "qvariant.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qvariant.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
extern void miqt_exec_callback(void* cb, int argc, void* argv);
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QVariant_new() {
|
|
|
|
return new QVariant();
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new2(uintptr_t typeVal) {
|
|
|
|
return new QVariant(static_cast<QVariant::Type>(typeVal));
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QVariant_new3(QVariant* other) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*other);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new4(QDataStream* s) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*s);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new5(int i) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(static_cast<int>(i));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new6(unsigned int ui) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(static_cast<uint>(ui));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new7(int64_t ll) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant((qlonglong)(ll));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new8(uint64_t ull) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant((qulonglong)(ull));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new9(bool b) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(b);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new10(double d) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(static_cast<double>(d));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new11(float f) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(static_cast<float>(f));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new12(const char* str) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(str);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new13(QByteArray* bytearray) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*bytearray);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new14(QBitArray* bitarray) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*bitarray);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new15(const char* stringVal, size_t stringVal_Strlen) {
|
2024-08-25 04:08:24 +00:00
|
|
|
QString stringVal_QString = QString::fromUtf8(stringVal, stringVal_Strlen);
|
|
|
|
return new QVariant(stringVal_QString);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new16(char** stringlist, uint64_t* stringlist_Lengths, size_t stringlist_len) {
|
2024-08-25 04:08:24 +00:00
|
|
|
QList<QString> stringlist_QList;
|
|
|
|
stringlist_QList.reserve(stringlist_len);
|
|
|
|
for(size_t i = 0; i < stringlist_len; ++i) {
|
|
|
|
stringlist_QList.push_back(QString::fromUtf8(stringlist[i], stringlist_Lengths[i]));
|
|
|
|
}
|
|
|
|
return new QVariant(stringlist_QList);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new17(QChar* qchar) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*qchar);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new18(QDate* date) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*date);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new19(QTime* time) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*time);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new20(QDateTime* datetime) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*datetime);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new21(QSize* size) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*size);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new22(QSizeF* size) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*size);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new23(QPoint* pt) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*pt);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new24(QPointF* pt) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*pt);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new25(QLine* line) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*line);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new26(QLineF* line) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*line);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new27(QRect* rect) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*rect);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new28(QRectF* rect) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*rect);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new29(QLocale* locale) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*locale);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new30(QRegExp* regExp) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*regExp);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new31(QRegularExpression* re) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*re);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new32(QEasingCurve* easing) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*easing);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new33(QUuid* uuid) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*uuid);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new34(QUrl* url) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*url);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new35(QJsonValue* jsonValue) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*jsonValue);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new36(QJsonObject* jsonObject) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*jsonObject);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new37(QJsonArray* jsonArray) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*jsonArray);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new38(QJsonDocument* jsonDocument) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*jsonDocument);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new39(QModelIndex* modelIndex) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*modelIndex);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant* QVariant_new40(QPersistentModelIndex* modelIndex) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QVariant(*modelIndex);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_OperatorAssign(QVariant* self, QVariant* other) {
|
|
|
|
self->operator=(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Swap(QVariant* self, QVariant* other) {
|
|
|
|
self->swap(*other);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QVariant_Type(QVariant* self) {
|
|
|
|
QVariant::Type ret = const_cast<const QVariant*>(self)->type();
|
|
|
|
return static_cast<uintptr_t>(ret);
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
int QVariant_UserType(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->userType();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
const char* QVariant_TypeName(QVariant* self) {
|
|
|
|
return (const char*) const_cast<const QVariant*>(self)->typeName();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_CanConvert(QVariant* self, int targetTypeId) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->canConvert(static_cast<int>(targetTypeId));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_Convert(QVariant* self, int targetTypeId) {
|
|
|
|
return self->convert(static_cast<int>(targetTypeId));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_IsValid(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->isValid();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_IsNull(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->isNull();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Clear(QVariant* self) {
|
|
|
|
self->clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Detach(QVariant* self) {
|
|
|
|
self->detach();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_IsDetached(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->isDetached();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int QVariant_ToInt(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toInt();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int QVariant_ToUInt(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toUInt();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int64_t QVariant_ToLongLong(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toLongLong();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
uint64_t QVariant_ToULongLong(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toULongLong();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_ToBool(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toBool();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
double QVariant_ToDouble(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toDouble();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float QVariant_ToFloat(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toFloat();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
double QVariant_ToReal(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->toReal();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QByteArray* QVariant_ToByteArray(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QByteArray ret = const_cast<const QVariant*>(self)->toByteArray();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QByteArray*>(new QByteArray(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QBitArray* QVariant_ToBitArray(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QBitArray ret = const_cast<const QVariant*>(self)->toBitArray();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QBitArray*>(new QBitArray(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_ToString(QVariant* self, char** _out, int* _out_Strlen) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QString ret = const_cast<const QVariant*>(self)->toString();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
|
|
QByteArray b = ret.toUtf8();
|
|
|
|
*_out = static_cast<char*>(malloc(b.length()));
|
|
|
|
memcpy(*_out, b.data(), b.length());
|
|
|
|
*_out_Strlen = b.length();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_ToStringList(QVariant* self, char*** _out, int** _out_Lengths, size_t* _out_len) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QStringList ret = const_cast<const QVariant*>(self)->toStringList();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QStringList from C++ memory to manually-managed C memory
|
|
|
|
char** __out = static_cast<char**>(malloc(sizeof(char*) * ret.length()));
|
|
|
|
int* __out_Lengths = static_cast<int*>(malloc(sizeof(int) * ret.length()));
|
|
|
|
for (size_t i = 0, e = ret.length(); i < e; ++i) {
|
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
|
|
QByteArray b = ret[i].toUtf8();
|
|
|
|
__out[i] = static_cast<char*>(malloc(b.length()));
|
|
|
|
memcpy(__out[i], b.data(), b.length());
|
|
|
|
__out_Lengths[i] = b.length();
|
|
|
|
}
|
|
|
|
*_out = __out;
|
|
|
|
*_out_Lengths = __out_Lengths;
|
|
|
|
*_out_len = ret.length();
|
|
|
|
}
|
|
|
|
|
|
|
|
QChar* QVariant_ToChar(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QChar ret = const_cast<const QVariant*>(self)->toChar();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QChar*>(new QChar(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QDate* QVariant_ToDate(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QDate ret = const_cast<const QVariant*>(self)->toDate();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QDate*>(new QDate(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QTime* QVariant_ToTime(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QTime ret = const_cast<const QVariant*>(self)->toTime();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QTime*>(new QTime(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QDateTime* QVariant_ToDateTime(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QDateTime ret = const_cast<const QVariant*>(self)->toDateTime();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QDateTime*>(new QDateTime(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QPoint* QVariant_ToPoint(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPoint ret = const_cast<const QVariant*>(self)->toPoint();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPoint*>(new QPoint(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QPointF* QVariant_ToPointF(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPointF ret = const_cast<const QVariant*>(self)->toPointF();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPointF*>(new QPointF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRect* QVariant_ToRect(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QRect ret = const_cast<const QVariant*>(self)->toRect();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QRect*>(new QRect(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSize* QVariant_ToSize(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QSize ret = const_cast<const QVariant*>(self)->toSize();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSize*>(new QSize(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSizeF* QVariant_ToSizeF(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QSizeF ret = const_cast<const QVariant*>(self)->toSizeF();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSizeF*>(new QSizeF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QLine* QVariant_ToLine(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QLine ret = const_cast<const QVariant*>(self)->toLine();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QLine*>(new QLine(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineF* QVariant_ToLineF(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QLineF ret = const_cast<const QVariant*>(self)->toLineF();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QLineF*>(new QLineF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRectF* QVariant_ToRectF(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QRectF ret = const_cast<const QVariant*>(self)->toRectF();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QRectF*>(new QRectF(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QLocale* QVariant_ToLocale(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QLocale ret = const_cast<const QVariant*>(self)->toLocale();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QLocale*>(new QLocale(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRegExp* QVariant_ToRegExp(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QRegExp ret = const_cast<const QVariant*>(self)->toRegExp();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QRegExp*>(new QRegExp(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QRegularExpression* QVariant_ToRegularExpression(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QRegularExpression ret = const_cast<const QVariant*>(self)->toRegularExpression();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QRegularExpression*>(new QRegularExpression(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QEasingCurve* QVariant_ToEasingCurve(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QEasingCurve ret = const_cast<const QVariant*>(self)->toEasingCurve();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QEasingCurve*>(new QEasingCurve(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QUuid* QVariant_ToUuid(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QUuid ret = const_cast<const QVariant*>(self)->toUuid();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QUuid*>(new QUuid(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QUrl* QVariant_ToUrl(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QUrl ret = const_cast<const QVariant*>(self)->toUrl();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QUrl*>(new QUrl(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValue* QVariant_ToJsonValue(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue ret = const_cast<const QVariant*>(self)->toJsonValue();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QJsonValue*>(new QJsonValue(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonObject* QVariant_ToJsonObject(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonObject ret = const_cast<const QVariant*>(self)->toJsonObject();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QJsonObject*>(new QJsonObject(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonArray* QVariant_ToJsonArray(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonArray ret = const_cast<const QVariant*>(self)->toJsonArray();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QJsonArray*>(new QJsonArray(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonDocument* QVariant_ToJsonDocument(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonDocument ret = const_cast<const QVariant*>(self)->toJsonDocument();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QJsonDocument*>(new QJsonDocument(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QModelIndex* QVariant_ToModelIndex(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QModelIndex ret = const_cast<const QVariant*>(self)->toModelIndex();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QModelIndex*>(new QModelIndex(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QPersistentModelIndex* QVariant_ToPersistentModelIndex(QVariant* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QPersistentModelIndex ret = const_cast<const QVariant*>(self)->toPersistentModelIndex();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QPersistentModelIndex*>(new QPersistentModelIndex(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Load(QVariant* self, QDataStream* ds) {
|
|
|
|
self->load(*ds);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Save(QVariant* self, QDataStream* ds) {
|
2024-08-29 07:01:51 +00:00
|
|
|
const_cast<const QVariant*>(self)->save(*ds);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char* QVariant_TypeToName(int typeId) {
|
|
|
|
return (const char*) QVariant::typeToName(static_cast<int>(typeId));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QVariant_NameToType(const char* name) {
|
|
|
|
QVariant::Type ret = QVariant::nameToType(name);
|
|
|
|
return static_cast<uintptr_t>(ret);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorEqual(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator==(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorNotEqual(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator!=(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorLesser(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator<(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorLesserOrEqual(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator<=(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorGreater(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator>(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QVariant_OperatorGreaterOrEqual(QVariant* self, QVariant* v) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QVariant*>(self)->operator>=(*v);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int QVariant_ToInt1(QVariant* self, bool* ok) {
|
|
|
|
return self->toInt(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int QVariant_ToUInt1(QVariant* self, bool* ok) {
|
|
|
|
return self->toUInt(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
int64_t QVariant_ToLongLong1(QVariant* self, bool* ok) {
|
|
|
|
return self->toLongLong(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
uint64_t QVariant_ToULongLong1(QVariant* self, bool* ok) {
|
|
|
|
return self->toULongLong(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
double QVariant_ToDouble1(QVariant* self, bool* ok) {
|
|
|
|
return self->toDouble(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
float QVariant_ToFloat1(QVariant* self, bool* ok) {
|
|
|
|
return self->toFloat(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
double QVariant_ToReal1(QVariant* self, bool* ok) {
|
|
|
|
return self->toReal(ok);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant_Delete(QVariant* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new(QVariant* varVal) {
|
|
|
|
return new QVariantComparisonHelper(*varVal);
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariantComparisonHelper* QVariantComparisonHelper_new2(QVariantComparisonHelper* param1) {
|
|
|
|
return new QVariantComparisonHelper(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariantComparisonHelper_Delete(QVariantComparisonHelper* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QSequentialIterable* QSequentialIterable_new(QtMetaTypePrivate__QSequentialIterableImpl* impl) {
|
|
|
|
return new QSequentialIterable(*impl);
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable* QSequentialIterable_new2(QSequentialIterable* param1) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QSequentialIterable(*param1);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable_Begin(QSequentialIterable* self) {
|
|
|
|
QSequentialIterable::const_iterator ret = const_cast<const QSequentialIterable*>(self)->begin();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable_End(QSequentialIterable* self) {
|
|
|
|
QSequentialIterable::const_iterator ret = const_cast<const QSequentialIterable*>(self)->end();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
QVariant* QSequentialIterable_At(QSequentialIterable* self, int idx) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant ret = const_cast<const QSequentialIterable*>(self)->at(static_cast<int>(idx));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
int QSequentialIterable_Size(QSequentialIterable* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QSequentialIterable*>(self)->size();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QSequentialIterable_CanReverseIterate(QSequentialIterable* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QSequentialIterable*>(self)->canReverseIterate();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QSequentialIterable_Delete(QSequentialIterable* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QAssociativeIterable* QAssociativeIterable_new(QtMetaTypePrivate__QAssociativeIterableImpl* impl) {
|
|
|
|
return new QAssociativeIterable(*impl);
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable* QAssociativeIterable_new2(QAssociativeIterable* param1) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QAssociativeIterable(*param1);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_Begin(QAssociativeIterable* self) {
|
|
|
|
QAssociativeIterable::const_iterator ret = const_cast<const QAssociativeIterable*>(self)->begin();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_End(QAssociativeIterable* self) {
|
|
|
|
QAssociativeIterable::const_iterator ret = const_cast<const QAssociativeIterable*>(self)->end();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable_Find(QAssociativeIterable* self, QVariant* key) {
|
|
|
|
QAssociativeIterable::const_iterator ret = const_cast<const QAssociativeIterable*>(self)->find(*key);
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
QVariant* QAssociativeIterable_Value(QAssociativeIterable* self, QVariant* key) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QVariant ret = const_cast<const QAssociativeIterable*>(self)->value(*key);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
int QAssociativeIterable_Size(QAssociativeIterable* self) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return const_cast<const QAssociativeIterable*>(self)->size();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QAssociativeIterable_Delete(QAssociativeIterable* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QVariant__PrivateShared_Delete(QVariant__PrivateShared* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QVariant__Handler_Delete(QVariant__Handler* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_new(QSequentialIterable__const_iterator* other) {
|
|
|
|
return new QSequentialIterable::const_iterator(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QSequentialIterable__const_iterator_OperatorMultiply(QSequentialIterable__const_iterator* self) {
|
|
|
|
QVariant ret = const_cast<const QSequentialIterable::const_iterator*>(self)->operator*();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorEqual(QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o) {
|
|
|
|
return const_cast<const QSequentialIterable::const_iterator*>(self)->operator==(*o);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QSequentialIterable__const_iterator_OperatorNotEqual(QSequentialIterable__const_iterator* self, QSequentialIterable__const_iterator* o) {
|
|
|
|
return const_cast<const QSequentialIterable::const_iterator*>(self)->operator!=(*o);
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlusPlus(QSequentialIterable__const_iterator* self, int param1) {
|
|
|
|
QSequentialIterable::const_iterator ret = self->operator++(static_cast<int>(param1));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinusMinus(QSequentialIterable__const_iterator* self, int param1) {
|
|
|
|
QSequentialIterable::const_iterator ret = self->operator--(static_cast<int>(param1));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorPlus(QSequentialIterable__const_iterator* self, int j) {
|
|
|
|
QSequentialIterable::const_iterator ret = const_cast<const QSequentialIterable::const_iterator*>(self)->operator+(static_cast<int>(j));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QSequentialIterable__const_iterator* QSequentialIterable__const_iterator_OperatorMinus(QSequentialIterable__const_iterator* self, int j) {
|
|
|
|
QSequentialIterable::const_iterator ret = const_cast<const QSequentialIterable::const_iterator*>(self)->operator-(static_cast<int>(j));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QSequentialIterable::const_iterator*>(new QSequentialIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QSequentialIterable__const_iterator_Delete(QSequentialIterable__const_iterator* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_new(QAssociativeIterable__const_iterator* other) {
|
|
|
|
return new QAssociativeIterable::const_iterator(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Key(QAssociativeIterable__const_iterator* self) {
|
|
|
|
QVariant ret = const_cast<const QAssociativeIterable::const_iterator*>(self)->key();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_Value(QAssociativeIterable__const_iterator* self) {
|
|
|
|
QVariant ret = const_cast<const QAssociativeIterable::const_iterator*>(self)->value();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QVariant* QAssociativeIterable__const_iterator_OperatorMultiply(QAssociativeIterable__const_iterator* self) {
|
|
|
|
QVariant ret = const_cast<const QAssociativeIterable::const_iterator*>(self)->operator*();
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QVariant*>(new QVariant(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorEqual(QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o) {
|
|
|
|
return const_cast<const QAssociativeIterable::const_iterator*>(self)->operator==(*o);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QAssociativeIterable__const_iterator_OperatorNotEqual(QAssociativeIterable__const_iterator* self, QAssociativeIterable__const_iterator* o) {
|
|
|
|
return const_cast<const QAssociativeIterable::const_iterator*>(self)->operator!=(*o);
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlusPlus(QAssociativeIterable__const_iterator* self, int param1) {
|
|
|
|
QAssociativeIterable::const_iterator ret = self->operator++(static_cast<int>(param1));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinusMinus(QAssociativeIterable__const_iterator* self, int param1) {
|
|
|
|
QAssociativeIterable::const_iterator ret = self->operator--(static_cast<int>(param1));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorPlus(QAssociativeIterable__const_iterator* self, int j) {
|
|
|
|
QAssociativeIterable::const_iterator ret = const_cast<const QAssociativeIterable::const_iterator*>(self)->operator+(static_cast<int>(j));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
QAssociativeIterable__const_iterator* QAssociativeIterable__const_iterator_OperatorMinus(QAssociativeIterable__const_iterator* self, int j) {
|
|
|
|
QAssociativeIterable::const_iterator ret = const_cast<const QAssociativeIterable::const_iterator*>(self)->operator-(static_cast<int>(j));
|
|
|
|
// Copy-construct value returned type into heap-allocated copy
|
|
|
|
return static_cast<QAssociativeIterable::const_iterator*>(new QAssociativeIterable::const_iterator(ret));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QAssociativeIterable__const_iterator_Delete(QAssociativeIterable__const_iterator* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|