mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
qt: rebuild (updates some minor cabi comments)
This commit is contained in:
parent
1e1714a163
commit
d4b4465928
@ -299,7 +299,7 @@ struct miqt_array* QAbstractItemModel_MimeTypes(const QAbstractItemModel* self)
|
||||
return _out;
|
||||
}
|
||||
|
||||
QMimeData* QAbstractItemModel_MimeData(const QAbstractItemModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QAbstractItemModel_MimeData(const QAbstractItemModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
@ -647,7 +647,7 @@ void QAbstractItemModel_connect_DataChanged3(QAbstractItemModel* self, void* slo
|
||||
});
|
||||
}
|
||||
|
||||
void QAbstractItemModel_LayoutChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents) {
|
||||
void QAbstractItemModel_LayoutChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents) {
|
||||
QList<QPersistentModelIndex> parents_QList;
|
||||
parents_QList.reserve(parents->len);
|
||||
QPersistentModelIndex** parents_arr = static_cast<QPersistentModelIndex**>(parents->data);
|
||||
@ -673,7 +673,7 @@ void QAbstractItemModel_connect_LayoutChanged1(QAbstractItemModel* self, void* s
|
||||
});
|
||||
}
|
||||
|
||||
void QAbstractItemModel_LayoutChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents, uintptr_t hint) {
|
||||
void QAbstractItemModel_LayoutChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents, uintptr_t hint) {
|
||||
QList<QPersistentModelIndex> parents_QList;
|
||||
parents_QList.reserve(parents->len);
|
||||
QPersistentModelIndex** parents_arr = static_cast<QPersistentModelIndex**>(parents->data);
|
||||
@ -701,7 +701,7 @@ void QAbstractItemModel_connect_LayoutChanged2(QAbstractItemModel* self, void* s
|
||||
});
|
||||
}
|
||||
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents) {
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents) {
|
||||
QList<QPersistentModelIndex> parents_QList;
|
||||
parents_QList.reserve(parents->len);
|
||||
QPersistentModelIndex** parents_arr = static_cast<QPersistentModelIndex**>(parents->data);
|
||||
@ -727,7 +727,7 @@ void QAbstractItemModel_connect_LayoutAboutToBeChanged1(QAbstractItemModel* self
|
||||
});
|
||||
}
|
||||
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents, uintptr_t hint) {
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents, uintptr_t hint) {
|
||||
QList<QPersistentModelIndex> parents_QList;
|
||||
parents_QList.reserve(parents->len);
|
||||
QPersistentModelIndex** parents_arr = static_cast<QPersistentModelIndex**>(parents->data);
|
||||
|
@ -94,7 +94,7 @@ bool QAbstractItemModel_SetData(QAbstractItemModel* self, QModelIndex* index, QV
|
||||
QVariant* QAbstractItemModel_HeaderData(const QAbstractItemModel* self, int section, uintptr_t orientation);
|
||||
bool QAbstractItemModel_SetHeaderData(QAbstractItemModel* self, int section, uintptr_t orientation, QVariant* value);
|
||||
struct miqt_array* QAbstractItemModel_MimeTypes(const QAbstractItemModel* self);
|
||||
QMimeData* QAbstractItemModel_MimeData(const QAbstractItemModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QAbstractItemModel_MimeData(const QAbstractItemModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QAbstractItemModel_CanDropMimeData(const QAbstractItemModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
bool QAbstractItemModel_DropMimeData(QAbstractItemModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
int QAbstractItemModel_SupportedDropActions(const QAbstractItemModel* self);
|
||||
@ -156,13 +156,13 @@ struct miqt_array* QAbstractItemModel_Match5(const QAbstractItemModel* self, QMo
|
||||
bool QAbstractItemModel_CheckIndex2(const QAbstractItemModel* self, QModelIndex* index, int options);
|
||||
void QAbstractItemModel_DataChanged3(QAbstractItemModel* self, QModelIndex* topLeft, QModelIndex* bottomRight, struct miqt_array* /* of int */ roles);
|
||||
void QAbstractItemModel_connect_DataChanged3(QAbstractItemModel* self, void* slot);
|
||||
void QAbstractItemModel_LayoutChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents);
|
||||
void QAbstractItemModel_LayoutChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents);
|
||||
void QAbstractItemModel_connect_LayoutChanged1(QAbstractItemModel* self, void* slot);
|
||||
void QAbstractItemModel_LayoutChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents, uintptr_t hint);
|
||||
void QAbstractItemModel_LayoutChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents, uintptr_t hint);
|
||||
void QAbstractItemModel_connect_LayoutChanged2(QAbstractItemModel* self, void* slot);
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents);
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged1(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents);
|
||||
void QAbstractItemModel_connect_LayoutAboutToBeChanged1(QAbstractItemModel* self, void* slot);
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex */ parents, uintptr_t hint);
|
||||
void QAbstractItemModel_LayoutAboutToBeChanged2(QAbstractItemModel* self, struct miqt_array* /* of QPersistentModelIndex* */ parents, uintptr_t hint);
|
||||
void QAbstractItemModel_connect_LayoutAboutToBeChanged2(QAbstractItemModel* self, void* slot);
|
||||
void QAbstractItemModel_Delete(QAbstractItemModel* self);
|
||||
|
||||
|
@ -118,7 +118,7 @@ QModelIndex* QAbstractProxyModel_Sibling(const QAbstractProxyModel* self, int ro
|
||||
return static_cast<QModelIndex*>(new QModelIndex(_ret));
|
||||
}
|
||||
|
||||
QMimeData* QAbstractProxyModel_MimeData(const QAbstractProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QAbstractProxyModel_MimeData(const QAbstractProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
|
@ -52,7 +52,7 @@ void QAbstractProxyModel_Sort(QAbstractProxyModel* self, int column);
|
||||
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);
|
||||
QMimeData* QAbstractProxyModel_MimeData(const QAbstractProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QAbstractProxyModel_MimeData(const QAbstractProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QAbstractProxyModel_CanDropMimeData(const QAbstractProxyModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
bool QAbstractProxyModel_DropMimeData(QAbstractProxyModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
struct miqt_array* QAbstractProxyModel_MimeTypes(const QAbstractProxyModel* self);
|
||||
|
@ -176,7 +176,7 @@ QKeySequence* QAction_Shortcut(const QAction* self) {
|
||||
return static_cast<QKeySequence*>(new QKeySequence(_ret));
|
||||
}
|
||||
|
||||
void QAction_SetShortcuts(QAction* self, struct miqt_array* /* of QKeySequence */ shortcuts) {
|
||||
void QAction_SetShortcuts(QAction* self, struct miqt_array* /* of QKeySequence* */ shortcuts) {
|
||||
QList<QKeySequence> shortcuts_QList;
|
||||
shortcuts_QList.reserve(shortcuts->len);
|
||||
QKeySequence** shortcuts_arr = static_cast<QKeySequence**>(shortcuts->data);
|
||||
|
@ -70,7 +70,7 @@ void QAction_SetSeparator(QAction* self, bool b);
|
||||
bool QAction_IsSeparator(const QAction* self);
|
||||
void QAction_SetShortcut(QAction* self, QKeySequence* shortcut);
|
||||
QKeySequence* QAction_Shortcut(const QAction* self);
|
||||
void QAction_SetShortcuts(QAction* self, struct miqt_array* /* of QKeySequence */ shortcuts);
|
||||
void QAction_SetShortcuts(QAction* self, struct miqt_array* /* of QKeySequence* */ shortcuts);
|
||||
void QAction_SetShortcutsWithShortcuts(QAction* self, uintptr_t shortcuts);
|
||||
struct miqt_array* QAction_Shortcuts(const QAction* self);
|
||||
void QAction_SetShortcutContext(QAction* self, uintptr_t context);
|
||||
|
@ -272,7 +272,7 @@ QCborArray* QCborArray_OperatorShiftLeft(QCborArray* self, QCborValue* v) {
|
||||
return &_ret;
|
||||
}
|
||||
|
||||
QCborArray* QCborArray_FromStringList(struct miqt_array* /* of QString */ list) {
|
||||
QCborArray* QCborArray_FromStringList(struct miqt_array* /* of struct miqt_string* */ list) {
|
||||
QList<QString> list_QList;
|
||||
list_QList.reserve(list->len);
|
||||
miqt_string** list_arr = static_cast<miqt_string**>(list->data);
|
||||
|
@ -88,7 +88,7 @@ bool QCborArray_Empty(const QCborArray* self);
|
||||
QCborArray* QCborArray_OperatorPlus(const QCborArray* self, QCborValue* v);
|
||||
QCborArray* QCborArray_OperatorPlusAssign(QCborArray* self, QCborValue* v);
|
||||
QCborArray* QCborArray_OperatorShiftLeft(QCborArray* self, QCborValue* v);
|
||||
QCborArray* QCborArray_FromStringList(struct miqt_array* /* of QString */ list);
|
||||
QCborArray* QCborArray_FromStringList(struct miqt_array* /* of struct miqt_string* */ list);
|
||||
QCborArray* QCborArray_FromJsonArray(QJsonArray* array);
|
||||
QJsonArray* QCborArray_ToJsonArray(const QCborArray* self);
|
||||
void QCborArray_Delete(QCborArray* self);
|
||||
|
@ -268,7 +268,7 @@ void QComboBox_AddItem2(QComboBox* self, QIcon* icon, struct miqt_string* text)
|
||||
self->addItem(*icon, text_QString);
|
||||
}
|
||||
|
||||
void QComboBox_AddItems(QComboBox* self, struct miqt_array* /* of QString */ texts) {
|
||||
void QComboBox_AddItems(QComboBox* self, struct miqt_array* /* of struct miqt_string* */ texts) {
|
||||
QList<QString> texts_QList;
|
||||
texts_QList.reserve(texts->len);
|
||||
miqt_string** texts_arr = static_cast<miqt_string**>(texts->data);
|
||||
@ -288,7 +288,7 @@ void QComboBox_InsertItem2(QComboBox* self, int index, QIcon* icon, struct miqt_
|
||||
self->insertItem(static_cast<int>(index), *icon, text_QString);
|
||||
}
|
||||
|
||||
void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array* /* of QString */ texts) {
|
||||
void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array* /* of struct miqt_string* */ texts) {
|
||||
QList<QString> texts_QList;
|
||||
texts_QList.reserve(texts->len);
|
||||
miqt_string** texts_arr = static_cast<miqt_string**>(texts->data);
|
||||
|
@ -99,10 +99,10 @@ QIcon* QComboBox_ItemIcon(const QComboBox* self, int index);
|
||||
QVariant* QComboBox_ItemData(const QComboBox* self, int index);
|
||||
void QComboBox_AddItem(QComboBox* self, struct miqt_string* text);
|
||||
void QComboBox_AddItem2(QComboBox* self, QIcon* icon, struct miqt_string* text);
|
||||
void QComboBox_AddItems(QComboBox* self, struct miqt_array* /* of QString */ texts);
|
||||
void QComboBox_AddItems(QComboBox* self, struct miqt_array* /* of struct miqt_string* */ texts);
|
||||
void QComboBox_InsertItem(QComboBox* self, int index, struct miqt_string* text);
|
||||
void QComboBox_InsertItem2(QComboBox* self, int index, QIcon* icon, struct miqt_string* text);
|
||||
void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array* /* of QString */ texts);
|
||||
void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array* /* of struct miqt_string* */ texts);
|
||||
void QComboBox_InsertSeparator(QComboBox* self, int index);
|
||||
void QComboBox_RemoveItem(QComboBox* self, int index);
|
||||
void QComboBox_SetItemText(QComboBox* self, int index, struct miqt_string* text);
|
||||
|
@ -12,7 +12,7 @@ QCommandLineOption* QCommandLineOption_new(struct miqt_string* name) {
|
||||
return new QCommandLineOption(name_QString);
|
||||
}
|
||||
|
||||
QCommandLineOption* QCommandLineOption_new2(struct miqt_array* /* of QString */ names) {
|
||||
QCommandLineOption* QCommandLineOption_new2(struct miqt_array* /* of struct miqt_string* */ names) {
|
||||
QList<QString> names_QList;
|
||||
names_QList.reserve(names->len);
|
||||
miqt_string** names_arr = static_cast<miqt_string**>(names->data);
|
||||
@ -28,7 +28,7 @@ QCommandLineOption* QCommandLineOption_new3(struct miqt_string* name, struct miq
|
||||
return new QCommandLineOption(name_QString, description_QString);
|
||||
}
|
||||
|
||||
QCommandLineOption* QCommandLineOption_new4(struct miqt_array* /* of QString */ names, struct miqt_string* description) {
|
||||
QCommandLineOption* QCommandLineOption_new4(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description) {
|
||||
QList<QString> names_QList;
|
||||
names_QList.reserve(names->len);
|
||||
miqt_string** names_arr = static_cast<miqt_string**>(names->data);
|
||||
@ -58,7 +58,7 @@ QCommandLineOption* QCommandLineOption_new7(struct miqt_string* name, struct miq
|
||||
return new QCommandLineOption(name_QString, description_QString, valueName_QString, defaultValue_QString);
|
||||
}
|
||||
|
||||
QCommandLineOption* QCommandLineOption_new8(struct miqt_array* /* of QString */ names, struct miqt_string* description, struct miqt_string* valueName) {
|
||||
QCommandLineOption* QCommandLineOption_new8(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description, struct miqt_string* valueName) {
|
||||
QList<QString> names_QList;
|
||||
names_QList.reserve(names->len);
|
||||
miqt_string** names_arr = static_cast<miqt_string**>(names->data);
|
||||
@ -70,7 +70,7 @@ QCommandLineOption* QCommandLineOption_new8(struct miqt_array* /* of QString */
|
||||
return new QCommandLineOption(names_QList, description_QString, valueName_QString);
|
||||
}
|
||||
|
||||
QCommandLineOption* QCommandLineOption_new9(struct miqt_array* /* of QString */ names, struct miqt_string* description, struct miqt_string* valueName, struct miqt_string* defaultValue) {
|
||||
QCommandLineOption* QCommandLineOption_new9(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description, struct miqt_string* valueName, struct miqt_string* defaultValue) {
|
||||
QList<QString> names_QList;
|
||||
names_QList.reserve(names->len);
|
||||
miqt_string** names_arr = static_cast<miqt_string**>(names->data);
|
||||
@ -136,7 +136,7 @@ void QCommandLineOption_SetDefaultValue(QCommandLineOption* self, struct miqt_st
|
||||
self->setDefaultValue(defaultValue_QString);
|
||||
}
|
||||
|
||||
void QCommandLineOption_SetDefaultValues(QCommandLineOption* self, struct miqt_array* /* of QString */ defaultValues) {
|
||||
void QCommandLineOption_SetDefaultValues(QCommandLineOption* self, struct miqt_array* /* of struct miqt_string* */ defaultValues) {
|
||||
QList<QString> defaultValues_QList;
|
||||
defaultValues_QList.reserve(defaultValues->len);
|
||||
miqt_string** defaultValues_arr = static_cast<miqt_string**>(defaultValues->data);
|
||||
|
@ -20,14 +20,14 @@ typedef struct QCommandLineOption QCommandLineOption;
|
||||
#endif
|
||||
|
||||
QCommandLineOption* QCommandLineOption_new(struct miqt_string* name);
|
||||
QCommandLineOption* QCommandLineOption_new2(struct miqt_array* /* of QString */ names);
|
||||
QCommandLineOption* QCommandLineOption_new2(struct miqt_array* /* of struct miqt_string* */ names);
|
||||
QCommandLineOption* QCommandLineOption_new3(struct miqt_string* name, struct miqt_string* description);
|
||||
QCommandLineOption* QCommandLineOption_new4(struct miqt_array* /* of QString */ names, struct miqt_string* description);
|
||||
QCommandLineOption* QCommandLineOption_new4(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description);
|
||||
QCommandLineOption* QCommandLineOption_new5(QCommandLineOption* other);
|
||||
QCommandLineOption* QCommandLineOption_new6(struct miqt_string* name, struct miqt_string* description, struct miqt_string* valueName);
|
||||
QCommandLineOption* QCommandLineOption_new7(struct miqt_string* name, struct miqt_string* description, struct miqt_string* valueName, struct miqt_string* defaultValue);
|
||||
QCommandLineOption* QCommandLineOption_new8(struct miqt_array* /* of QString */ names, struct miqt_string* description, struct miqt_string* valueName);
|
||||
QCommandLineOption* QCommandLineOption_new9(struct miqt_array* /* of QString */ names, struct miqt_string* description, struct miqt_string* valueName, struct miqt_string* defaultValue);
|
||||
QCommandLineOption* QCommandLineOption_new8(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description, struct miqt_string* valueName);
|
||||
QCommandLineOption* QCommandLineOption_new9(struct miqt_array* /* of struct miqt_string* */ names, struct miqt_string* description, struct miqt_string* valueName, struct miqt_string* defaultValue);
|
||||
void QCommandLineOption_OperatorAssign(QCommandLineOption* self, QCommandLineOption* other);
|
||||
void QCommandLineOption_Swap(QCommandLineOption* self, QCommandLineOption* other);
|
||||
struct miqt_array* QCommandLineOption_Names(const QCommandLineOption* self);
|
||||
@ -36,7 +36,7 @@ struct miqt_string* QCommandLineOption_ValueName(const QCommandLineOption* self)
|
||||
void QCommandLineOption_SetDescription(QCommandLineOption* self, struct miqt_string* description);
|
||||
struct miqt_string* QCommandLineOption_Description(const QCommandLineOption* self);
|
||||
void QCommandLineOption_SetDefaultValue(QCommandLineOption* self, struct miqt_string* defaultValue);
|
||||
void QCommandLineOption_SetDefaultValues(QCommandLineOption* self, struct miqt_array* /* of QString */ defaultValues);
|
||||
void QCommandLineOption_SetDefaultValues(QCommandLineOption* self, struct miqt_array* /* of struct miqt_string* */ defaultValues);
|
||||
struct miqt_array* QCommandLineOption_DefaultValues(const QCommandLineOption* self);
|
||||
int QCommandLineOption_Flags(const QCommandLineOption* self);
|
||||
void QCommandLineOption_SetFlags(QCommandLineOption* self, int aflags);
|
||||
|
@ -39,7 +39,7 @@ bool QCommandLineParser_AddOption(QCommandLineParser* self, QCommandLineOption*
|
||||
return self->addOption(*commandLineOption);
|
||||
}
|
||||
|
||||
bool QCommandLineParser_AddOptions(QCommandLineParser* self, struct miqt_array* /* of QCommandLineOption */ options) {
|
||||
bool QCommandLineParser_AddOptions(QCommandLineParser* self, struct miqt_array* /* of QCommandLineOption* */ options) {
|
||||
QList<QCommandLineOption> options_QList;
|
||||
options_QList.reserve(options->len);
|
||||
QCommandLineOption** options_arr = static_cast<QCommandLineOption**>(options->data);
|
||||
@ -83,7 +83,7 @@ void QCommandLineParser_ClearPositionalArguments(QCommandLineParser* self) {
|
||||
self->clearPositionalArguments();
|
||||
}
|
||||
|
||||
void QCommandLineParser_Process(QCommandLineParser* self, struct miqt_array* /* of QString */ arguments) {
|
||||
void QCommandLineParser_Process(QCommandLineParser* self, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
miqt_string** arguments_arr = static_cast<miqt_string**>(arguments->data);
|
||||
@ -97,7 +97,7 @@ void QCommandLineParser_ProcessWithApp(QCommandLineParser* self, QCoreApplicatio
|
||||
self->process(*app);
|
||||
}
|
||||
|
||||
bool QCommandLineParser_Parse(QCommandLineParser* self, struct miqt_array* /* of QString */ arguments) {
|
||||
bool QCommandLineParser_Parse(QCommandLineParser* self, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
miqt_string** arguments_arr = static_cast<miqt_string**>(arguments->data);
|
||||
|
@ -29,16 +29,16 @@ struct miqt_string* QCommandLineParser_TrUtf8(const char* sourceText);
|
||||
void QCommandLineParser_SetSingleDashWordOptionMode(QCommandLineParser* self, uintptr_t parsingMode);
|
||||
void QCommandLineParser_SetOptionsAfterPositionalArgumentsMode(QCommandLineParser* self, uintptr_t mode);
|
||||
bool QCommandLineParser_AddOption(QCommandLineParser* self, QCommandLineOption* commandLineOption);
|
||||
bool QCommandLineParser_AddOptions(QCommandLineParser* self, struct miqt_array* /* of QCommandLineOption */ options);
|
||||
bool QCommandLineParser_AddOptions(QCommandLineParser* self, struct miqt_array* /* of QCommandLineOption* */ options);
|
||||
QCommandLineOption* QCommandLineParser_AddVersionOption(QCommandLineParser* self);
|
||||
QCommandLineOption* QCommandLineParser_AddHelpOption(QCommandLineParser* self);
|
||||
void QCommandLineParser_SetApplicationDescription(QCommandLineParser* self, struct miqt_string* description);
|
||||
struct miqt_string* QCommandLineParser_ApplicationDescription(const QCommandLineParser* self);
|
||||
void QCommandLineParser_AddPositionalArgument(QCommandLineParser* self, struct miqt_string* name, struct miqt_string* description);
|
||||
void QCommandLineParser_ClearPositionalArguments(QCommandLineParser* self);
|
||||
void QCommandLineParser_Process(QCommandLineParser* self, struct miqt_array* /* of QString */ arguments);
|
||||
void QCommandLineParser_Process(QCommandLineParser* self, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
void QCommandLineParser_ProcessWithApp(QCommandLineParser* self, QCoreApplication* app);
|
||||
bool QCommandLineParser_Parse(QCommandLineParser* self, struct miqt_array* /* of QString */ arguments);
|
||||
bool QCommandLineParser_Parse(QCommandLineParser* self, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
struct miqt_string* QCommandLineParser_ErrorText(const QCommandLineParser* self);
|
||||
bool QCommandLineParser_IsSet(const QCommandLineParser* self, struct miqt_string* name);
|
||||
struct miqt_string* QCommandLineParser_Value(const QCommandLineParser* self, struct miqt_string* name);
|
||||
|
@ -22,7 +22,7 @@ QCompleter* QCompleter_new2(QAbstractItemModel* model) {
|
||||
return new QCompleter(model);
|
||||
}
|
||||
|
||||
QCompleter* QCompleter_new3(struct miqt_array* /* of QString */ completions) {
|
||||
QCompleter* QCompleter_new3(struct miqt_array* /* of struct miqt_string* */ completions) {
|
||||
QList<QString> completions_QList;
|
||||
completions_QList.reserve(completions->len);
|
||||
miqt_string** completions_arr = static_cast<miqt_string**>(completions->data);
|
||||
@ -40,7 +40,7 @@ QCompleter* QCompleter_new5(QAbstractItemModel* model, QObject* parent) {
|
||||
return new QCompleter(model, parent);
|
||||
}
|
||||
|
||||
QCompleter* QCompleter_new6(struct miqt_array* /* of QString */ completions, QObject* parent) {
|
||||
QCompleter* QCompleter_new6(struct miqt_array* /* of struct miqt_string* */ completions, QObject* parent) {
|
||||
QList<QString> completions_QList;
|
||||
completions_QList.reserve(completions->len);
|
||||
miqt_string** completions_arr = static_cast<miqt_string**>(completions->data);
|
||||
|
@ -35,10 +35,10 @@ typedef struct QWidget QWidget;
|
||||
|
||||
QCompleter* QCompleter_new();
|
||||
QCompleter* QCompleter_new2(QAbstractItemModel* model);
|
||||
QCompleter* QCompleter_new3(struct miqt_array* /* of QString */ completions);
|
||||
QCompleter* QCompleter_new3(struct miqt_array* /* of struct miqt_string* */ completions);
|
||||
QCompleter* QCompleter_new4(QObject* parent);
|
||||
QCompleter* QCompleter_new5(QAbstractItemModel* model, QObject* parent);
|
||||
QCompleter* QCompleter_new6(struct miqt_array* /* of QString */ completions, QObject* parent);
|
||||
QCompleter* QCompleter_new6(struct miqt_array* /* of struct miqt_string* */ completions, QObject* parent);
|
||||
QMetaObject* QCompleter_MetaObject(const QCompleter* self);
|
||||
struct miqt_string* QCompleter_Tr(const char* s);
|
||||
struct miqt_string* QCompleter_TrUtf8(const char* s);
|
||||
|
@ -130,7 +130,7 @@ struct miqt_array* QConcatenateTablesProxyModel_MimeTypes(const QConcatenateTabl
|
||||
return _out;
|
||||
}
|
||||
|
||||
QMimeData* QConcatenateTablesProxyModel_MimeData(const QConcatenateTablesProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QConcatenateTablesProxyModel_MimeData(const QConcatenateTablesProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
|
@ -52,7 +52,7 @@ int QConcatenateTablesProxyModel_RowCount(const QConcatenateTablesProxyModel* se
|
||||
QVariant* QConcatenateTablesProxyModel_HeaderData(const QConcatenateTablesProxyModel* self, int section, uintptr_t orientation);
|
||||
int QConcatenateTablesProxyModel_ColumnCount(const QConcatenateTablesProxyModel* self);
|
||||
struct miqt_array* QConcatenateTablesProxyModel_MimeTypes(const QConcatenateTablesProxyModel* self);
|
||||
QMimeData* QConcatenateTablesProxyModel_MimeData(const QConcatenateTablesProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QConcatenateTablesProxyModel_MimeData(const QConcatenateTablesProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QConcatenateTablesProxyModel_CanDropMimeData(const QConcatenateTablesProxyModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
bool QConcatenateTablesProxyModel_DropMimeData(QConcatenateTablesProxyModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
QSize* QConcatenateTablesProxyModel_Span(const QConcatenateTablesProxyModel* self, QModelIndex* index);
|
||||
|
@ -197,7 +197,7 @@ long long QCoreApplication_ApplicationPid() {
|
||||
return QCoreApplication::applicationPid();
|
||||
}
|
||||
|
||||
void QCoreApplication_SetLibraryPaths(struct miqt_array* /* of QString */ libraryPaths) {
|
||||
void QCoreApplication_SetLibraryPaths(struct miqt_array* /* of struct miqt_string* */ libraryPaths) {
|
||||
QList<QString> libraryPaths_QList;
|
||||
libraryPaths_QList.reserve(libraryPaths->len);
|
||||
miqt_string** libraryPaths_arr = static_cast<miqt_string**>(libraryPaths->data);
|
||||
|
@ -67,7 +67,7 @@ bool QCoreApplication_ClosingDown();
|
||||
struct miqt_string* QCoreApplication_ApplicationDirPath();
|
||||
struct miqt_string* QCoreApplication_ApplicationFilePath();
|
||||
long long QCoreApplication_ApplicationPid();
|
||||
void QCoreApplication_SetLibraryPaths(struct miqt_array* /* of QString */ libraryPaths);
|
||||
void QCoreApplication_SetLibraryPaths(struct miqt_array* /* of struct miqt_string* */ libraryPaths);
|
||||
struct miqt_array* QCoreApplication_LibraryPaths();
|
||||
void QCoreApplication_AddLibraryPath(struct miqt_string* param1);
|
||||
void QCoreApplication_RemoveLibraryPath(struct miqt_string* param1);
|
||||
|
@ -84,7 +84,7 @@ void QDir_AddResourceSearchPath(struct miqt_string* path) {
|
||||
QDir::addResourceSearchPath(path_QString);
|
||||
}
|
||||
|
||||
void QDir_SetSearchPaths(struct miqt_string* prefix, struct miqt_array* /* of QString */ searchPaths) {
|
||||
void QDir_SetSearchPaths(struct miqt_string* prefix, struct miqt_array* /* of struct miqt_string* */ searchPaths) {
|
||||
QString prefix_QString = QString::fromUtf8(&prefix->data, prefix->len);
|
||||
QList<QString> searchPaths_QList;
|
||||
searchPaths_QList.reserve(searchPaths->len);
|
||||
@ -190,7 +190,7 @@ struct miqt_array* QDir_NameFilters(const QDir* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QDir_SetNameFilters(QDir* self, struct miqt_array* /* of QString */ nameFilters) {
|
||||
void QDir_SetNameFilters(QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -266,7 +266,7 @@ struct miqt_array* QDir_EntryList(const QDir* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryListWithNameFilters(const QDir* self, struct miqt_array* /* of QString */ nameFilters) {
|
||||
struct miqt_array* QDir_EntryListWithNameFilters(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -301,7 +301,7 @@ struct miqt_array* QDir_EntryInfoList(const QDir* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryInfoListWithNameFilters(const QDir* self, struct miqt_array* /* of QString */ nameFilters) {
|
||||
struct miqt_array* QDir_EntryInfoListWithNameFilters(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -484,7 +484,7 @@ struct miqt_string* QDir_TempPath() {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
bool QDir_Match(struct miqt_array* /* of QString */ filters, struct miqt_string* fileName) {
|
||||
bool QDir_Match(struct miqt_array* /* of struct miqt_string* */ filters, struct miqt_string* fileName) {
|
||||
QList<QString> filters_QList;
|
||||
filters_QList.reserve(filters->len);
|
||||
miqt_string** filters_arr = static_cast<miqt_string**>(filters->data);
|
||||
@ -549,7 +549,7 @@ struct miqt_array* QDir_EntryList2(const QDir* self, int filters, int sort) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryList22(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters) {
|
||||
struct miqt_array* QDir_EntryList22(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -571,7 +571,7 @@ struct miqt_array* QDir_EntryList22(const QDir* self, struct miqt_array* /* of Q
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryList3(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters, int sort) {
|
||||
struct miqt_array* QDir_EntryList3(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -619,7 +619,7 @@ struct miqt_array* QDir_EntryInfoList2(const QDir* self, int filters, int sort)
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryInfoList22(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters) {
|
||||
struct miqt_array* QDir_EntryInfoList22(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -638,7 +638,7 @@ struct miqt_array* QDir_EntryInfoList22(const QDir* self, struct miqt_array* /*
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QDir_EntryInfoList3(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters, int sort) {
|
||||
struct miqt_array* QDir_EntryInfoList3(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
|
@ -37,7 +37,7 @@ struct miqt_string* QDir_Path(const QDir* self);
|
||||
struct miqt_string* QDir_AbsolutePath(const QDir* self);
|
||||
struct miqt_string* QDir_CanonicalPath(const QDir* self);
|
||||
void QDir_AddResourceSearchPath(struct miqt_string* path);
|
||||
void QDir_SetSearchPaths(struct miqt_string* prefix, struct miqt_array* /* of QString */ searchPaths);
|
||||
void QDir_SetSearchPaths(struct miqt_string* prefix, struct miqt_array* /* of struct miqt_string* */ searchPaths);
|
||||
void QDir_AddSearchPath(struct miqt_string* prefix, struct miqt_string* path);
|
||||
struct miqt_array* QDir_SearchPaths(struct miqt_string* prefix);
|
||||
struct miqt_string* QDir_DirName(const QDir* self);
|
||||
@ -49,7 +49,7 @@ struct miqt_string* QDir_FromNativeSeparators(struct miqt_string* pathName);
|
||||
bool QDir_Cd(QDir* self, struct miqt_string* dirName);
|
||||
bool QDir_CdUp(QDir* self);
|
||||
struct miqt_array* QDir_NameFilters(const QDir* self);
|
||||
void QDir_SetNameFilters(QDir* self, struct miqt_array* /* of QString */ nameFilters);
|
||||
void QDir_SetNameFilters(QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters);
|
||||
int QDir_Filter(const QDir* self);
|
||||
void QDir_SetFilter(QDir* self, int filter);
|
||||
int QDir_Sorting(const QDir* self);
|
||||
@ -59,9 +59,9 @@ bool QDir_IsEmpty(const QDir* self);
|
||||
struct miqt_string* QDir_OperatorSubscript(const QDir* self, int param1);
|
||||
struct miqt_array* QDir_NameFiltersFromString(struct miqt_string* nameFilter);
|
||||
struct miqt_array* QDir_EntryList(const QDir* self);
|
||||
struct miqt_array* QDir_EntryListWithNameFilters(const QDir* self, struct miqt_array* /* of QString */ nameFilters);
|
||||
struct miqt_array* QDir_EntryListWithNameFilters(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters);
|
||||
struct miqt_array* QDir_EntryInfoList(const QDir* self);
|
||||
struct miqt_array* QDir_EntryInfoListWithNameFilters(const QDir* self, struct miqt_array* /* of QString */ nameFilters);
|
||||
struct miqt_array* QDir_EntryInfoListWithNameFilters(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters);
|
||||
bool QDir_Mkdir(const QDir* self, struct miqt_string* dirName);
|
||||
bool QDir_Rmdir(const QDir* self, struct miqt_string* dirName);
|
||||
bool QDir_Mkpath(const QDir* self, struct miqt_string* dirPath);
|
||||
@ -92,19 +92,19 @@ QDir* QDir_Root();
|
||||
struct miqt_string* QDir_RootPath();
|
||||
QDir* QDir_Temp();
|
||||
struct miqt_string* QDir_TempPath();
|
||||
bool QDir_Match(struct miqt_array* /* of QString */ filters, struct miqt_string* fileName);
|
||||
bool QDir_Match(struct miqt_array* /* of struct miqt_string* */ filters, struct miqt_string* fileName);
|
||||
bool QDir_Match2(struct miqt_string* filter, struct miqt_string* fileName);
|
||||
struct miqt_string* QDir_CleanPath(struct miqt_string* path);
|
||||
void QDir_Refresh(const QDir* self);
|
||||
bool QDir_IsEmpty1(const QDir* self, int filters);
|
||||
struct miqt_array* QDir_EntryList1(const QDir* self, int filters);
|
||||
struct miqt_array* QDir_EntryList2(const QDir* self, int filters, int sort);
|
||||
struct miqt_array* QDir_EntryList22(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters);
|
||||
struct miqt_array* QDir_EntryList3(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters, int sort);
|
||||
struct miqt_array* QDir_EntryList22(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters);
|
||||
struct miqt_array* QDir_EntryList3(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort);
|
||||
struct miqt_array* QDir_EntryInfoList1(const QDir* self, int filters);
|
||||
struct miqt_array* QDir_EntryInfoList2(const QDir* self, int filters, int sort);
|
||||
struct miqt_array* QDir_EntryInfoList22(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters);
|
||||
struct miqt_array* QDir_EntryInfoList3(const QDir* self, struct miqt_array* /* of QString */ nameFilters, int filters, int sort);
|
||||
struct miqt_array* QDir_EntryInfoList22(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters);
|
||||
struct miqt_array* QDir_EntryInfoList3(const QDir* self, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort);
|
||||
void QDir_Delete(QDir* self);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -23,7 +23,7 @@ QDirIterator* QDirIterator_new3(struct miqt_string* path, int filter) {
|
||||
return new QDirIterator(path_QString, static_cast<QDir::Filters>(filter));
|
||||
}
|
||||
|
||||
QDirIterator* QDirIterator_new4(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters) {
|
||||
QDirIterator* QDirIterator_new4(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters) {
|
||||
QString path_QString = QString::fromUtf8(&path->data, path->len);
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
@ -48,7 +48,7 @@ QDirIterator* QDirIterator_new7(struct miqt_string* path, int filter, int flags)
|
||||
return new QDirIterator(path_QString, static_cast<QDir::Filters>(filter), static_cast<QDirIterator::IteratorFlags>(flags));
|
||||
}
|
||||
|
||||
QDirIterator* QDirIterator_new8(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters, int filters) {
|
||||
QDirIterator* QDirIterator_new8(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters) {
|
||||
QString path_QString = QString::fromUtf8(&path->data, path->len);
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
@ -59,7 +59,7 @@ QDirIterator* QDirIterator_new8(struct miqt_string* path, struct miqt_array* /*
|
||||
return new QDirIterator(path_QString, nameFilters_QList, static_cast<QDir::Filters>(filters));
|
||||
}
|
||||
|
||||
QDirIterator* QDirIterator_new9(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters, int filters, int flags) {
|
||||
QDirIterator* QDirIterator_new9(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int flags) {
|
||||
QString path_QString = QString::fromUtf8(&path->data, path->len);
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
|
@ -26,12 +26,12 @@ typedef struct QFileInfo QFileInfo;
|
||||
QDirIterator* QDirIterator_new(QDir* dir);
|
||||
QDirIterator* QDirIterator_new2(struct miqt_string* path);
|
||||
QDirIterator* QDirIterator_new3(struct miqt_string* path, int filter);
|
||||
QDirIterator* QDirIterator_new4(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters);
|
||||
QDirIterator* QDirIterator_new4(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters);
|
||||
QDirIterator* QDirIterator_new5(QDir* dir, int flags);
|
||||
QDirIterator* QDirIterator_new6(struct miqt_string* path, int flags);
|
||||
QDirIterator* QDirIterator_new7(struct miqt_string* path, int filter, int flags);
|
||||
QDirIterator* QDirIterator_new8(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters, int filters);
|
||||
QDirIterator* QDirIterator_new9(struct miqt_string* path, struct miqt_array* /* of QString */ nameFilters, int filters, int flags);
|
||||
QDirIterator* QDirIterator_new8(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters);
|
||||
QDirIterator* QDirIterator_new9(struct miqt_string* path, struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int flags);
|
||||
struct miqt_string* QDirIterator_Next(QDirIterator* self);
|
||||
bool QDirIterator_HasNext(const QDirIterator* self);
|
||||
struct miqt_string* QDirIterator_FileName(const QDirIterator* self);
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "gen_qdirmodel.h"
|
||||
#include "_cgo_export.h"
|
||||
|
||||
QDirModel* QDirModel_new(struct miqt_array* /* of QString */ nameFilters, int filters, int sort) {
|
||||
QDirModel* QDirModel_new(struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -29,7 +29,7 @@ QDirModel* QDirModel_new2() {
|
||||
return new QDirModel();
|
||||
}
|
||||
|
||||
QDirModel* QDirModel_new3(struct miqt_array* /* of QString */ nameFilters, int filters, int sort, QObject* parent) {
|
||||
QDirModel* QDirModel_new3(struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort, QObject* parent) {
|
||||
QList<QString> nameFilters_QList;
|
||||
nameFilters_QList.reserve(nameFilters->len);
|
||||
miqt_string** nameFilters_arr = static_cast<miqt_string**>(nameFilters->data);
|
||||
@ -126,7 +126,7 @@ struct miqt_array* QDirModel_MimeTypes(const QDirModel* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
QMimeData* QDirModel_MimeData(const QDirModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QDirModel_MimeData(const QDirModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
@ -153,7 +153,7 @@ QFileIconProvider* QDirModel_IconProvider(const QDirModel* self) {
|
||||
return self->iconProvider();
|
||||
}
|
||||
|
||||
void QDirModel_SetNameFilters(QDirModel* self, struct miqt_array* /* of QString */ filters) {
|
||||
void QDirModel_SetNameFilters(QDirModel* self, struct miqt_array* /* of struct miqt_string* */ filters) {
|
||||
QList<QString> filters_QList;
|
||||
filters_QList.reserve(filters->len);
|
||||
miqt_string** filters_arr = static_cast<miqt_string**>(filters->data);
|
||||
|
@ -35,9 +35,9 @@ typedef struct QObject QObject;
|
||||
typedef struct QVariant QVariant;
|
||||
#endif
|
||||
|
||||
QDirModel* QDirModel_new(struct miqt_array* /* of QString */ nameFilters, int filters, int sort);
|
||||
QDirModel* QDirModel_new(struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort);
|
||||
QDirModel* QDirModel_new2();
|
||||
QDirModel* QDirModel_new3(struct miqt_array* /* of QString */ nameFilters, int filters, int sort, QObject* parent);
|
||||
QDirModel* QDirModel_new3(struct miqt_array* /* of struct miqt_string* */ nameFilters, int filters, int sort, QObject* parent);
|
||||
QDirModel* QDirModel_new4(QObject* parent);
|
||||
QMetaObject* QDirModel_MetaObject(const QDirModel* self);
|
||||
struct miqt_string* QDirModel_Tr(const char* s);
|
||||
@ -53,12 +53,12 @@ bool QDirModel_HasChildren(const QDirModel* self);
|
||||
int QDirModel_Flags(const QDirModel* self, QModelIndex* index);
|
||||
void QDirModel_Sort(QDirModel* self, int column);
|
||||
struct miqt_array* QDirModel_MimeTypes(const QDirModel* self);
|
||||
QMimeData* QDirModel_MimeData(const QDirModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QDirModel_MimeData(const QDirModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QDirModel_DropMimeData(QDirModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
int QDirModel_SupportedDropActions(const QDirModel* self);
|
||||
void QDirModel_SetIconProvider(QDirModel* self, QFileIconProvider* provider);
|
||||
QFileIconProvider* QDirModel_IconProvider(const QDirModel* self);
|
||||
void QDirModel_SetNameFilters(QDirModel* self, struct miqt_array* /* of QString */ filters);
|
||||
void QDirModel_SetNameFilters(QDirModel* self, struct miqt_array* /* of struct miqt_string* */ filters);
|
||||
struct miqt_array* QDirModel_NameFilters(const QDirModel* self);
|
||||
void QDirModel_SetFilter(QDirModel* self, int filters);
|
||||
int QDirModel_Filter(const QDirModel* self);
|
||||
|
@ -952,7 +952,7 @@ QInputMethodEvent* QInputMethodEvent_new() {
|
||||
return new QInputMethodEvent();
|
||||
}
|
||||
|
||||
QInputMethodEvent* QInputMethodEvent_new2(struct miqt_string* preeditText, struct miqt_array* /* of QInputMethodEvent__Attribute */ attributes) {
|
||||
QInputMethodEvent* QInputMethodEvent_new2(struct miqt_string* preeditText, struct miqt_array* /* of QInputMethodEvent__Attribute* */ attributes) {
|
||||
QString preeditText_QString = QString::fromUtf8(&preeditText->data, preeditText->len);
|
||||
QList<QInputMethodEvent::Attribute> attributes_QList;
|
||||
attributes_QList.reserve(attributes->len);
|
||||
@ -1433,7 +1433,7 @@ QTouchEvent* QTouchEvent_new5(uintptr_t eventType, QTouchDevice* device, int mod
|
||||
return new QTouchEvent(static_cast<QEvent::Type>(eventType), device, static_cast<Qt::KeyboardModifiers>(modifiers), static_cast<Qt::TouchPointStates>(touchPointStates));
|
||||
}
|
||||
|
||||
QTouchEvent* QTouchEvent_new6(uintptr_t eventType, QTouchDevice* device, int modifiers, int touchPointStates, struct miqt_array* /* of QTouchEvent__TouchPoint */ touchPoints) {
|
||||
QTouchEvent* QTouchEvent_new6(uintptr_t eventType, QTouchDevice* device, int modifiers, int touchPointStates, struct miqt_array* /* of QTouchEvent__TouchPoint* */ touchPoints) {
|
||||
QList<QTouchEvent::TouchPoint> touchPoints_QList;
|
||||
touchPoints_QList.reserve(touchPoints->len);
|
||||
QTouchEvent__TouchPoint** touchPoints_arr = static_cast<QTouchEvent__TouchPoint**>(touchPoints->data);
|
||||
@ -1472,7 +1472,7 @@ void QTouchEvent_SetTouchPointStates(QTouchEvent* self, int aTouchPointStates) {
|
||||
self->setTouchPointStates(static_cast<Qt::TouchPointStates>(aTouchPointStates));
|
||||
}
|
||||
|
||||
void QTouchEvent_SetTouchPoints(QTouchEvent* self, struct miqt_array* /* of QTouchEvent__TouchPoint */ atouchPoints) {
|
||||
void QTouchEvent_SetTouchPoints(QTouchEvent* self, struct miqt_array* /* of QTouchEvent__TouchPoint* */ atouchPoints) {
|
||||
QList<QTouchEvent::TouchPoint> atouchPoints_QList;
|
||||
atouchPoints_QList.reserve(atouchPoints->len);
|
||||
QTouchEvent__TouchPoint** atouchPoints_arr = static_cast<QTouchEvent__TouchPoint**>(atouchPoints->data);
|
||||
@ -1872,7 +1872,7 @@ void QTouchEvent__TouchPoint_SetFlags(QTouchEvent__TouchPoint* self, int flags)
|
||||
self->setFlags(static_cast<QTouchEvent::TouchPoint::InfoFlags>(flags));
|
||||
}
|
||||
|
||||
void QTouchEvent__TouchPoint_SetRawScreenPositions(QTouchEvent__TouchPoint* self, struct miqt_array* /* of QPointF */ positions) {
|
||||
void QTouchEvent__TouchPoint_SetRawScreenPositions(QTouchEvent__TouchPoint* self, struct miqt_array* /* of QPointF* */ positions) {
|
||||
QVector<QPointF> positions_QList;
|
||||
positions_QList.reserve(positions->len);
|
||||
QPointF** positions_arr = static_cast<QPointF**>(positions->data);
|
||||
|
@ -357,7 +357,7 @@ uintptr_t QContextMenuEvent_Reason(const QContextMenuEvent* self);
|
||||
void QContextMenuEvent_Delete(QContextMenuEvent* self);
|
||||
|
||||
QInputMethodEvent* QInputMethodEvent_new();
|
||||
QInputMethodEvent* QInputMethodEvent_new2(struct miqt_string* preeditText, struct miqt_array* /* of QInputMethodEvent__Attribute */ attributes);
|
||||
QInputMethodEvent* QInputMethodEvent_new2(struct miqt_string* preeditText, struct miqt_array* /* of QInputMethodEvent__Attribute* */ attributes);
|
||||
QInputMethodEvent* QInputMethodEvent_new3(QInputMethodEvent* other);
|
||||
void QInputMethodEvent_SetCommitString(QInputMethodEvent* self, struct miqt_string* commitString);
|
||||
struct miqt_string* QInputMethodEvent_PreeditString(const QInputMethodEvent* self);
|
||||
@ -479,7 +479,7 @@ QTouchEvent* QTouchEvent_new2(QTouchEvent* param1);
|
||||
QTouchEvent* QTouchEvent_new3(uintptr_t eventType, QTouchDevice* device);
|
||||
QTouchEvent* QTouchEvent_new4(uintptr_t eventType, QTouchDevice* device, int modifiers);
|
||||
QTouchEvent* QTouchEvent_new5(uintptr_t eventType, QTouchDevice* device, int modifiers, int touchPointStates);
|
||||
QTouchEvent* QTouchEvent_new6(uintptr_t eventType, QTouchDevice* device, int modifiers, int touchPointStates, struct miqt_array* /* of QTouchEvent__TouchPoint */ touchPoints);
|
||||
QTouchEvent* QTouchEvent_new6(uintptr_t eventType, QTouchDevice* device, int modifiers, int touchPointStates, struct miqt_array* /* of QTouchEvent__TouchPoint* */ touchPoints);
|
||||
QWindow* QTouchEvent_Window(const QTouchEvent* self);
|
||||
QObject* QTouchEvent_Target(const QTouchEvent* self);
|
||||
int QTouchEvent_TouchPointStates(const QTouchEvent* self);
|
||||
@ -487,7 +487,7 @@ QTouchDevice* QTouchEvent_Device(const QTouchEvent* self);
|
||||
void QTouchEvent_SetWindow(QTouchEvent* self, QWindow* awindow);
|
||||
void QTouchEvent_SetTarget(QTouchEvent* self, QObject* atarget);
|
||||
void QTouchEvent_SetTouchPointStates(QTouchEvent* self, int aTouchPointStates);
|
||||
void QTouchEvent_SetTouchPoints(QTouchEvent* self, struct miqt_array* /* of QTouchEvent__TouchPoint */ atouchPoints);
|
||||
void QTouchEvent_SetTouchPoints(QTouchEvent* self, struct miqt_array* /* of QTouchEvent__TouchPoint* */ atouchPoints);
|
||||
void QTouchEvent_SetDevice(QTouchEvent* self, QTouchDevice* adevice);
|
||||
void QTouchEvent_Delete(QTouchEvent* self);
|
||||
|
||||
@ -576,7 +576,7 @@ void QTouchEvent__TouchPoint_SetRotation(QTouchEvent__TouchPoint* self, double a
|
||||
void QTouchEvent__TouchPoint_SetEllipseDiameters(QTouchEvent__TouchPoint* self, QSizeF* dia);
|
||||
void QTouchEvent__TouchPoint_SetVelocity(QTouchEvent__TouchPoint* self, QVector2D* v);
|
||||
void QTouchEvent__TouchPoint_SetFlags(QTouchEvent__TouchPoint* self, int flags);
|
||||
void QTouchEvent__TouchPoint_SetRawScreenPositions(QTouchEvent__TouchPoint* self, struct miqt_array* /* of QPointF */ positions);
|
||||
void QTouchEvent__TouchPoint_SetRawScreenPositions(QTouchEvent__TouchPoint* self, struct miqt_array* /* of QPointF* */ positions);
|
||||
void QTouchEvent__TouchPoint_Delete(QTouchEvent__TouchPoint* self);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -139,7 +139,7 @@ void QFileDialog_SetNameFilter(QFileDialog* self, struct miqt_string* filter) {
|
||||
self->setNameFilter(filter_QString);
|
||||
}
|
||||
|
||||
void QFileDialog_SetNameFilters(QFileDialog* self, struct miqt_array* /* of QString */ filters) {
|
||||
void QFileDialog_SetNameFilters(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ filters) {
|
||||
QList<QString> filters_QList;
|
||||
filters_QList.reserve(filters->len);
|
||||
miqt_string** filters_arr = static_cast<miqt_string**>(filters->data);
|
||||
@ -184,7 +184,7 @@ struct miqt_string* QFileDialog_SelectedNameFilter(const QFileDialog* self) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QFileDialog_SetMimeTypeFilters(QFileDialog* self, struct miqt_array* /* of QString */ filters) {
|
||||
void QFileDialog_SetMimeTypeFilters(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ filters) {
|
||||
QList<QString> filters_QList;
|
||||
filters_QList.reserve(filters->len);
|
||||
miqt_string** filters_arr = static_cast<miqt_string**>(filters->data);
|
||||
@ -267,7 +267,7 @@ bool QFileDialog_ResolveSymlinks(const QFileDialog* self) {
|
||||
return self->resolveSymlinks();
|
||||
}
|
||||
|
||||
void QFileDialog_SetSidebarUrls(QFileDialog* self, struct miqt_array* /* of QUrl */ urls) {
|
||||
void QFileDialog_SetSidebarUrls(QFileDialog* self, struct miqt_array* /* of QUrl* */ urls) {
|
||||
QList<QUrl> urls_QList;
|
||||
urls_QList.reserve(urls->len);
|
||||
QUrl** urls_arr = static_cast<QUrl**>(urls->data);
|
||||
@ -320,7 +320,7 @@ struct miqt_string* QFileDialog_DefaultSuffix(const QFileDialog* self) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QFileDialog_SetHistory(QFileDialog* self, struct miqt_array* /* of QString */ paths) {
|
||||
void QFileDialog_SetHistory(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ paths) {
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
miqt_string** paths_arr = static_cast<miqt_string**>(paths->data);
|
||||
@ -374,7 +374,7 @@ struct miqt_string* QFileDialog_LabelText(const QFileDialog* self, uintptr_t lab
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QFileDialog_SetSupportedSchemes(QFileDialog* self, struct miqt_array* /* of QString */ schemes) {
|
||||
void QFileDialog_SetSupportedSchemes(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ schemes) {
|
||||
QList<QString> schemes_QList;
|
||||
schemes_QList.reserve(schemes->len);
|
||||
miqt_string** schemes_arr = static_cast<miqt_string**>(schemes->data);
|
||||
@ -444,7 +444,7 @@ void QFileDialog_connect_FileSelected(QFileDialog* self, void* slot) {
|
||||
});
|
||||
}
|
||||
|
||||
void QFileDialog_FilesSelected(QFileDialog* self, struct miqt_array* /* of QString */ files) {
|
||||
void QFileDialog_FilesSelected(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ files) {
|
||||
QList<QString> files_QList;
|
||||
files_QList.reserve(files->len);
|
||||
miqt_string** files_arr = static_cast<miqt_string**>(files->data);
|
||||
@ -516,7 +516,7 @@ void QFileDialog_connect_UrlSelected(QFileDialog* self, void* slot) {
|
||||
});
|
||||
}
|
||||
|
||||
void QFileDialog_UrlsSelected(QFileDialog* self, struct miqt_array* /* of QUrl */ urls) {
|
||||
void QFileDialog_UrlsSelected(QFileDialog* self, struct miqt_array* /* of QUrl* */ urls) {
|
||||
QList<QUrl> urls_QList;
|
||||
urls_QList.reserve(urls->len);
|
||||
QUrl** urls_arr = static_cast<QUrl**>(urls->data);
|
||||
@ -871,7 +871,7 @@ QUrl* QFileDialog_GetExistingDirectoryUrl4(QWidget* parent, struct miqt_string*
|
||||
return static_cast<QUrl*>(new QUrl(_ret));
|
||||
}
|
||||
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl5(QWidget* parent, struct miqt_string* caption, QUrl* dir, int options, struct miqt_array* /* of QString */ supportedSchemes) {
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl5(QWidget* parent, struct miqt_string* caption, QUrl* dir, int options, struct miqt_array* /* of struct miqt_string* */ supportedSchemes) {
|
||||
QString caption_QString = QString::fromUtf8(&caption->data, caption->len);
|
||||
QList<QString> supportedSchemes_QList;
|
||||
supportedSchemes_QList.reserve(supportedSchemes->len);
|
||||
|
@ -56,12 +56,12 @@ struct miqt_array* QFileDialog_SelectedUrls(const QFileDialog* self);
|
||||
void QFileDialog_SetNameFilterDetailsVisible(QFileDialog* self, bool enabled);
|
||||
bool QFileDialog_IsNameFilterDetailsVisible(const QFileDialog* self);
|
||||
void QFileDialog_SetNameFilter(QFileDialog* self, struct miqt_string* filter);
|
||||
void QFileDialog_SetNameFilters(QFileDialog* self, struct miqt_array* /* of QString */ filters);
|
||||
void QFileDialog_SetNameFilters(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ filters);
|
||||
struct miqt_array* QFileDialog_NameFilters(const QFileDialog* self);
|
||||
void QFileDialog_SelectNameFilter(QFileDialog* self, struct miqt_string* filter);
|
||||
struct miqt_string* QFileDialog_SelectedMimeTypeFilter(const QFileDialog* self);
|
||||
struct miqt_string* QFileDialog_SelectedNameFilter(const QFileDialog* self);
|
||||
void QFileDialog_SetMimeTypeFilters(QFileDialog* self, struct miqt_array* /* of QString */ filters);
|
||||
void QFileDialog_SetMimeTypeFilters(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ filters);
|
||||
struct miqt_array* QFileDialog_MimeTypeFilters(const QFileDialog* self);
|
||||
void QFileDialog_SelectMimeTypeFilter(QFileDialog* self, struct miqt_string* filter);
|
||||
int QFileDialog_Filter(const QFileDialog* self);
|
||||
@ -76,7 +76,7 @@ void QFileDialog_SetReadOnly(QFileDialog* self, bool enabled);
|
||||
bool QFileDialog_IsReadOnly(const QFileDialog* self);
|
||||
void QFileDialog_SetResolveSymlinks(QFileDialog* self, bool enabled);
|
||||
bool QFileDialog_ResolveSymlinks(const QFileDialog* self);
|
||||
void QFileDialog_SetSidebarUrls(QFileDialog* self, struct miqt_array* /* of QUrl */ urls);
|
||||
void QFileDialog_SetSidebarUrls(QFileDialog* self, struct miqt_array* /* of QUrl* */ urls);
|
||||
struct miqt_array* QFileDialog_SidebarUrls(const QFileDialog* self);
|
||||
QByteArray* QFileDialog_SaveState(const QFileDialog* self);
|
||||
bool QFileDialog_RestoreState(QFileDialog* self, QByteArray* state);
|
||||
@ -84,7 +84,7 @@ void QFileDialog_SetConfirmOverwrite(QFileDialog* self, bool enabled);
|
||||
bool QFileDialog_ConfirmOverwrite(const QFileDialog* self);
|
||||
void QFileDialog_SetDefaultSuffix(QFileDialog* self, struct miqt_string* suffix);
|
||||
struct miqt_string* QFileDialog_DefaultSuffix(const QFileDialog* self);
|
||||
void QFileDialog_SetHistory(QFileDialog* self, struct miqt_array* /* of QString */ paths);
|
||||
void QFileDialog_SetHistory(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ paths);
|
||||
struct miqt_array* QFileDialog_History(const QFileDialog* self);
|
||||
void QFileDialog_SetItemDelegate(QFileDialog* self, QAbstractItemDelegate* delegate);
|
||||
QAbstractItemDelegate* QFileDialog_ItemDelegate(const QFileDialog* self);
|
||||
@ -92,7 +92,7 @@ void QFileDialog_SetIconProvider(QFileDialog* self, QFileIconProvider* provider)
|
||||
QFileIconProvider* QFileDialog_IconProvider(const QFileDialog* self);
|
||||
void QFileDialog_SetLabelText(QFileDialog* self, uintptr_t label, struct miqt_string* text);
|
||||
struct miqt_string* QFileDialog_LabelText(const QFileDialog* self, uintptr_t label);
|
||||
void QFileDialog_SetSupportedSchemes(QFileDialog* self, struct miqt_array* /* of QString */ schemes);
|
||||
void QFileDialog_SetSupportedSchemes(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ schemes);
|
||||
struct miqt_array* QFileDialog_SupportedSchemes(const QFileDialog* self);
|
||||
void QFileDialog_SetProxyModel(QFileDialog* self, QAbstractProxyModel* model);
|
||||
QAbstractProxyModel* QFileDialog_ProxyModel(const QFileDialog* self);
|
||||
@ -103,7 +103,7 @@ int QFileDialog_Options(const QFileDialog* self);
|
||||
void QFileDialog_SetVisible(QFileDialog* self, bool visible);
|
||||
void QFileDialog_FileSelected(QFileDialog* self, struct miqt_string* file);
|
||||
void QFileDialog_connect_FileSelected(QFileDialog* self, void* slot);
|
||||
void QFileDialog_FilesSelected(QFileDialog* self, struct miqt_array* /* of QString */ files);
|
||||
void QFileDialog_FilesSelected(QFileDialog* self, struct miqt_array* /* of struct miqt_string* */ files);
|
||||
void QFileDialog_connect_FilesSelected(QFileDialog* self, void* slot);
|
||||
void QFileDialog_CurrentChanged(QFileDialog* self, struct miqt_string* path);
|
||||
void QFileDialog_connect_CurrentChanged(QFileDialog* self, void* slot);
|
||||
@ -111,7 +111,7 @@ void QFileDialog_DirectoryEntered(QFileDialog* self, struct miqt_string* directo
|
||||
void QFileDialog_connect_DirectoryEntered(QFileDialog* self, void* slot);
|
||||
void QFileDialog_UrlSelected(QFileDialog* self, QUrl* url);
|
||||
void QFileDialog_connect_UrlSelected(QFileDialog* self, void* slot);
|
||||
void QFileDialog_UrlsSelected(QFileDialog* self, struct miqt_array* /* of QUrl */ urls);
|
||||
void QFileDialog_UrlsSelected(QFileDialog* self, struct miqt_array* /* of QUrl* */ urls);
|
||||
void QFileDialog_connect_UrlsSelected(QFileDialog* self, void* slot);
|
||||
void QFileDialog_CurrentUrlChanged(QFileDialog* self, QUrl* url);
|
||||
void QFileDialog_connect_CurrentUrlChanged(QFileDialog* self, void* slot);
|
||||
@ -157,7 +157,7 @@ QUrl* QFileDialog_GetExistingDirectoryUrl1(QWidget* parent);
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl2(QWidget* parent, struct miqt_string* caption);
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl3(QWidget* parent, struct miqt_string* caption, QUrl* dir);
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl4(QWidget* parent, struct miqt_string* caption, QUrl* dir, int options);
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl5(QWidget* parent, struct miqt_string* caption, QUrl* dir, int options, struct miqt_array* /* of QString */ supportedSchemes);
|
||||
QUrl* QFileDialog_GetExistingDirectoryUrl5(QWidget* parent, struct miqt_string* caption, QUrl* dir, int options, struct miqt_array* /* of struct miqt_string* */ supportedSchemes);
|
||||
struct miqt_array* QFileDialog_GetOpenFileNames1(QWidget* parent);
|
||||
struct miqt_array* QFileDialog_GetOpenFileNames2(QWidget* parent, struct miqt_string* caption);
|
||||
struct miqt_array* QFileDialog_GetOpenFileNames3(QWidget* parent, struct miqt_string* caption, struct miqt_string* dir);
|
||||
|
@ -66,7 +66,7 @@ struct miqt_array* QFileSelector_ExtraSelectors(const QFileSelector* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QFileSelector_SetExtraSelectors(QFileSelector* self, struct miqt_array* /* of QString */ list) {
|
||||
void QFileSelector_SetExtraSelectors(QFileSelector* self, struct miqt_array* /* of struct miqt_string* */ list) {
|
||||
QList<QString> list_QList;
|
||||
list_QList.reserve(list->len);
|
||||
miqt_string** list_arr = static_cast<miqt_string**>(list->data);
|
||||
|
@ -33,7 +33,7 @@ struct miqt_string* QFileSelector_TrUtf8(const char* s);
|
||||
struct miqt_string* QFileSelector_Select(const QFileSelector* self, struct miqt_string* filePath);
|
||||
QUrl* QFileSelector_SelectWithFilePath(const QFileSelector* self, QUrl* filePath);
|
||||
struct miqt_array* QFileSelector_ExtraSelectors(const QFileSelector* self);
|
||||
void QFileSelector_SetExtraSelectors(QFileSelector* self, struct miqt_array* /* of QString */ list);
|
||||
void QFileSelector_SetExtraSelectors(QFileSelector* self, struct miqt_array* /* of struct miqt_string* */ list);
|
||||
struct miqt_array* QFileSelector_AllSelectors(const QFileSelector* self);
|
||||
struct miqt_string* QFileSelector_Tr2(const char* s, const char* c);
|
||||
struct miqt_string* QFileSelector_Tr3(const char* s, const char* c, int n);
|
||||
|
@ -190,7 +190,7 @@ struct miqt_array* QFileSystemModel_MimeTypes(const QFileSystemModel* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
QMimeData* QFileSystemModel_MimeData(const QFileSystemModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QFileSystemModel_MimeData(const QFileSystemModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
@ -270,7 +270,7 @@ bool QFileSystemModel_NameFilterDisables(const QFileSystemModel* self) {
|
||||
return self->nameFilterDisables();
|
||||
}
|
||||
|
||||
void QFileSystemModel_SetNameFilters(QFileSystemModel* self, struct miqt_array* /* of QString */ filters) {
|
||||
void QFileSystemModel_SetNameFilters(QFileSystemModel* self, struct miqt_array* /* of struct miqt_string* */ filters) {
|
||||
QList<QString> filters_QList;
|
||||
filters_QList.reserve(filters->len);
|
||||
miqt_string** filters_arr = static_cast<miqt_string**>(filters->data);
|
||||
|
@ -66,7 +66,7 @@ QVariant* QFileSystemModel_HeaderData(const QFileSystemModel* self, int section,
|
||||
int QFileSystemModel_Flags(const QFileSystemModel* self, QModelIndex* index);
|
||||
void QFileSystemModel_Sort(QFileSystemModel* self, int column);
|
||||
struct miqt_array* QFileSystemModel_MimeTypes(const QFileSystemModel* self);
|
||||
QMimeData* QFileSystemModel_MimeData(const QFileSystemModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QFileSystemModel_MimeData(const QFileSystemModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QFileSystemModel_DropMimeData(QFileSystemModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
int QFileSystemModel_SupportedDropActions(const QFileSystemModel* self);
|
||||
QModelIndex* QFileSystemModel_SetRootPath(QFileSystemModel* self, struct miqt_string* path);
|
||||
@ -82,7 +82,7 @@ void QFileSystemModel_SetReadOnly(QFileSystemModel* self, bool enable);
|
||||
bool QFileSystemModel_IsReadOnly(const QFileSystemModel* self);
|
||||
void QFileSystemModel_SetNameFilterDisables(QFileSystemModel* self, bool enable);
|
||||
bool QFileSystemModel_NameFilterDisables(const QFileSystemModel* self);
|
||||
void QFileSystemModel_SetNameFilters(QFileSystemModel* self, struct miqt_array* /* of QString */ filters);
|
||||
void QFileSystemModel_SetNameFilters(QFileSystemModel* self, struct miqt_array* /* of struct miqt_string* */ filters);
|
||||
struct miqt_array* QFileSystemModel_NameFilters(const QFileSystemModel* self);
|
||||
void QFileSystemModel_SetOption(QFileSystemModel* self, uintptr_t option);
|
||||
bool QFileSystemModel_TestOption(const QFileSystemModel* self, uintptr_t option);
|
||||
|
@ -13,7 +13,7 @@ QFileSystemWatcher* QFileSystemWatcher_new() {
|
||||
return new QFileSystemWatcher();
|
||||
}
|
||||
|
||||
QFileSystemWatcher* QFileSystemWatcher_new2(struct miqt_array* /* of QString */ paths) {
|
||||
QFileSystemWatcher* QFileSystemWatcher_new2(struct miqt_array* /* of struct miqt_string* */ paths) {
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
miqt_string** paths_arr = static_cast<miqt_string**>(paths->data);
|
||||
@ -27,7 +27,7 @@ QFileSystemWatcher* QFileSystemWatcher_new3(QObject* parent) {
|
||||
return new QFileSystemWatcher(parent);
|
||||
}
|
||||
|
||||
QFileSystemWatcher* QFileSystemWatcher_new4(struct miqt_array* /* of QString */ paths, QObject* parent) {
|
||||
QFileSystemWatcher* QFileSystemWatcher_new4(struct miqt_array* /* of struct miqt_string* */ paths, QObject* parent) {
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
miqt_string** paths_arr = static_cast<miqt_string**>(paths->data);
|
||||
@ -60,7 +60,7 @@ bool QFileSystemWatcher_AddPath(QFileSystemWatcher* self, struct miqt_string* fi
|
||||
return self->addPath(file_QString);
|
||||
}
|
||||
|
||||
struct miqt_array* QFileSystemWatcher_AddPaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files) {
|
||||
struct miqt_array* QFileSystemWatcher_AddPaths(QFileSystemWatcher* self, struct miqt_array* /* of struct miqt_string* */ files) {
|
||||
QList<QString> files_QList;
|
||||
files_QList.reserve(files->len);
|
||||
miqt_string** files_arr = static_cast<miqt_string**>(files->data);
|
||||
@ -87,7 +87,7 @@ bool QFileSystemWatcher_RemovePath(QFileSystemWatcher* self, struct miqt_string*
|
||||
return self->removePath(file_QString);
|
||||
}
|
||||
|
||||
struct miqt_array* QFileSystemWatcher_RemovePaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files) {
|
||||
struct miqt_array* QFileSystemWatcher_RemovePaths(QFileSystemWatcher* self, struct miqt_array* /* of struct miqt_string* */ files) {
|
||||
QList<QString> files_QList;
|
||||
files_QList.reserve(files->len);
|
||||
miqt_string** files_arr = static_cast<miqt_string**>(files->data);
|
||||
|
@ -24,16 +24,16 @@ typedef struct QObject QObject;
|
||||
#endif
|
||||
|
||||
QFileSystemWatcher* QFileSystemWatcher_new();
|
||||
QFileSystemWatcher* QFileSystemWatcher_new2(struct miqt_array* /* of QString */ paths);
|
||||
QFileSystemWatcher* QFileSystemWatcher_new2(struct miqt_array* /* of struct miqt_string* */ paths);
|
||||
QFileSystemWatcher* QFileSystemWatcher_new3(QObject* parent);
|
||||
QFileSystemWatcher* QFileSystemWatcher_new4(struct miqt_array* /* of QString */ paths, QObject* parent);
|
||||
QFileSystemWatcher* QFileSystemWatcher_new4(struct miqt_array* /* of struct miqt_string* */ paths, QObject* parent);
|
||||
QMetaObject* QFileSystemWatcher_MetaObject(const QFileSystemWatcher* self);
|
||||
struct miqt_string* QFileSystemWatcher_Tr(const char* s);
|
||||
struct miqt_string* QFileSystemWatcher_TrUtf8(const char* s);
|
||||
bool QFileSystemWatcher_AddPath(QFileSystemWatcher* self, struct miqt_string* file);
|
||||
struct miqt_array* QFileSystemWatcher_AddPaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files);
|
||||
struct miqt_array* QFileSystemWatcher_AddPaths(QFileSystemWatcher* self, struct miqt_array* /* of struct miqt_string* */ files);
|
||||
bool QFileSystemWatcher_RemovePath(QFileSystemWatcher* self, struct miqt_string* file);
|
||||
struct miqt_array* QFileSystemWatcher_RemovePaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files);
|
||||
struct miqt_array* QFileSystemWatcher_RemovePaths(QFileSystemWatcher* self, struct miqt_array* /* of struct miqt_string* */ files);
|
||||
struct miqt_array* QFileSystemWatcher_Files(const QFileSystemWatcher* self);
|
||||
struct miqt_array* QFileSystemWatcher_Directories(const QFileSystemWatcher* self);
|
||||
struct miqt_string* QFileSystemWatcher_Tr2(const char* s, const char* c);
|
||||
|
@ -76,7 +76,7 @@ struct miqt_array* QFont_Families(const QFont* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QFont_SetFamilies(QFont* self, struct miqt_array* /* of QString */ families) {
|
||||
void QFont_SetFamilies(QFont* self, struct miqt_array* /* of struct miqt_string* */ families) {
|
||||
QList<QString> families_QList;
|
||||
families_QList.reserve(families->len);
|
||||
miqt_string** families_arr = static_cast<miqt_string**>(families->data);
|
||||
@ -370,7 +370,7 @@ void QFont_InsertSubstitution(struct miqt_string* param1, struct miqt_string* pa
|
||||
QFont::insertSubstitution(param1_QString, param2_QString);
|
||||
}
|
||||
|
||||
void QFont_InsertSubstitutions(struct miqt_string* param1, struct miqt_array* /* of QString */ param2) {
|
||||
void QFont_InsertSubstitutions(struct miqt_string* param1, struct miqt_array* /* of struct miqt_string* */ param2) {
|
||||
QString param1_QString = QString::fromUtf8(¶m1->data, param1->len);
|
||||
QList<QString> param2_QList;
|
||||
param2_QList.reserve(param2->len);
|
||||
|
@ -33,7 +33,7 @@ void QFont_Swap(QFont* self, QFont* other);
|
||||
struct miqt_string* QFont_Family(const QFont* self);
|
||||
void QFont_SetFamily(QFont* self, struct miqt_string* family);
|
||||
struct miqt_array* QFont_Families(const QFont* self);
|
||||
void QFont_SetFamilies(QFont* self, struct miqt_array* /* of QString */ families);
|
||||
void QFont_SetFamilies(QFont* self, struct miqt_array* /* of struct miqt_string* */ families);
|
||||
struct miqt_string* QFont_StyleName(const QFont* self);
|
||||
void QFont_SetStyleName(QFont* self, struct miqt_string* styleName);
|
||||
int QFont_PointSize(const QFont* self);
|
||||
@ -92,7 +92,7 @@ struct miqt_string* QFont_Substitute(struct miqt_string* param1);
|
||||
struct miqt_array* QFont_Substitutes(struct miqt_string* param1);
|
||||
struct miqt_array* QFont_Substitutions();
|
||||
void QFont_InsertSubstitution(struct miqt_string* param1, struct miqt_string* param2);
|
||||
void QFont_InsertSubstitutions(struct miqt_string* param1, struct miqt_array* /* of QString */ param2);
|
||||
void QFont_InsertSubstitutions(struct miqt_string* param1, struct miqt_array* /* of struct miqt_string* */ param2);
|
||||
void QFont_RemoveSubstitutions(struct miqt_string* param1);
|
||||
void QFont_Initialize();
|
||||
void QFont_Cleanup();
|
||||
|
@ -73,7 +73,7 @@ struct miqt_array* QGlyphRun_Positions(const QGlyphRun* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QGlyphRun_SetPositions(QGlyphRun* self, struct miqt_array* /* of QPointF */ positions) {
|
||||
void QGlyphRun_SetPositions(QGlyphRun* self, struct miqt_array* /* of QPointF* */ positions) {
|
||||
QVector<QPointF> positions_QList;
|
||||
positions_QList.reserve(positions->len);
|
||||
QPointF** positions_arr = static_cast<QPointF**>(positions->data);
|
||||
|
@ -35,7 +35,7 @@ void QGlyphRun_SetRawData(QGlyphRun* self, const unsigned int* glyphIndexArray,
|
||||
struct miqt_array* QGlyphRun_GlyphIndexes(const QGlyphRun* self);
|
||||
void QGlyphRun_SetGlyphIndexes(QGlyphRun* self, struct miqt_array* /* of unsigned int */ glyphIndexes);
|
||||
struct miqt_array* QGlyphRun_Positions(const QGlyphRun* self);
|
||||
void QGlyphRun_SetPositions(QGlyphRun* self, struct miqt_array* /* of QPointF */ positions);
|
||||
void QGlyphRun_SetPositions(QGlyphRun* self, struct miqt_array* /* of QPointF* */ positions);
|
||||
void QGlyphRun_Clear(QGlyphRun* self);
|
||||
bool QGlyphRun_OperatorEqual(const QGlyphRun* self, QGlyphRun* other);
|
||||
bool QGlyphRun_OperatorNotEqual(const QGlyphRun* self, QGlyphRun* other);
|
||||
|
@ -487,7 +487,7 @@ void QGraphicsScene_Clear(QGraphicsScene* self) {
|
||||
self->clear();
|
||||
}
|
||||
|
||||
void QGraphicsScene_Changed(QGraphicsScene* self, struct miqt_array* /* of QRectF */ region) {
|
||||
void QGraphicsScene_Changed(QGraphicsScene* self, struct miqt_array* /* of QRectF* */ region) {
|
||||
QList<QRectF> region_QList;
|
||||
region_QList.reserve(region->len);
|
||||
QRectF** region_arr = static_cast<QRectF**>(region->data);
|
||||
|
@ -164,7 +164,7 @@ void QGraphicsScene_Invalidate2(QGraphicsScene* self);
|
||||
void QGraphicsScene_Advance(QGraphicsScene* self);
|
||||
void QGraphicsScene_ClearSelection(QGraphicsScene* self);
|
||||
void QGraphicsScene_Clear(QGraphicsScene* self);
|
||||
void QGraphicsScene_Changed(QGraphicsScene* self, struct miqt_array* /* of QRectF */ region);
|
||||
void QGraphicsScene_Changed(QGraphicsScene* self, struct miqt_array* /* of QRectF* */ region);
|
||||
void QGraphicsScene_connect_Changed(QGraphicsScene* self, void* slot);
|
||||
void QGraphicsScene_SceneRectChanged(QGraphicsScene* self, QRectF* rect);
|
||||
void QGraphicsScene_connect_SceneRectChanged(QGraphicsScene* self, void* slot);
|
||||
|
@ -433,7 +433,7 @@ void QGraphicsView_SetForegroundBrush(QGraphicsView* self, QBrush* brush) {
|
||||
self->setForegroundBrush(*brush);
|
||||
}
|
||||
|
||||
void QGraphicsView_UpdateScene(QGraphicsView* self, struct miqt_array* /* of QRectF */ rects) {
|
||||
void QGraphicsView_UpdateScene(QGraphicsView* self, struct miqt_array* /* of QRectF* */ rects) {
|
||||
QList<QRectF> rects_QList;
|
||||
rects_QList.reserve(rects->len);
|
||||
QRectF** rects_arr = static_cast<QRectF**>(rects->data);
|
||||
|
@ -127,7 +127,7 @@ QBrush* QGraphicsView_BackgroundBrush(const QGraphicsView* self);
|
||||
void QGraphicsView_SetBackgroundBrush(QGraphicsView* self, QBrush* brush);
|
||||
QBrush* QGraphicsView_ForegroundBrush(const QGraphicsView* self);
|
||||
void QGraphicsView_SetForegroundBrush(QGraphicsView* self, QBrush* brush);
|
||||
void QGraphicsView_UpdateScene(QGraphicsView* self, struct miqt_array* /* of QRectF */ rects);
|
||||
void QGraphicsView_UpdateScene(QGraphicsView* self, struct miqt_array* /* of QRectF* */ rects);
|
||||
void QGraphicsView_InvalidateScene(QGraphicsView* self);
|
||||
void QGraphicsView_UpdateSceneRect(QGraphicsView* self, QRectF* rect);
|
||||
void QGraphicsView_RubberBandChanged(QGraphicsView* self, QRect* viewportRect, QPointF* fromScenePoint, QPointF* toScenePoint);
|
||||
|
@ -174,7 +174,7 @@ struct miqt_array* QIcon_ThemeSearchPaths() {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QIcon_SetThemeSearchPaths(struct miqt_array* /* of QString */ searchpath) {
|
||||
void QIcon_SetThemeSearchPaths(struct miqt_array* /* of struct miqt_string* */ searchpath) {
|
||||
QList<QString> searchpath_QList;
|
||||
searchpath_QList.reserve(searchpath->len);
|
||||
miqt_string** searchpath_arr = static_cast<miqt_string**>(searchpath->data);
|
||||
@ -200,7 +200,7 @@ struct miqt_array* QIcon_FallbackSearchPaths() {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QIcon_SetFallbackSearchPaths(struct miqt_array* /* of QString */ paths) {
|
||||
void QIcon_SetFallbackSearchPaths(struct miqt_array* /* of struct miqt_string* */ paths) {
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
miqt_string** paths_arr = static_cast<miqt_string**>(paths->data);
|
||||
|
@ -60,9 +60,9 @@ QIcon* QIcon_FromTheme(struct miqt_string* name);
|
||||
QIcon* QIcon_FromTheme2(struct miqt_string* name, QIcon* fallback);
|
||||
bool QIcon_HasThemeIcon(struct miqt_string* name);
|
||||
struct miqt_array* QIcon_ThemeSearchPaths();
|
||||
void QIcon_SetThemeSearchPaths(struct miqt_array* /* of QString */ searchpath);
|
||||
void QIcon_SetThemeSearchPaths(struct miqt_array* /* of struct miqt_string* */ searchpath);
|
||||
struct miqt_array* QIcon_FallbackSearchPaths();
|
||||
void QIcon_SetFallbackSearchPaths(struct miqt_array* /* of QString */ paths);
|
||||
void QIcon_SetFallbackSearchPaths(struct miqt_array* /* of struct miqt_string* */ paths);
|
||||
struct miqt_string* QIcon_ThemeName();
|
||||
void QIcon_SetThemeName(struct miqt_string* path);
|
||||
struct miqt_string* QIcon_FallbackThemeName();
|
||||
|
@ -107,7 +107,7 @@ bool QInputDialog_IsComboBoxEditable(const QInputDialog* self) {
|
||||
return self->isComboBoxEditable();
|
||||
}
|
||||
|
||||
void QInputDialog_SetComboBoxItems(QInputDialog* self, struct miqt_array* /* of QString */ items) {
|
||||
void QInputDialog_SetComboBoxItems(QInputDialog* self, struct miqt_array* /* of struct miqt_string* */ items) {
|
||||
QList<QString> items_QList;
|
||||
items_QList.reserve(items->len);
|
||||
miqt_string** items_arr = static_cast<miqt_string**>(items->data);
|
||||
@ -263,7 +263,7 @@ struct miqt_string* QInputDialog_GetMultiLineText(QWidget* parent, struct miqt_s
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items) {
|
||||
struct miqt_string* QInputDialog_GetItem(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
@ -503,7 +503,7 @@ struct miqt_string* QInputDialog_GetMultiLineText7(QWidget* parent, struct miqt_
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current) {
|
||||
struct miqt_string* QInputDialog_GetItem5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
@ -518,7 +518,7 @@ struct miqt_string* QInputDialog_GetItem5(QWidget* parent, struct miqt_string* t
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable) {
|
||||
struct miqt_string* QInputDialog_GetItem6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
@ -533,7 +533,7 @@ struct miqt_string* QInputDialog_GetItem6(QWidget* parent, struct miqt_string* t
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem7(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok) {
|
||||
struct miqt_string* QInputDialog_GetItem7(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
@ -548,7 +548,7 @@ struct miqt_string* QInputDialog_GetItem7(QWidget* parent, struct miqt_string* t
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem8(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok, int flags) {
|
||||
struct miqt_string* QInputDialog_GetItem8(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok, int flags) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
@ -563,7 +563,7 @@ struct miqt_string* QInputDialog_GetItem8(QWidget* parent, struct miqt_string* t
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QInputDialog_GetItem9(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok, int flags, int inputMethodHints) {
|
||||
struct miqt_string* QInputDialog_GetItem9(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok, int flags, int inputMethodHints) {
|
||||
QString title_QString = QString::fromUtf8(&title->data, title->len);
|
||||
QString label_QString = QString::fromUtf8(&label->data, label->len);
|
||||
QList<QString> items_QList;
|
||||
|
@ -45,7 +45,7 @@ void QInputDialog_SetTextEchoMode(QInputDialog* self, uintptr_t mode);
|
||||
uintptr_t QInputDialog_TextEchoMode(const QInputDialog* self);
|
||||
void QInputDialog_SetComboBoxEditable(QInputDialog* self, bool editable);
|
||||
bool QInputDialog_IsComboBoxEditable(const QInputDialog* self);
|
||||
void QInputDialog_SetComboBoxItems(QInputDialog* self, struct miqt_array* /* of QString */ items);
|
||||
void QInputDialog_SetComboBoxItems(QInputDialog* self, struct miqt_array* /* of struct miqt_string* */ items);
|
||||
struct miqt_array* QInputDialog_ComboBoxItems(const QInputDialog* self);
|
||||
void QInputDialog_SetIntValue(QInputDialog* self, int value);
|
||||
int QInputDialog_IntValue(const QInputDialog* self);
|
||||
@ -74,7 +74,7 @@ QSize* QInputDialog_SizeHint(const QInputDialog* self);
|
||||
void QInputDialog_SetVisible(QInputDialog* self, bool visible);
|
||||
struct miqt_string* QInputDialog_GetText(QWidget* parent, struct miqt_string* title, struct miqt_string* label);
|
||||
struct miqt_string* QInputDialog_GetMultiLineText(QWidget* parent, struct miqt_string* title, struct miqt_string* label);
|
||||
struct miqt_string* QInputDialog_GetItem(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items);
|
||||
struct miqt_string* QInputDialog_GetItem(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items);
|
||||
int QInputDialog_GetInt(QWidget* parent, struct miqt_string* title, struct miqt_string* label);
|
||||
double QInputDialog_GetDouble(QWidget* parent, struct miqt_string* title, struct miqt_string* label);
|
||||
double QInputDialog_GetDouble2(QWidget* parent, struct miqt_string* title, struct miqt_string* label, double value, double minValue, double maxValue, int decimals, bool* ok, int flags, double step);
|
||||
@ -107,11 +107,11 @@ struct miqt_string* QInputDialog_GetMultiLineText4(QWidget* parent, struct miqt_
|
||||
struct miqt_string* QInputDialog_GetMultiLineText5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_string* text, bool* ok);
|
||||
struct miqt_string* QInputDialog_GetMultiLineText6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_string* text, bool* ok, int flags);
|
||||
struct miqt_string* QInputDialog_GetMultiLineText7(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_string* text, bool* ok, int flags, int inputMethodHints);
|
||||
struct miqt_string* QInputDialog_GetItem5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current);
|
||||
struct miqt_string* QInputDialog_GetItem6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable);
|
||||
struct miqt_string* QInputDialog_GetItem7(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok);
|
||||
struct miqt_string* QInputDialog_GetItem8(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok, int flags);
|
||||
struct miqt_string* QInputDialog_GetItem9(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of QString */ items, int current, bool editable, bool* ok, int flags, int inputMethodHints);
|
||||
struct miqt_string* QInputDialog_GetItem5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current);
|
||||
struct miqt_string* QInputDialog_GetItem6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable);
|
||||
struct miqt_string* QInputDialog_GetItem7(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok);
|
||||
struct miqt_string* QInputDialog_GetItem8(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok, int flags);
|
||||
struct miqt_string* QInputDialog_GetItem9(QWidget* parent, struct miqt_string* title, struct miqt_string* label, struct miqt_array* /* of struct miqt_string* */ items, int current, bool editable, bool* ok, int flags, int inputMethodHints);
|
||||
int QInputDialog_GetInt4(QWidget* parent, struct miqt_string* title, struct miqt_string* label, int value);
|
||||
int QInputDialog_GetInt5(QWidget* parent, struct miqt_string* title, struct miqt_string* label, int value, int minValue);
|
||||
int QInputDialog_GetInt6(QWidget* parent, struct miqt_string* title, struct miqt_string* label, int value, int minValue, int maxValue);
|
||||
|
@ -25,7 +25,7 @@ void QJsonArray_OperatorAssign(QJsonArray* self, QJsonArray* other) {
|
||||
self->operator=(*other);
|
||||
}
|
||||
|
||||
QJsonArray* QJsonArray_FromStringList(struct miqt_array* /* of QString */ list) {
|
||||
QJsonArray* QJsonArray_FromStringList(struct miqt_array* /* of struct miqt_string* */ list) {
|
||||
QList<QString> list_QList;
|
||||
list_QList.reserve(list->len);
|
||||
miqt_string** list_arr = static_cast<miqt_string**>(list->data);
|
||||
|
@ -42,7 +42,7 @@ typedef struct QJsonValueRefPtr QJsonValueRefPtr;
|
||||
QJsonArray* QJsonArray_new();
|
||||
QJsonArray* QJsonArray_new2(QJsonArray* other);
|
||||
void QJsonArray_OperatorAssign(QJsonArray* self, QJsonArray* other);
|
||||
QJsonArray* QJsonArray_FromStringList(struct miqt_array* /* of QString */ list);
|
||||
QJsonArray* QJsonArray_FromStringList(struct miqt_array* /* of struct miqt_string* */ list);
|
||||
int QJsonArray_Size(const QJsonArray* self);
|
||||
int QJsonArray_Count(const QJsonArray* self);
|
||||
bool QJsonArray_IsEmpty(const QJsonArray* self);
|
||||
|
@ -81,7 +81,7 @@ struct miqt_array* QKeySequence_ListFromString(struct miqt_string* str) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_string* QKeySequence_ListToString(struct miqt_array* /* of QKeySequence */ list) {
|
||||
struct miqt_string* QKeySequence_ListToString(struct miqt_array* /* of QKeySequence* */ list) {
|
||||
QList<QKeySequence> list_QList;
|
||||
list_QList.reserve(list->len);
|
||||
QKeySequence** list_arr = static_cast<QKeySequence**>(list->data);
|
||||
@ -187,7 +187,7 @@ struct miqt_array* QKeySequence_ListFromString2(struct miqt_string* str, uintptr
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_string* QKeySequence_ListToString2(struct miqt_array* /* of QKeySequence */ list, uintptr_t format) {
|
||||
struct miqt_string* QKeySequence_ListToString2(struct miqt_array* /* of QKeySequence* */ list, uintptr_t format) {
|
||||
QList<QKeySequence> list_QList;
|
||||
list_QList.reserve(list->len);
|
||||
QKeySequence** list_arr = static_cast<QKeySequence**>(list->data);
|
||||
|
@ -33,7 +33,7 @@ bool QKeySequence_IsEmpty(const QKeySequence* self);
|
||||
struct miqt_string* QKeySequence_ToString(const QKeySequence* self);
|
||||
QKeySequence* QKeySequence_FromString(struct miqt_string* str);
|
||||
struct miqt_array* QKeySequence_ListFromString(struct miqt_string* str);
|
||||
struct miqt_string* QKeySequence_ListToString(struct miqt_array* /* of QKeySequence */ list);
|
||||
struct miqt_string* QKeySequence_ListToString(struct miqt_array* /* of QKeySequence* */ list);
|
||||
uintptr_t QKeySequence_Matches(const QKeySequence* self, QKeySequence* seq);
|
||||
QKeySequence* QKeySequence_Mnemonic(struct miqt_string* text);
|
||||
struct miqt_array* QKeySequence_KeyBindings(uintptr_t key);
|
||||
@ -50,7 +50,7 @@ bool QKeySequence_IsDetached(const QKeySequence* self);
|
||||
struct miqt_string* QKeySequence_ToString1(const QKeySequence* self, uintptr_t format);
|
||||
QKeySequence* QKeySequence_FromString2(struct miqt_string* str, uintptr_t format);
|
||||
struct miqt_array* QKeySequence_ListFromString2(struct miqt_string* str, uintptr_t format);
|
||||
struct miqt_string* QKeySequence_ListToString2(struct miqt_array* /* of QKeySequence */ list, uintptr_t format);
|
||||
struct miqt_string* QKeySequence_ListToString2(struct miqt_array* /* of QKeySequence* */ list, uintptr_t format);
|
||||
void QKeySequence_Delete(QKeySequence* self);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -199,7 +199,7 @@ void QListView_SetRootIndex(QListView* self, QModelIndex* index) {
|
||||
self->setRootIndex(*index);
|
||||
}
|
||||
|
||||
void QListView_IndexesMoved(QListView* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
void QListView_IndexesMoved(QListView* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
|
@ -73,7 +73,7 @@ QModelIndex* QListView_IndexAt(const QListView* self, QPoint* p);
|
||||
void QListView_DoItemsLayout(QListView* self);
|
||||
void QListView_Reset(QListView* self);
|
||||
void QListView_SetRootIndex(QListView* self, QModelIndex* index);
|
||||
void QListView_IndexesMoved(QListView* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
void QListView_IndexesMoved(QListView* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
void QListView_connect_IndexesMoved(QListView* self, void* slot);
|
||||
struct miqt_string* QListView_Tr2(const char* s, const char* c);
|
||||
struct miqt_string* QListView_Tr3(const char* s, const char* c, int n);
|
||||
|
@ -316,7 +316,7 @@ void QListWidget_InsertItem2(QListWidget* self, int row, struct miqt_string* lab
|
||||
self->insertItem(static_cast<int>(row), label_QString);
|
||||
}
|
||||
|
||||
void QListWidget_InsertItems(QListWidget* self, int row, struct miqt_array* /* of QString */ labels) {
|
||||
void QListWidget_InsertItems(QListWidget* self, int row, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
@ -335,7 +335,7 @@ void QListWidget_AddItemWithItem(QListWidget* self, QListWidgetItem* item) {
|
||||
self->addItem(item);
|
||||
}
|
||||
|
||||
void QListWidget_AddItems(QListWidget* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QListWidget_AddItems(QListWidget* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
|
@ -110,10 +110,10 @@ QListWidgetItem* QListWidget_Item(const QListWidget* self, int row);
|
||||
int QListWidget_Row(const QListWidget* self, QListWidgetItem* item);
|
||||
void QListWidget_InsertItem(QListWidget* self, int row, QListWidgetItem* item);
|
||||
void QListWidget_InsertItem2(QListWidget* self, int row, struct miqt_string* label);
|
||||
void QListWidget_InsertItems(QListWidget* self, int row, struct miqt_array* /* of QString */ labels);
|
||||
void QListWidget_InsertItems(QListWidget* self, int row, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
void QListWidget_AddItem(QListWidget* self, struct miqt_string* label);
|
||||
void QListWidget_AddItemWithItem(QListWidget* self, QListWidgetItem* item);
|
||||
void QListWidget_AddItems(QListWidget* self, struct miqt_array* /* of QString */ labels);
|
||||
void QListWidget_AddItems(QListWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
QListWidgetItem* QListWidget_TakeItem(QListWidget* self, int row);
|
||||
int QListWidget_Count(const QListWidget* self);
|
||||
QListWidgetItem* QListWidget_CurrentItem(const QListWidget* self);
|
||||
|
@ -709,7 +709,7 @@ struct miqt_string* QLocale_QuoteString(const QLocale* self, struct miqt_string*
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
struct miqt_string* QLocale_CreateSeparatedList(const QLocale* self, struct miqt_array* /* of QString */ strl) {
|
||||
struct miqt_string* QLocale_CreateSeparatedList(const QLocale* self, struct miqt_array* /* of struct miqt_string* */ strl) {
|
||||
QList<QString> strl_QList;
|
||||
strl_QList.reserve(strl->len);
|
||||
miqt_string** strl_arr = static_cast<miqt_string**>(strl->data);
|
||||
|
@ -134,7 +134,7 @@ struct miqt_array* QLocale_CountriesForLanguage(uintptr_t lang);
|
||||
void QLocale_SetNumberOptions(QLocale* self, int options);
|
||||
int QLocale_NumberOptions(const QLocale* self);
|
||||
struct miqt_string* QLocale_QuoteString(const QLocale* self, struct miqt_string* str);
|
||||
struct miqt_string* QLocale_CreateSeparatedList(const QLocale* self, struct miqt_array* /* of QString */ strl);
|
||||
struct miqt_string* QLocale_CreateSeparatedList(const QLocale* self, struct miqt_array* /* of struct miqt_string* */ strl);
|
||||
int16_t QLocale_ToShort2(const QLocale* self, struct miqt_string* s, bool* ok);
|
||||
uint16_t QLocale_ToUShort2(const QLocale* self, struct miqt_string* s, bool* ok);
|
||||
int QLocale_ToInt2(const QLocale* self, struct miqt_string* s, bool* ok);
|
||||
|
@ -46,7 +46,7 @@ struct miqt_array* QMimeData_Urls(const QMimeData* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QMimeData_SetUrls(QMimeData* self, struct miqt_array* /* of QUrl */ urls) {
|
||||
void QMimeData_SetUrls(QMimeData* self, struct miqt_array* /* of QUrl* */ urls) {
|
||||
QList<QUrl> urls_QList;
|
||||
urls_QList.reserve(urls->len);
|
||||
QUrl** urls_arr = static_cast<QUrl**>(urls->data);
|
||||
|
@ -32,7 +32,7 @@ QMetaObject* QMimeData_MetaObject(const QMimeData* self);
|
||||
struct miqt_string* QMimeData_Tr(const char* s);
|
||||
struct miqt_string* QMimeData_TrUtf8(const char* s);
|
||||
struct miqt_array* QMimeData_Urls(const QMimeData* self);
|
||||
void QMimeData_SetUrls(QMimeData* self, struct miqt_array* /* of QUrl */ urls);
|
||||
void QMimeData_SetUrls(QMimeData* self, struct miqt_array* /* of QUrl* */ urls);
|
||||
bool QMimeData_HasUrls(const QMimeData* self);
|
||||
struct miqt_string* QMimeData_Text(const QMimeData* self);
|
||||
void QMimeData_SetText(QMimeData* self, struct miqt_string* text);
|
||||
|
@ -427,7 +427,7 @@ void QPainter_DrawLines(QPainter* self, QLineF* lines, int lineCount) {
|
||||
self->drawLines(lines, static_cast<int>(lineCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawLinesWithLines(QPainter* self, struct miqt_array* /* of QLineF */ lines) {
|
||||
void QPainter_DrawLinesWithLines(QPainter* self, struct miqt_array* /* of QLineF* */ lines) {
|
||||
QVector<QLineF> lines_QList;
|
||||
lines_QList.reserve(lines->len);
|
||||
QLineF** lines_arr = static_cast<QLineF**>(lines->data);
|
||||
@ -441,7 +441,7 @@ void QPainter_DrawLines2(QPainter* self, QPointF* pointPairs, int lineCount) {
|
||||
self->drawLines(pointPairs, static_cast<int>(lineCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawLinesWithPointPairs(QPainter* self, struct miqt_array* /* of QPointF */ pointPairs) {
|
||||
void QPainter_DrawLinesWithPointPairs(QPainter* self, struct miqt_array* /* of QPointF* */ pointPairs) {
|
||||
QVector<QPointF> pointPairs_QList;
|
||||
pointPairs_QList.reserve(pointPairs->len);
|
||||
QPointF** pointPairs_arr = static_cast<QPointF**>(pointPairs->data);
|
||||
@ -455,7 +455,7 @@ void QPainter_DrawLines3(QPainter* self, QLine* lines, int lineCount) {
|
||||
self->drawLines(lines, static_cast<int>(lineCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawLines4(QPainter* self, struct miqt_array* /* of QLine */ lines) {
|
||||
void QPainter_DrawLines4(QPainter* self, struct miqt_array* /* of QLine* */ lines) {
|
||||
QVector<QLine> lines_QList;
|
||||
lines_QList.reserve(lines->len);
|
||||
QLine** lines_arr = static_cast<QLine**>(lines->data);
|
||||
@ -469,7 +469,7 @@ void QPainter_DrawLines5(QPainter* self, QPoint* pointPairs, int lineCount) {
|
||||
self->drawLines(pointPairs, static_cast<int>(lineCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawLines6(QPainter* self, struct miqt_array* /* of QPoint */ pointPairs) {
|
||||
void QPainter_DrawLines6(QPainter* self, struct miqt_array* /* of QPoint* */ pointPairs) {
|
||||
QVector<QPoint> pointPairs_QList;
|
||||
pointPairs_QList.reserve(pointPairs->len);
|
||||
QPoint** pointPairs_arr = static_cast<QPoint**>(pointPairs->data);
|
||||
@ -495,7 +495,7 @@ void QPainter_DrawRects(QPainter* self, QRectF* rects, int rectCount) {
|
||||
self->drawRects(rects, static_cast<int>(rectCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawRectsWithRectangles(QPainter* self, struct miqt_array* /* of QRectF */ rectangles) {
|
||||
void QPainter_DrawRectsWithRectangles(QPainter* self, struct miqt_array* /* of QRectF* */ rectangles) {
|
||||
QVector<QRectF> rectangles_QList;
|
||||
rectangles_QList.reserve(rectangles->len);
|
||||
QRectF** rectangles_arr = static_cast<QRectF**>(rectangles->data);
|
||||
@ -509,7 +509,7 @@ void QPainter_DrawRects2(QPainter* self, QRect* rects, int rectCount) {
|
||||
self->drawRects(rects, static_cast<int>(rectCount));
|
||||
}
|
||||
|
||||
void QPainter_DrawRects3(QPainter* self, struct miqt_array* /* of QRect */ rectangles) {
|
||||
void QPainter_DrawRects3(QPainter* self, struct miqt_array* /* of QRect* */ rectangles) {
|
||||
QVector<QRect> rectangles_QList;
|
||||
rectangles_QList.reserve(rectangles->len);
|
||||
QRect** rectangles_arr = static_cast<QRect**>(rectangles->data);
|
||||
|
@ -163,20 +163,20 @@ void QPainter_DrawLine2(QPainter* self, int x1, int y1, int x2, int y2);
|
||||
void QPainter_DrawLine3(QPainter* self, QPoint* p1, QPoint* p2);
|
||||
void QPainter_DrawLine4(QPainter* self, QPointF* p1, QPointF* p2);
|
||||
void QPainter_DrawLines(QPainter* self, QLineF* lines, int lineCount);
|
||||
void QPainter_DrawLinesWithLines(QPainter* self, struct miqt_array* /* of QLineF */ lines);
|
||||
void QPainter_DrawLinesWithLines(QPainter* self, struct miqt_array* /* of QLineF* */ lines);
|
||||
void QPainter_DrawLines2(QPainter* self, QPointF* pointPairs, int lineCount);
|
||||
void QPainter_DrawLinesWithPointPairs(QPainter* self, struct miqt_array* /* of QPointF */ pointPairs);
|
||||
void QPainter_DrawLinesWithPointPairs(QPainter* self, struct miqt_array* /* of QPointF* */ pointPairs);
|
||||
void QPainter_DrawLines3(QPainter* self, QLine* lines, int lineCount);
|
||||
void QPainter_DrawLines4(QPainter* self, struct miqt_array* /* of QLine */ lines);
|
||||
void QPainter_DrawLines4(QPainter* self, struct miqt_array* /* of QLine* */ lines);
|
||||
void QPainter_DrawLines5(QPainter* self, QPoint* pointPairs, int lineCount);
|
||||
void QPainter_DrawLines6(QPainter* self, struct miqt_array* /* of QPoint */ pointPairs);
|
||||
void QPainter_DrawLines6(QPainter* self, struct miqt_array* /* of QPoint* */ pointPairs);
|
||||
void QPainter_DrawRect(QPainter* self, QRectF* rect);
|
||||
void QPainter_DrawRect2(QPainter* self, int x1, int y1, int w, int h);
|
||||
void QPainter_DrawRectWithRect(QPainter* self, QRect* rect);
|
||||
void QPainter_DrawRects(QPainter* self, QRectF* rects, int rectCount);
|
||||
void QPainter_DrawRectsWithRectangles(QPainter* self, struct miqt_array* /* of QRectF */ rectangles);
|
||||
void QPainter_DrawRectsWithRectangles(QPainter* self, struct miqt_array* /* of QRectF* */ rectangles);
|
||||
void QPainter_DrawRects2(QPainter* self, QRect* rects, int rectCount);
|
||||
void QPainter_DrawRects3(QPainter* self, struct miqt_array* /* of QRect */ rectangles);
|
||||
void QPainter_DrawRects3(QPainter* self, struct miqt_array* /* of QRect* */ rectangles);
|
||||
void QPainter_DrawEllipse(QPainter* self, QRectF* r);
|
||||
void QPainter_DrawEllipseWithQRect(QPainter* self, QRect* r);
|
||||
void QPainter_DrawEllipse2(QPainter* self, int x, int y, int w, int h);
|
||||
|
@ -291,7 +291,7 @@ void QPlainTextEdit_SetCursorWidth(QPlainTextEdit* self, int width) {
|
||||
self->setCursorWidth(static_cast<int>(width));
|
||||
}
|
||||
|
||||
void QPlainTextEdit_SetExtraSelections(QPlainTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection */ selections) {
|
||||
void QPlainTextEdit_SetExtraSelections(QPlainTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection* */ selections) {
|
||||
QList<QTextEdit::ExtraSelection> selections_QList;
|
||||
selections_QList.reserve(selections->len);
|
||||
QTextEdit__ExtraSelection** selections_arr = static_cast<QTextEdit__ExtraSelection**>(selections->data);
|
||||
|
@ -127,7 +127,7 @@ double QPlainTextEdit_TabStopDistance(const QPlainTextEdit* self);
|
||||
void QPlainTextEdit_SetTabStopDistance(QPlainTextEdit* self, double distance);
|
||||
int QPlainTextEdit_CursorWidth(const QPlainTextEdit* self);
|
||||
void QPlainTextEdit_SetCursorWidth(QPlainTextEdit* self, int width);
|
||||
void QPlainTextEdit_SetExtraSelections(QPlainTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection */ selections);
|
||||
void QPlainTextEdit_SetExtraSelections(QPlainTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection* */ selections);
|
||||
struct miqt_array* QPlainTextEdit_ExtraSelections(const QPlainTextEdit* self);
|
||||
void QPlainTextEdit_MoveCursor(QPlainTextEdit* self, uintptr_t operation);
|
||||
bool QPlainTextEdit_CanPaste(const QPlainTextEdit* self);
|
||||
|
@ -148,7 +148,7 @@ struct miqt_string* QProcess_TrUtf8(const char* s) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QProcess_Start(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments) {
|
||||
void QProcess_Start(QProcess* self, struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
@ -204,7 +204,7 @@ struct miqt_array* QProcess_Arguments(const QProcess* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QProcess_SetArguments(QProcess* self, struct miqt_array* /* of QString */ arguments) {
|
||||
void QProcess_SetArguments(QProcess* self, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
miqt_string** arguments_arr = static_cast<miqt_string**>(arguments->data);
|
||||
@ -289,7 +289,7 @@ void QProcess_SetWorkingDirectory(QProcess* self, struct miqt_string* dir) {
|
||||
self->setWorkingDirectory(dir_QString);
|
||||
}
|
||||
|
||||
void QProcess_SetEnvironment(QProcess* self, struct miqt_array* /* of QString */ environment) {
|
||||
void QProcess_SetEnvironment(QProcess* self, struct miqt_array* /* of struct miqt_string* */ environment) {
|
||||
QList<QString> environment_QList;
|
||||
environment_QList.reserve(environment->len);
|
||||
miqt_string** environment_arr = static_cast<miqt_string**>(environment->data);
|
||||
@ -409,7 +409,7 @@ bool QProcess_AtEnd(const QProcess* self) {
|
||||
return self->atEnd();
|
||||
}
|
||||
|
||||
int QProcess_Execute(struct miqt_string* program, struct miqt_array* /* of QString */ arguments) {
|
||||
int QProcess_Execute(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
@ -425,7 +425,7 @@ int QProcess_ExecuteWithCommand(struct miqt_string* command) {
|
||||
return QProcess::execute(command_QString);
|
||||
}
|
||||
|
||||
bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory) {
|
||||
bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, struct miqt_string* workingDirectory) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
@ -437,7 +437,7 @@ bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /*
|
||||
return QProcess::startDetached(program_QString, arguments_QList, workingDirectory_QString);
|
||||
}
|
||||
|
||||
bool QProcess_StartDetached3(struct miqt_string* program, struct miqt_array* /* of QString */ arguments) {
|
||||
bool QProcess_StartDetached3(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
@ -560,7 +560,7 @@ struct miqt_string* QProcess_TrUtf83(const char* s, const char* c, int n) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QProcess_Start3(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments, int mode) {
|
||||
void QProcess_Start3(QProcess* self, struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, int mode) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
@ -614,7 +614,7 @@ bool QProcess_WaitForFinished1(QProcess* self, int msecs) {
|
||||
return self->waitForFinished(static_cast<int>(msecs));
|
||||
}
|
||||
|
||||
bool QProcess_StartDetached4(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory, long long* pid) {
|
||||
bool QProcess_StartDetached4(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, struct miqt_string* workingDirectory, long long* pid) {
|
||||
QString program_QString = QString::fromUtf8(&program->data, program->len);
|
||||
QList<QString> arguments_QList;
|
||||
arguments_QList.reserve(arguments->len);
|
||||
|
@ -51,7 +51,7 @@ QProcess* QProcess_new2(QObject* parent);
|
||||
QMetaObject* QProcess_MetaObject(const QProcess* self);
|
||||
struct miqt_string* QProcess_Tr(const char* s);
|
||||
struct miqt_string* QProcess_TrUtf8(const char* s);
|
||||
void QProcess_Start(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
|
||||
void QProcess_Start(QProcess* self, struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
void QProcess_StartWithCommand(QProcess* self, struct miqt_string* command);
|
||||
void QProcess_Start2(QProcess* self);
|
||||
bool QProcess_StartDetached(QProcess* self);
|
||||
@ -59,7 +59,7 @@ bool QProcess_Open(QProcess* self);
|
||||
struct miqt_string* QProcess_Program(const QProcess* self);
|
||||
void QProcess_SetProgram(QProcess* self, struct miqt_string* program);
|
||||
struct miqt_array* QProcess_Arguments(const QProcess* self);
|
||||
void QProcess_SetArguments(QProcess* self, struct miqt_array* /* of QString */ arguments);
|
||||
void QProcess_SetArguments(QProcess* self, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
uintptr_t QProcess_ReadChannelMode(const QProcess* self);
|
||||
void QProcess_SetReadChannelMode(QProcess* self, uintptr_t mode);
|
||||
uintptr_t QProcess_ProcessChannelMode(const QProcess* self);
|
||||
@ -76,7 +76,7 @@ void QProcess_SetStandardErrorFile(QProcess* self, struct miqt_string* fileName)
|
||||
void QProcess_SetStandardOutputProcess(QProcess* self, QProcess* destination);
|
||||
struct miqt_string* QProcess_WorkingDirectory(const QProcess* self);
|
||||
void QProcess_SetWorkingDirectory(QProcess* self, struct miqt_string* dir);
|
||||
void QProcess_SetEnvironment(QProcess* self, struct miqt_array* /* of QString */ environment);
|
||||
void QProcess_SetEnvironment(QProcess* self, struct miqt_array* /* of struct miqt_string* */ environment);
|
||||
struct miqt_array* QProcess_Environment(const QProcess* self);
|
||||
void QProcess_SetProcessEnvironment(QProcess* self, QProcessEnvironment* environment);
|
||||
QProcessEnvironment* QProcess_ProcessEnvironment(const QProcess* self);
|
||||
@ -98,10 +98,10 @@ bool QProcess_IsSequential(const QProcess* self);
|
||||
bool QProcess_CanReadLine(const QProcess* self);
|
||||
void QProcess_Close(QProcess* self);
|
||||
bool QProcess_AtEnd(const QProcess* self);
|
||||
int QProcess_Execute(struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
|
||||
int QProcess_Execute(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
int QProcess_ExecuteWithCommand(struct miqt_string* command);
|
||||
bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory);
|
||||
bool QProcess_StartDetached3(struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
|
||||
bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, struct miqt_string* workingDirectory);
|
||||
bool QProcess_StartDetached3(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments);
|
||||
bool QProcess_StartDetachedWithCommand(struct miqt_string* command);
|
||||
struct miqt_array* QProcess_SystemEnvironment();
|
||||
struct miqt_string* QProcess_NullDevice();
|
||||
@ -119,7 +119,7 @@ struct miqt_string* QProcess_Tr2(const char* s, const char* c);
|
||||
struct miqt_string* QProcess_Tr3(const char* s, const char* c, int n);
|
||||
struct miqt_string* QProcess_TrUtf82(const char* s, const char* c);
|
||||
struct miqt_string* QProcess_TrUtf83(const char* s, const char* c, int n);
|
||||
void QProcess_Start3(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments, int mode);
|
||||
void QProcess_Start3(QProcess* self, struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, int mode);
|
||||
void QProcess_Start22(QProcess* self, struct miqt_string* command, int mode);
|
||||
void QProcess_Start1(QProcess* self, int mode);
|
||||
bool QProcess_StartDetached1(QProcess* self, long long* pid);
|
||||
@ -130,7 +130,7 @@ bool QProcess_WaitForStarted1(QProcess* self, int msecs);
|
||||
bool QProcess_WaitForReadyRead1(QProcess* self, int msecs);
|
||||
bool QProcess_WaitForBytesWritten1(QProcess* self, int msecs);
|
||||
bool QProcess_WaitForFinished1(QProcess* self, int msecs);
|
||||
bool QProcess_StartDetached4(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory, long long* pid);
|
||||
bool QProcess_StartDetached4(struct miqt_string* program, struct miqt_array* /* of struct miqt_string* */ arguments, struct miqt_string* workingDirectory, long long* pid);
|
||||
void QProcess_Delete(QProcess* self);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -65,7 +65,7 @@ uintptr_t QSessionManager_RestartHint(const QSessionManager* self) {
|
||||
return static_cast<uintptr_t>(_ret);
|
||||
}
|
||||
|
||||
void QSessionManager_SetRestartCommand(QSessionManager* self, struct miqt_array* /* of QString */ restartCommand) {
|
||||
void QSessionManager_SetRestartCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string* */ restartCommand) {
|
||||
QList<QString> restartCommand_QList;
|
||||
restartCommand_QList.reserve(restartCommand->len);
|
||||
miqt_string** restartCommand_arr = static_cast<miqt_string**>(restartCommand->data);
|
||||
@ -91,7 +91,7 @@ struct miqt_array* QSessionManager_RestartCommand(const QSessionManager* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QSessionManager_SetDiscardCommand(QSessionManager* self, struct miqt_array* /* of QString */ discardCommand) {
|
||||
void QSessionManager_SetDiscardCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string* */ discardCommand) {
|
||||
QList<QString> discardCommand_QList;
|
||||
discardCommand_QList.reserve(discardCommand->len);
|
||||
miqt_string** discardCommand_arr = static_cast<miqt_string**>(discardCommand->data);
|
||||
@ -123,7 +123,7 @@ void QSessionManager_SetManagerProperty(QSessionManager* self, struct miqt_strin
|
||||
self->setManagerProperty(name_QString, value_QString);
|
||||
}
|
||||
|
||||
void QSessionManager_SetManagerProperty2(QSessionManager* self, struct miqt_string* name, struct miqt_array* /* of QString */ value) {
|
||||
void QSessionManager_SetManagerProperty2(QSessionManager* self, struct miqt_string* name, struct miqt_array* /* of struct miqt_string* */ value) {
|
||||
QString name_QString = QString::fromUtf8(&name->data, name->len);
|
||||
QList<QString> value_QList;
|
||||
value_QList.reserve(value->len);
|
||||
|
@ -32,12 +32,12 @@ void QSessionManager_Release(QSessionManager* self);
|
||||
void QSessionManager_Cancel(QSessionManager* self);
|
||||
void QSessionManager_SetRestartHint(QSessionManager* self, uintptr_t restartHint);
|
||||
uintptr_t QSessionManager_RestartHint(const QSessionManager* self);
|
||||
void QSessionManager_SetRestartCommand(QSessionManager* self, struct miqt_array* /* of QString */ restartCommand);
|
||||
void QSessionManager_SetRestartCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string* */ restartCommand);
|
||||
struct miqt_array* QSessionManager_RestartCommand(const QSessionManager* self);
|
||||
void QSessionManager_SetDiscardCommand(QSessionManager* self, struct miqt_array* /* of QString */ discardCommand);
|
||||
void QSessionManager_SetDiscardCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string* */ discardCommand);
|
||||
struct miqt_array* QSessionManager_DiscardCommand(const QSessionManager* self);
|
||||
void QSessionManager_SetManagerProperty(QSessionManager* self, struct miqt_string* name, struct miqt_string* value);
|
||||
void QSessionManager_SetManagerProperty2(QSessionManager* self, struct miqt_string* name, struct miqt_array* /* of QString */ value);
|
||||
void QSessionManager_SetManagerProperty2(QSessionManager* self, struct miqt_string* name, struct miqt_array* /* of struct miqt_string* */ value);
|
||||
bool QSessionManager_IsPhase2(const QSessionManager* self);
|
||||
void QSessionManager_RequestPhase2(QSessionManager* self);
|
||||
struct miqt_string* QSessionManager_Tr2(const char* s, const char* c);
|
||||
|
@ -231,7 +231,7 @@ bool QSortFilterProxyModel_SetHeaderData(QSortFilterProxyModel* self, int sectio
|
||||
return self->setHeaderData(static_cast<int>(section), static_cast<Qt::Orientation>(orientation), *value);
|
||||
}
|
||||
|
||||
QMimeData* QSortFilterProxyModel_MimeData(const QSortFilterProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QSortFilterProxyModel_MimeData(const QSortFilterProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
|
@ -83,7 +83,7 @@ QVariant* QSortFilterProxyModel_Data(const QSortFilterProxyModel* self, QModelIn
|
||||
bool QSortFilterProxyModel_SetData(QSortFilterProxyModel* self, QModelIndex* index, QVariant* value);
|
||||
QVariant* QSortFilterProxyModel_HeaderData(const QSortFilterProxyModel* self, int section, uintptr_t orientation);
|
||||
bool QSortFilterProxyModel_SetHeaderData(QSortFilterProxyModel* self, int section, uintptr_t orientation, QVariant* value);
|
||||
QMimeData* QSortFilterProxyModel_MimeData(const QSortFilterProxyModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QSortFilterProxyModel_MimeData(const QSortFilterProxyModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QSortFilterProxyModel_DropMimeData(QSortFilterProxyModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
bool QSortFilterProxyModel_InsertRows(QSortFilterProxyModel* self, int row, int count);
|
||||
bool QSortFilterProxyModel_InsertColumns(QSortFilterProxyModel* self, int column, int count);
|
||||
|
@ -665,7 +665,7 @@ void QStandardItemModel_SetVerticalHeaderItem(QStandardItemModel* self, int row,
|
||||
self->setVerticalHeaderItem(static_cast<int>(row), item);
|
||||
}
|
||||
|
||||
void QStandardItemModel_SetHorizontalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QStandardItemModel_SetHorizontalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
@ -675,7 +675,7 @@ void QStandardItemModel_SetHorizontalHeaderLabels(QStandardItemModel* self, stru
|
||||
self->setHorizontalHeaderLabels(labels_QList);
|
||||
}
|
||||
|
||||
void QStandardItemModel_SetVerticalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QStandardItemModel_SetVerticalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
@ -833,7 +833,7 @@ struct miqt_array* QStandardItemModel_MimeTypes(const QStandardItemModel* self)
|
||||
return _out;
|
||||
}
|
||||
|
||||
QMimeData* QStandardItemModel_MimeData(const QStandardItemModel* self, struct miqt_array* /* of QModelIndex */ indexes) {
|
||||
QMimeData* QStandardItemModel_MimeData(const QStandardItemModel* self, struct miqt_array* /* of QModelIndex* */ indexes) {
|
||||
QList<QModelIndex> indexes_QList;
|
||||
indexes_QList.reserve(indexes->len);
|
||||
QModelIndex** indexes_arr = static_cast<QModelIndex**>(indexes->data);
|
||||
|
@ -174,8 +174,8 @@ QStandardItem* QStandardItemModel_HorizontalHeaderItem(const QStandardItemModel*
|
||||
void QStandardItemModel_SetHorizontalHeaderItem(QStandardItemModel* self, int column, QStandardItem* item);
|
||||
QStandardItem* QStandardItemModel_VerticalHeaderItem(const QStandardItemModel* self, int row);
|
||||
void QStandardItemModel_SetVerticalHeaderItem(QStandardItemModel* self, int row, QStandardItem* item);
|
||||
void QStandardItemModel_SetHorizontalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of QString */ labels);
|
||||
void QStandardItemModel_SetVerticalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of QString */ labels);
|
||||
void QStandardItemModel_SetHorizontalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
void QStandardItemModel_SetVerticalHeaderLabels(QStandardItemModel* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
void QStandardItemModel_SetRowCount(QStandardItemModel* self, int rows);
|
||||
void QStandardItemModel_SetColumnCount(QStandardItemModel* self, int columns);
|
||||
void QStandardItemModel_AppendRow(QStandardItemModel* self, struct miqt_array* /* of QStandardItem* */ items);
|
||||
@ -197,7 +197,7 @@ struct miqt_array* QStandardItemModel_FindItems(const QStandardItemModel* self,
|
||||
int QStandardItemModel_SortRole(const QStandardItemModel* self);
|
||||
void QStandardItemModel_SetSortRole(QStandardItemModel* self, int role);
|
||||
struct miqt_array* QStandardItemModel_MimeTypes(const QStandardItemModel* self);
|
||||
QMimeData* QStandardItemModel_MimeData(const QStandardItemModel* self, struct miqt_array* /* of QModelIndex */ indexes);
|
||||
QMimeData* QStandardItemModel_MimeData(const QStandardItemModel* self, struct miqt_array* /* of QModelIndex* */ indexes);
|
||||
bool QStandardItemModel_DropMimeData(QStandardItemModel* self, QMimeData* data, uintptr_t action, int row, int column, QModelIndex* parent);
|
||||
void QStandardItemModel_ItemChanged(QStandardItemModel* self, QStandardItem* item);
|
||||
void QStandardItemModel_connect_ItemChanged(QStandardItemModel* self, void* slot);
|
||||
|
@ -107,7 +107,7 @@ struct miqt_array* QStandardPaths_LocateAll3(uintptr_t typeVal, struct miqt_stri
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_string* QStandardPaths_FindExecutable2(struct miqt_string* executableName, struct miqt_array* /* of QString */ paths) {
|
||||
struct miqt_string* QStandardPaths_FindExecutable2(struct miqt_string* executableName, struct miqt_array* /* of struct miqt_string* */ paths) {
|
||||
QString executableName_QString = QString::fromUtf8(&executableName->data, executableName->len);
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
|
@ -30,7 +30,7 @@ void QStandardPaths_SetTestModeEnabled(bool testMode);
|
||||
bool QStandardPaths_IsTestModeEnabled();
|
||||
struct miqt_string* QStandardPaths_Locate3(uintptr_t typeVal, struct miqt_string* fileName, int options);
|
||||
struct miqt_array* QStandardPaths_LocateAll3(uintptr_t typeVal, struct miqt_string* fileName, int options);
|
||||
struct miqt_string* QStandardPaths_FindExecutable2(struct miqt_string* executableName, struct miqt_array* /* of QString */ paths);
|
||||
struct miqt_string* QStandardPaths_FindExecutable2(struct miqt_string* executableName, struct miqt_array* /* of struct miqt_string* */ paths);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern C */
|
||||
|
@ -15,7 +15,7 @@ QStringListModel* QStringListModel_new() {
|
||||
return new QStringListModel();
|
||||
}
|
||||
|
||||
QStringListModel* QStringListModel_new2(struct miqt_array* /* of QString */ strings) {
|
||||
QStringListModel* QStringListModel_new2(struct miqt_array* /* of struct miqt_string* */ strings) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -29,7 +29,7 @@ QStringListModel* QStringListModel_new3(QObject* parent) {
|
||||
return new QStringListModel(parent);
|
||||
}
|
||||
|
||||
QStringListModel* QStringListModel_new4(struct miqt_array* /* of QString */ strings, QObject* parent) {
|
||||
QStringListModel* QStringListModel_new4(struct miqt_array* /* of struct miqt_string* */ strings, QObject* parent) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -114,7 +114,7 @@ struct miqt_array* QStringListModel_StringList(const QStringListModel* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QStringListModel_SetStringList(QStringListModel* self, struct miqt_array* /* of QString */ strings) {
|
||||
void QStringListModel_SetStringList(QStringListModel* self, struct miqt_array* /* of struct miqt_string* */ strings) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
|
@ -28,9 +28,9 @@ typedef struct QVariant QVariant;
|
||||
#endif
|
||||
|
||||
QStringListModel* QStringListModel_new();
|
||||
QStringListModel* QStringListModel_new2(struct miqt_array* /* of QString */ strings);
|
||||
QStringListModel* QStringListModel_new2(struct miqt_array* /* of struct miqt_string* */ strings);
|
||||
QStringListModel* QStringListModel_new3(QObject* parent);
|
||||
QStringListModel* QStringListModel_new4(struct miqt_array* /* of QString */ strings, QObject* parent);
|
||||
QStringListModel* QStringListModel_new4(struct miqt_array* /* of struct miqt_string* */ strings, QObject* parent);
|
||||
QMetaObject* QStringListModel_MetaObject(const QStringListModel* self);
|
||||
struct miqt_string* QStringListModel_Tr(const char* s);
|
||||
struct miqt_string* QStringListModel_TrUtf8(const char* s);
|
||||
@ -44,7 +44,7 @@ bool QStringListModel_RemoveRows(QStringListModel* self, int row, int count);
|
||||
bool QStringListModel_MoveRows(QStringListModel* self, QModelIndex* sourceParent, int sourceRow, int count, QModelIndex* destinationParent, int destinationChild);
|
||||
void QStringListModel_Sort(QStringListModel* self, int column);
|
||||
struct miqt_array* QStringListModel_StringList(const QStringListModel* self);
|
||||
void QStringListModel_SetStringList(QStringListModel* self, struct miqt_array* /* of QString */ strings);
|
||||
void QStringListModel_SetStringList(QStringListModel* self, struct miqt_array* /* of struct miqt_string* */ strings);
|
||||
int QStringListModel_SupportedDropActions(const QStringListModel* self);
|
||||
struct miqt_string* QStringListModel_Tr2(const char* s, const char* c);
|
||||
struct miqt_string* QStringListModel_Tr3(const char* s, const char* c, int n);
|
||||
|
@ -392,7 +392,7 @@ QTableWidgetItem* QTableWidget_TakeHorizontalHeaderItem(QTableWidget* self, int
|
||||
return self->takeHorizontalHeaderItem(static_cast<int>(column));
|
||||
}
|
||||
|
||||
void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
@ -402,7 +402,7 @@ void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array*
|
||||
self->setVerticalHeaderLabels(labels_QList);
|
||||
}
|
||||
|
||||
void QTableWidget_SetHorizontalHeaderLabels(QTableWidget* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QTableWidget_SetHorizontalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
|
@ -129,8 +129,8 @@ QTableWidgetItem* QTableWidget_TakeVerticalHeaderItem(QTableWidget* self, int ro
|
||||
QTableWidgetItem* QTableWidget_HorizontalHeaderItem(const QTableWidget* self, int column);
|
||||
void QTableWidget_SetHorizontalHeaderItem(QTableWidget* self, int column, QTableWidgetItem* item);
|
||||
QTableWidgetItem* QTableWidget_TakeHorizontalHeaderItem(QTableWidget* self, int column);
|
||||
void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array* /* of QString */ labels);
|
||||
void QTableWidget_SetHorizontalHeaderLabels(QTableWidget* self, struct miqt_array* /* of QString */ labels);
|
||||
void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
void QTableWidget_SetHorizontalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
int QTableWidget_CurrentRow(const QTableWidget* self);
|
||||
int QTableWidget_CurrentColumn(const QTableWidget* self);
|
||||
QTableWidgetItem* QTableWidget_CurrentItem(const QTableWidget* self);
|
||||
|
@ -64,7 +64,7 @@ struct miqt_array* QTextBrowser_SearchPaths(const QTextBrowser* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QTextBrowser_SetSearchPaths(QTextBrowser* self, struct miqt_array* /* of QString */ paths) {
|
||||
void QTextBrowser_SetSearchPaths(QTextBrowser* self, struct miqt_array* /* of struct miqt_string* */ paths) {
|
||||
QList<QString> paths_QList;
|
||||
paths_QList.reserve(paths->len);
|
||||
miqt_string** paths_arr = static_cast<miqt_string**>(paths->data);
|
||||
|
@ -35,7 +35,7 @@ struct miqt_string* QTextBrowser_TrUtf8(const char* s);
|
||||
QUrl* QTextBrowser_Source(const QTextBrowser* self);
|
||||
uintptr_t QTextBrowser_SourceType(const QTextBrowser* self);
|
||||
struct miqt_array* QTextBrowser_SearchPaths(const QTextBrowser* self);
|
||||
void QTextBrowser_SetSearchPaths(QTextBrowser* self, struct miqt_array* /* of QString */ paths);
|
||||
void QTextBrowser_SetSearchPaths(QTextBrowser* self, struct miqt_array* /* of struct miqt_string* */ paths);
|
||||
QVariant* QTextBrowser_LoadResource(QTextBrowser* self, int typeVal, QUrl* name);
|
||||
bool QTextBrowser_IsBackwardAvailable(const QTextBrowser* self);
|
||||
bool QTextBrowser_IsForwardAvailable(const QTextBrowser* self);
|
||||
|
@ -346,7 +346,7 @@ void QTextEdit_SetAcceptRichText(QTextEdit* self, bool accept) {
|
||||
self->setAcceptRichText(accept);
|
||||
}
|
||||
|
||||
void QTextEdit_SetExtraSelections(QTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection */ selections) {
|
||||
void QTextEdit_SetExtraSelections(QTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection* */ selections) {
|
||||
QList<QTextEdit::ExtraSelection> selections_QList;
|
||||
selections_QList.reserve(selections->len);
|
||||
QTextEdit__ExtraSelection** selections_arr = static_cast<QTextEdit__ExtraSelection**>(selections->data);
|
||||
|
@ -122,7 +122,7 @@ int QTextEdit_CursorWidth(const QTextEdit* self);
|
||||
void QTextEdit_SetCursorWidth(QTextEdit* self, int width);
|
||||
bool QTextEdit_AcceptRichText(const QTextEdit* self);
|
||||
void QTextEdit_SetAcceptRichText(QTextEdit* self, bool accept);
|
||||
void QTextEdit_SetExtraSelections(QTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection */ selections);
|
||||
void QTextEdit_SetExtraSelections(QTextEdit* self, struct miqt_array* /* of QTextEdit__ExtraSelection* */ selections);
|
||||
struct miqt_array* QTextEdit_ExtraSelections(const QTextEdit* self);
|
||||
void QTextEdit_MoveCursor(QTextEdit* self, uintptr_t operation);
|
||||
bool QTextEdit_CanPaste(const QTextEdit* self);
|
||||
|
@ -176,7 +176,7 @@ struct miqt_array* QTextFormat_LengthVectorProperty(const QTextFormat* self, int
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QTextFormat_SetProperty2(QTextFormat* self, int propertyId, struct miqt_array* /* of QTextLength */ lengths) {
|
||||
void QTextFormat_SetProperty2(QTextFormat* self, int propertyId, struct miqt_array* /* of QTextLength* */ lengths) {
|
||||
QVector<QTextLength> lengths_QList;
|
||||
lengths_QList.reserve(lengths->len);
|
||||
QTextLength** lengths_arr = static_cast<QTextLength**>(lengths->data);
|
||||
@ -355,7 +355,7 @@ struct miqt_string* QTextCharFormat_FontFamily(const QTextCharFormat* self) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QTextCharFormat_SetFontFamilies(QTextCharFormat* self, struct miqt_array* /* of QString */ families) {
|
||||
void QTextCharFormat_SetFontFamilies(QTextCharFormat* self, struct miqt_array* /* of struct miqt_string* */ families) {
|
||||
QList<QString> families_QList;
|
||||
families_QList.reserve(families->len);
|
||||
miqt_string** families_arr = static_cast<miqt_string**>(families->data);
|
||||
@ -597,7 +597,7 @@ struct miqt_string* QTextCharFormat_AnchorName(const QTextCharFormat* self) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QTextCharFormat_SetAnchorNames(QTextCharFormat* self, struct miqt_array* /* of QString */ names) {
|
||||
void QTextCharFormat_SetAnchorNames(QTextCharFormat* self, struct miqt_array* /* of struct miqt_string* */ names) {
|
||||
QList<QString> names_QList;
|
||||
names_QList.reserve(names->len);
|
||||
miqt_string** names_arr = static_cast<miqt_string**>(names->data);
|
||||
@ -757,7 +757,7 @@ int QTextBlockFormat_PageBreakPolicy(const QTextBlockFormat* self) {
|
||||
return static_cast<int>(_ret);
|
||||
}
|
||||
|
||||
void QTextBlockFormat_SetTabPositions(QTextBlockFormat* self, struct miqt_array* /* of QTextOption__Tab */ tabs) {
|
||||
void QTextBlockFormat_SetTabPositions(QTextBlockFormat* self, struct miqt_array* /* of QTextOption__Tab* */ tabs) {
|
||||
QList<QTextOption::Tab> tabs_QList;
|
||||
tabs_QList.reserve(tabs->len);
|
||||
QTextOption__Tab** tabs_arr = static_cast<QTextOption__Tab**>(tabs->data);
|
||||
@ -1055,7 +1055,7 @@ void QTextTableFormat_SetColumns(QTextTableFormat* self, int columns) {
|
||||
self->setColumns(static_cast<int>(columns));
|
||||
}
|
||||
|
||||
void QTextTableFormat_SetColumnWidthConstraints(QTextTableFormat* self, struct miqt_array* /* of QTextLength */ constraints) {
|
||||
void QTextTableFormat_SetColumnWidthConstraints(QTextTableFormat* self, struct miqt_array* /* of QTextLength* */ constraints) {
|
||||
QVector<QTextLength> constraints_QList;
|
||||
constraints_QList.reserve(constraints->len);
|
||||
QTextLength** constraints_arr = static_cast<QTextLength**>(constraints->data);
|
||||
|
@ -85,7 +85,7 @@ QPen* QTextFormat_PenProperty(const QTextFormat* self, int propertyId);
|
||||
QBrush* QTextFormat_BrushProperty(const QTextFormat* self, int propertyId);
|
||||
QTextLength* QTextFormat_LengthProperty(const QTextFormat* self, int propertyId);
|
||||
struct miqt_array* QTextFormat_LengthVectorProperty(const QTextFormat* self, int propertyId);
|
||||
void QTextFormat_SetProperty2(QTextFormat* self, int propertyId, struct miqt_array* /* of QTextLength */ lengths);
|
||||
void QTextFormat_SetProperty2(QTextFormat* self, int propertyId, struct miqt_array* /* of QTextLength* */ lengths);
|
||||
int QTextFormat_PropertyCount(const QTextFormat* self);
|
||||
void QTextFormat_SetObjectType(QTextFormat* self, int typeVal);
|
||||
int QTextFormat_ObjectType(const QTextFormat* self);
|
||||
@ -123,7 +123,7 @@ void QTextCharFormat_SetFontWithFont(QTextCharFormat* self, QFont* font);
|
||||
QFont* QTextCharFormat_Font(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetFontFamily(QTextCharFormat* self, struct miqt_string* family);
|
||||
struct miqt_string* QTextCharFormat_FontFamily(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetFontFamilies(QTextCharFormat* self, struct miqt_array* /* of QString */ families);
|
||||
void QTextCharFormat_SetFontFamilies(QTextCharFormat* self, struct miqt_array* /* of struct miqt_string* */ families);
|
||||
QVariant* QTextCharFormat_FontFamilies(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetFontStyleName(QTextCharFormat* self, struct miqt_string* styleName);
|
||||
QVariant* QTextCharFormat_FontStyleName(const QTextCharFormat* self);
|
||||
@ -175,7 +175,7 @@ void QTextCharFormat_SetAnchorHref(QTextCharFormat* self, struct miqt_string* va
|
||||
struct miqt_string* QTextCharFormat_AnchorHref(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetAnchorName(QTextCharFormat* self, struct miqt_string* name);
|
||||
struct miqt_string* QTextCharFormat_AnchorName(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetAnchorNames(QTextCharFormat* self, struct miqt_array* /* of QString */ names);
|
||||
void QTextCharFormat_SetAnchorNames(QTextCharFormat* self, struct miqt_array* /* of struct miqt_string* */ names);
|
||||
struct miqt_array* QTextCharFormat_AnchorNames(const QTextCharFormat* self);
|
||||
void QTextCharFormat_SetTableCellRowSpan(QTextCharFormat* self, int tableCellRowSpan);
|
||||
int QTextCharFormat_TableCellRowSpan(const QTextCharFormat* self);
|
||||
@ -211,7 +211,7 @@ void QTextBlockFormat_SetNonBreakableLines(QTextBlockFormat* self, bool b);
|
||||
bool QTextBlockFormat_NonBreakableLines(const QTextBlockFormat* self);
|
||||
void QTextBlockFormat_SetPageBreakPolicy(QTextBlockFormat* self, int flags);
|
||||
int QTextBlockFormat_PageBreakPolicy(const QTextBlockFormat* self);
|
||||
void QTextBlockFormat_SetTabPositions(QTextBlockFormat* self, struct miqt_array* /* of QTextOption__Tab */ tabs);
|
||||
void QTextBlockFormat_SetTabPositions(QTextBlockFormat* self, struct miqt_array* /* of QTextOption__Tab* */ tabs);
|
||||
struct miqt_array* QTextBlockFormat_TabPositions(const QTextBlockFormat* self);
|
||||
void QTextBlockFormat_SetMarker(QTextBlockFormat* self, uintptr_t marker);
|
||||
uintptr_t QTextBlockFormat_Marker(const QTextBlockFormat* self);
|
||||
@ -280,7 +280,7 @@ QTextTableFormat* QTextTableFormat_new();
|
||||
bool QTextTableFormat_IsValid(const QTextTableFormat* self);
|
||||
int QTextTableFormat_Columns(const QTextTableFormat* self);
|
||||
void QTextTableFormat_SetColumns(QTextTableFormat* self, int columns);
|
||||
void QTextTableFormat_SetColumnWidthConstraints(QTextTableFormat* self, struct miqt_array* /* of QTextLength */ constraints);
|
||||
void QTextTableFormat_SetColumnWidthConstraints(QTextTableFormat* self, struct miqt_array* /* of QTextLength* */ constraints);
|
||||
struct miqt_array* QTextTableFormat_ColumnWidthConstraints(const QTextTableFormat* self);
|
||||
void QTextTableFormat_ClearColumnWidthConstraints(QTextTableFormat* self);
|
||||
double QTextTableFormat_CellSpacing(const QTextTableFormat* self);
|
||||
|
@ -160,7 +160,7 @@ struct miqt_string* QTextLayout_PreeditAreaText(const QTextLayout* self) {
|
||||
return miqt_strdup(_b.data(), _b.length());
|
||||
}
|
||||
|
||||
void QTextLayout_SetAdditionalFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange */ overrides) {
|
||||
void QTextLayout_SetAdditionalFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange* */ overrides) {
|
||||
QList<QTextLayout::FormatRange> overrides_QList;
|
||||
overrides_QList.reserve(overrides->len);
|
||||
QTextLayout__FormatRange** overrides_arr = static_cast<QTextLayout__FormatRange**>(overrides->data);
|
||||
@ -187,7 +187,7 @@ void QTextLayout_ClearAdditionalFormats(QTextLayout* self) {
|
||||
self->clearAdditionalFormats();
|
||||
}
|
||||
|
||||
void QTextLayout_SetFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange */ overrides) {
|
||||
void QTextLayout_SetFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange* */ overrides) {
|
||||
QVector<QTextLayout::FormatRange> overrides_QList;
|
||||
overrides_QList.reserve(overrides->len);
|
||||
QTextLayout__FormatRange** overrides_arr = static_cast<QTextLayout__FormatRange**>(overrides->data);
|
||||
@ -346,7 +346,7 @@ int QTextLayout_PreviousCursorPosition2(const QTextLayout* self, int oldPos, uin
|
||||
return self->previousCursorPosition(static_cast<int>(oldPos), static_cast<QTextLayout::CursorMode>(mode));
|
||||
}
|
||||
|
||||
void QTextLayout_Draw3(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange */ selections) {
|
||||
void QTextLayout_Draw3(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange* */ selections) {
|
||||
QVector<QTextLayout::FormatRange> selections_QList;
|
||||
selections_QList.reserve(selections->len);
|
||||
QTextLayout__FormatRange** selections_arr = static_cast<QTextLayout__FormatRange**>(selections->data);
|
||||
@ -356,7 +356,7 @@ void QTextLayout_Draw3(const QTextLayout* self, QPainter* p, QPointF* pos, struc
|
||||
self->draw(p, *pos, selections_QList);
|
||||
}
|
||||
|
||||
void QTextLayout_Draw4(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange */ selections, QRectF* clip) {
|
||||
void QTextLayout_Draw4(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange* */ selections, QRectF* clip) {
|
||||
QVector<QTextLayout::FormatRange> selections_QList;
|
||||
selections_QList.reserve(selections->len);
|
||||
QTextLayout__FormatRange** selections_arr = static_cast<QTextLayout__FormatRange**>(selections->data);
|
||||
|
@ -80,10 +80,10 @@ QTextOption* QTextLayout_TextOption(const QTextLayout* self);
|
||||
void QTextLayout_SetPreeditArea(QTextLayout* self, int position, struct miqt_string* text);
|
||||
int QTextLayout_PreeditAreaPosition(const QTextLayout* self);
|
||||
struct miqt_string* QTextLayout_PreeditAreaText(const QTextLayout* self);
|
||||
void QTextLayout_SetAdditionalFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange */ overrides);
|
||||
void QTextLayout_SetAdditionalFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange* */ overrides);
|
||||
struct miqt_array* QTextLayout_AdditionalFormats(const QTextLayout* self);
|
||||
void QTextLayout_ClearAdditionalFormats(QTextLayout* self);
|
||||
void QTextLayout_SetFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange */ overrides);
|
||||
void QTextLayout_SetFormats(QTextLayout* self, struct miqt_array* /* of QTextLayout__FormatRange* */ overrides);
|
||||
struct miqt_array* QTextLayout_Formats(const QTextLayout* self);
|
||||
void QTextLayout_ClearFormats(QTextLayout* self);
|
||||
void QTextLayout_SetCacheEnabled(QTextLayout* self, bool enable);
|
||||
@ -114,8 +114,8 @@ struct miqt_array* QTextLayout_GlyphRuns(const QTextLayout* self);
|
||||
void QTextLayout_SetFlags(QTextLayout* self, int flags);
|
||||
int QTextLayout_NextCursorPosition2(const QTextLayout* self, int oldPos, uintptr_t mode);
|
||||
int QTextLayout_PreviousCursorPosition2(const QTextLayout* self, int oldPos, uintptr_t mode);
|
||||
void QTextLayout_Draw3(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange */ selections);
|
||||
void QTextLayout_Draw4(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange */ selections, QRectF* clip);
|
||||
void QTextLayout_Draw3(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange* */ selections);
|
||||
void QTextLayout_Draw4(const QTextLayout* self, QPainter* p, QPointF* pos, struct miqt_array* /* of QTextLayout__FormatRange* */ selections, QRectF* clip);
|
||||
struct miqt_array* QTextLayout_GlyphRuns1(const QTextLayout* self, int from);
|
||||
struct miqt_array* QTextLayout_GlyphRuns2(const QTextLayout* self, int from, int length);
|
||||
void QTextLayout_Delete(QTextLayout* self);
|
||||
|
@ -97,7 +97,7 @@ struct miqt_array* QTextOption_TabArray(const QTextOption* self) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QTextOption_SetTabs(QTextOption* self, struct miqt_array* /* of QTextOption__Tab */ tabStops) {
|
||||
void QTextOption_SetTabs(QTextOption* self, struct miqt_array* /* of QTextOption__Tab* */ tabStops) {
|
||||
QList<QTextOption::Tab> tabStops_QList;
|
||||
tabStops_QList.reserve(tabStops->len);
|
||||
QTextOption__Tab** tabStops_arr = static_cast<QTextOption__Tab**>(tabStops->data);
|
||||
|
@ -45,7 +45,7 @@ void QTextOption_SetTabStopDistance(QTextOption* self, double tabStopDistance);
|
||||
double QTextOption_TabStopDistance(const QTextOption* self);
|
||||
void QTextOption_SetTabArray(QTextOption* self, struct miqt_array* /* of double */ tabStops);
|
||||
struct miqt_array* QTextOption_TabArray(const QTextOption* self);
|
||||
void QTextOption_SetTabs(QTextOption* self, struct miqt_array* /* of QTextOption__Tab */ tabStops);
|
||||
void QTextOption_SetTabs(QTextOption* self, struct miqt_array* /* of QTextOption__Tab* */ tabStops);
|
||||
struct miqt_array* QTextOption_Tabs(const QTextOption* self);
|
||||
void QTextOption_SetUseDesignMetrics(QTextOption* self, bool b);
|
||||
bool QTextOption_UseDesignMetrics(const QTextOption* self);
|
||||
|
@ -14,7 +14,7 @@ QTouchDevice* QTouchDevice_new() {
|
||||
struct miqt_array* QTouchDevice_Devices() {
|
||||
QList<const QTouchDevice*> _ret = QTouchDevice::devices();
|
||||
// Convert QList<> from C++ memory to manually-managed C memory
|
||||
const QTouchDevice** _arr = static_cast<const QTouchDevice**>(malloc(sizeof(const QTouchDevice*) * _ret.length()));
|
||||
QTouchDevice** _arr = static_cast<QTouchDevice**>(malloc(sizeof(QTouchDevice*) * _ret.length()));
|
||||
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
|
||||
_arr[i] = const_cast<QTouchDevice*>(_ret[i]);
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ QTreeWidgetItem* QTreeWidgetItem_new() {
|
||||
return new QTreeWidgetItem();
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new2(struct miqt_array* /* of QString */ strings) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new2(struct miqt_array* /* of struct miqt_string* */ strings) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -38,7 +38,7 @@ QTreeWidgetItem* QTreeWidgetItem_new3(QTreeWidget* treeview) {
|
||||
return new QTreeWidgetItem(treeview);
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new4(QTreeWidget* treeview, struct miqt_array* /* of QString */ strings) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new4(QTreeWidget* treeview, struct miqt_array* /* of struct miqt_string* */ strings) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -56,7 +56,7 @@ QTreeWidgetItem* QTreeWidgetItem_new6(QTreeWidgetItem* parent) {
|
||||
return new QTreeWidgetItem(parent);
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array* /* of QString */ strings) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array* /* of struct miqt_string* */ strings) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -78,7 +78,7 @@ QTreeWidgetItem* QTreeWidgetItem_new10(int typeVal) {
|
||||
return new QTreeWidgetItem(static_cast<int>(typeVal));
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array* /* of QString */ strings, int typeVal) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array* /* of struct miqt_string* */ strings, int typeVal) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -92,7 +92,7 @@ QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int typeVal) {
|
||||
return new QTreeWidgetItem(treeview, static_cast<int>(typeVal));
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array* /* of QString */ strings, int typeVal) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array* /* of struct miqt_string* */ strings, int typeVal) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -110,7 +110,7 @@ QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int typeVal) {
|
||||
return new QTreeWidgetItem(parent, static_cast<int>(typeVal));
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array* /* of QString */ strings, int typeVal) {
|
||||
QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array* /* of struct miqt_string* */ strings, int typeVal) {
|
||||
QList<QString> strings_QList;
|
||||
strings_QList.reserve(strings->len);
|
||||
miqt_string** strings_arr = static_cast<miqt_string**>(strings->data);
|
||||
@ -522,7 +522,7 @@ void QTreeWidget_SetHeaderItem(QTreeWidget* self, QTreeWidgetItem* item) {
|
||||
self->setHeaderItem(item);
|
||||
}
|
||||
|
||||
void QTreeWidget_SetHeaderLabels(QTreeWidget* self, struct miqt_array* /* of QString */ labels) {
|
||||
void QTreeWidget_SetHeaderLabels(QTreeWidget* self, struct miqt_array* /* of struct miqt_string* */ labels) {
|
||||
QList<QString> labels_QList;
|
||||
labels_QList.reserve(labels->len);
|
||||
miqt_string** labels_arr = static_cast<miqt_string**>(labels->data);
|
||||
|
@ -46,21 +46,21 @@ typedef struct QWidget QWidget;
|
||||
#endif
|
||||
|
||||
QTreeWidgetItem* QTreeWidgetItem_new();
|
||||
QTreeWidgetItem* QTreeWidgetItem_new2(struct miqt_array* /* of QString */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new2(struct miqt_array* /* of struct miqt_string* */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new3(QTreeWidget* treeview);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new4(QTreeWidget* treeview, struct miqt_array* /* of QString */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new4(QTreeWidget* treeview, struct miqt_array* /* of struct miqt_string* */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new5(QTreeWidget* treeview, QTreeWidgetItem* after);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new6(QTreeWidgetItem* parent);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array* /* of QString */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array* /* of struct miqt_string* */ strings);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new8(QTreeWidgetItem* parent, QTreeWidgetItem* after);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new9(QTreeWidgetItem* other);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new10(int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array* /* of QString */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array* /* of struct miqt_string* */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array* /* of QString */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array* /* of struct miqt_string* */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, QTreeWidgetItem* after, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array* /* of QString */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array* /* of struct miqt_string* */ strings, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, QTreeWidgetItem* after, int typeVal);
|
||||
QTreeWidgetItem* QTreeWidgetItem_Clone(const QTreeWidgetItem* self);
|
||||
QTreeWidget* QTreeWidgetItem_TreeWidget(const QTreeWidgetItem* self);
|
||||
@ -144,7 +144,7 @@ void QTreeWidget_InsertTopLevelItems(QTreeWidget* self, int index, struct miqt_a
|
||||
void QTreeWidget_AddTopLevelItems(QTreeWidget* self, struct miqt_array* /* of QTreeWidgetItem* */ items);
|
||||
QTreeWidgetItem* QTreeWidget_HeaderItem(const QTreeWidget* self);
|
||||
void QTreeWidget_SetHeaderItem(QTreeWidget* self, QTreeWidgetItem* item);
|
||||
void QTreeWidget_SetHeaderLabels(QTreeWidget* self, struct miqt_array* /* of QString */ labels);
|
||||
void QTreeWidget_SetHeaderLabels(QTreeWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
||||
void QTreeWidget_SetHeaderLabel(QTreeWidget* self, struct miqt_string* label);
|
||||
QTreeWidgetItem* QTreeWidget_CurrentItem(const QTreeWidget* self);
|
||||
int QTreeWidget_CurrentColumn(const QTreeWidget* self);
|
||||
|
@ -350,7 +350,7 @@ struct miqt_array* QUrl_IdnWhitelist() {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QUrl_ToStringList(struct miqt_array* /* of QUrl */ uris) {
|
||||
struct miqt_array* QUrl_ToStringList(struct miqt_array* /* of QUrl* */ uris) {
|
||||
QList<QUrl> uris_QList;
|
||||
uris_QList.reserve(uris->len);
|
||||
QUrl** uris_arr = static_cast<QUrl**>(uris->data);
|
||||
@ -372,7 +372,7 @@ struct miqt_array* QUrl_ToStringList(struct miqt_array* /* of QUrl */ uris) {
|
||||
return _out;
|
||||
}
|
||||
|
||||
struct miqt_array* QUrl_FromStringList(struct miqt_array* /* of QString */ uris) {
|
||||
struct miqt_array* QUrl_FromStringList(struct miqt_array* /* of struct miqt_string* */ uris) {
|
||||
QList<QString> uris_QList;
|
||||
uris_QList.reserve(uris->len);
|
||||
miqt_string** uris_arr = static_cast<miqt_string**>(uris->data);
|
||||
@ -391,7 +391,7 @@ struct miqt_array* QUrl_FromStringList(struct miqt_array* /* of QString */ uris)
|
||||
return _out;
|
||||
}
|
||||
|
||||
void QUrl_SetIdnWhitelist(struct miqt_array* /* of QString */ idnWhitelist) {
|
||||
void QUrl_SetIdnWhitelist(struct miqt_array* /* of struct miqt_string* */ idnWhitelist) {
|
||||
QList<QString> idnWhitelist_QList;
|
||||
idnWhitelist_QList.reserve(idnWhitelist->len);
|
||||
miqt_string** idnWhitelist_arr = static_cast<miqt_string**>(idnWhitelist->data);
|
||||
@ -548,7 +548,7 @@ QByteArray* QUrl_ToPercentEncoding3(struct miqt_string* param1, QByteArray* excl
|
||||
return static_cast<QByteArray*>(new QByteArray(_ret));
|
||||
}
|
||||
|
||||
struct miqt_array* QUrl_FromStringList2(struct miqt_array* /* of QString */ uris, uintptr_t mode) {
|
||||
struct miqt_array* QUrl_FromStringList2(struct miqt_array* /* of struct miqt_string* */ uris, uintptr_t mode) {
|
||||
QList<QString> uris_QList;
|
||||
uris_QList.reserve(uris->len);
|
||||
miqt_string** uris_arr = static_cast<miqt_string**>(uris->data);
|
||||
|
@ -83,9 +83,9 @@ QByteArray* QUrl_ToPercentEncoding(struct miqt_string* param1);
|
||||
struct miqt_string* QUrl_FromAce(QByteArray* param1);
|
||||
QByteArray* QUrl_ToAce(struct miqt_string* param1);
|
||||
struct miqt_array* QUrl_IdnWhitelist();
|
||||
struct miqt_array* QUrl_ToStringList(struct miqt_array* /* of QUrl */ uris);
|
||||
struct miqt_array* QUrl_FromStringList(struct miqt_array* /* of QString */ uris);
|
||||
void QUrl_SetIdnWhitelist(struct miqt_array* /* of QString */ idnWhitelist);
|
||||
struct miqt_array* QUrl_ToStringList(struct miqt_array* /* of QUrl* */ uris);
|
||||
struct miqt_array* QUrl_FromStringList(struct miqt_array* /* of struct miqt_string* */ uris);
|
||||
void QUrl_SetIdnWhitelist(struct miqt_array* /* of struct miqt_string* */ idnWhitelist);
|
||||
void QUrl_SetUrl2(QUrl* self, struct miqt_string* url, uintptr_t mode);
|
||||
QUrl* QUrl_FromEncoded2(QByteArray* url, uintptr_t mode);
|
||||
QUrl* QUrl_FromUserInput3(struct miqt_string* userInput, struct miqt_string* workingDirectory, int options);
|
||||
@ -110,7 +110,7 @@ struct miqt_string* QUrl_Fragment1(const QUrl* self, int options);
|
||||
void QUrl_SetFragment2(QUrl* self, struct miqt_string* fragment, uintptr_t mode);
|
||||
QByteArray* QUrl_ToPercentEncoding2(struct miqt_string* param1, QByteArray* exclude);
|
||||
QByteArray* QUrl_ToPercentEncoding3(struct miqt_string* param1, QByteArray* exclude, QByteArray* include);
|
||||
struct miqt_array* QUrl_FromStringList2(struct miqt_array* /* of QString */ uris, uintptr_t mode);
|
||||
struct miqt_array* QUrl_FromStringList2(struct miqt_array* /* of struct miqt_string* */ uris, uintptr_t mode);
|
||||
void QUrl_Delete(QUrl* self);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -104,7 +104,7 @@ QVariant* QVariant_new15(struct miqt_string* stringVal) {
|
||||
return new QVariant(stringVal_QString);
|
||||
}
|
||||
|
||||
QVariant* QVariant_new16(struct miqt_array* /* of QString */ stringlist) {
|
||||
QVariant* QVariant_new16(struct miqt_array* /* of struct miqt_string* */ stringlist) {
|
||||
QList<QString> stringlist_QList;
|
||||
stringlist_QList.reserve(stringlist->len);
|
||||
miqt_string** stringlist_arr = static_cast<miqt_string**>(stringlist->data);
|
||||
|
@ -130,7 +130,7 @@ QVariant* QVariant_new12(const char* str);
|
||||
QVariant* QVariant_new13(QByteArray* bytearray);
|
||||
QVariant* QVariant_new14(QBitArray* bitarray);
|
||||
QVariant* QVariant_new15(struct miqt_string* stringVal);
|
||||
QVariant* QVariant_new16(struct miqt_array* /* of QString */ stringlist);
|
||||
QVariant* QVariant_new16(struct miqt_array* /* of struct miqt_string* */ stringlist);
|
||||
QVariant* QVariant_new17(QChar* qchar);
|
||||
QVariant* QVariant_new18(QDate* date);
|
||||
QVariant* QVariant_new19(QTime* time);
|
||||
|
@ -372,7 +372,7 @@ void QXmlStreamReader_AddExtraNamespaceDeclaration(QXmlStreamReader* self, QXmlS
|
||||
self->addExtraNamespaceDeclaration(*extraNamespaceDeclaraction);
|
||||
}
|
||||
|
||||
void QXmlStreamReader_AddExtraNamespaceDeclarations(QXmlStreamReader* self, struct miqt_array* /* of QXmlStreamNamespaceDeclaration */ extraNamespaceDeclaractions) {
|
||||
void QXmlStreamReader_AddExtraNamespaceDeclarations(QXmlStreamReader* self, struct miqt_array* /* of QXmlStreamNamespaceDeclaration* */ extraNamespaceDeclaractions) {
|
||||
QVector<QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions_QList;
|
||||
extraNamespaceDeclaractions_QList.reserve(extraNamespaceDeclaractions->len);
|
||||
QXmlStreamNamespaceDeclaration** extraNamespaceDeclaractions_arr = static_cast<QXmlStreamNamespaceDeclaration**>(extraNamespaceDeclaractions->data);
|
||||
|
@ -124,7 +124,7 @@ long long QXmlStreamReader_CharacterOffset(const QXmlStreamReader* self);
|
||||
struct miqt_string* QXmlStreamReader_ReadElementText(QXmlStreamReader* self);
|
||||
struct miqt_array* QXmlStreamReader_NamespaceDeclarations(const QXmlStreamReader* self);
|
||||
void QXmlStreamReader_AddExtraNamespaceDeclaration(QXmlStreamReader* self, QXmlStreamNamespaceDeclaration* extraNamespaceDeclaraction);
|
||||
void QXmlStreamReader_AddExtraNamespaceDeclarations(QXmlStreamReader* self, struct miqt_array* /* of QXmlStreamNamespaceDeclaration */ extraNamespaceDeclaractions);
|
||||
void QXmlStreamReader_AddExtraNamespaceDeclarations(QXmlStreamReader* self, struct miqt_array* /* of QXmlStreamNamespaceDeclaration* */ extraNamespaceDeclaractions);
|
||||
struct miqt_array* QXmlStreamReader_NotationDeclarations(const QXmlStreamReader* self);
|
||||
struct miqt_array* QXmlStreamReader_EntityDeclarations(const QXmlStreamReader* self);
|
||||
int QXmlStreamReader_EntityExpansionLimit(const QXmlStreamReader* self);
|
||||
|
Loading…
Reference in New Issue
Block a user