#ifndef GEN_QCOMBOBOX_H #define GEN_QCOMBOBOX_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QAbstractItemDelegate; class QAbstractItemModel; class QAbstractItemView; class QComboBox; class QCompleter; class QEvent; class QIcon; class QLineEdit; class QMetaObject; class QModelIndex; class QSize; class QValidator; class QVariant; class QWidget; #else typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractItemView QAbstractItemView; typedef struct QComboBox QComboBox; typedef struct QCompleter QCompleter; typedef struct QEvent QEvent; typedef struct QIcon QIcon; typedef struct QLineEdit QLineEdit; typedef struct QMetaObject QMetaObject; typedef struct QModelIndex QModelIndex; typedef struct QSize QSize; typedef struct QValidator QValidator; typedef struct QVariant QVariant; typedef struct QWidget QWidget; #endif QComboBox* QComboBox_new(); QComboBox* QComboBox_new2(QWidget* parent); QMetaObject* QComboBox_MetaObject(const QComboBox* self); void QComboBox_Tr(const char* s, char** _out, int* _out_Strlen); void QComboBox_TrUtf8(const char* s, char** _out, int* _out_Strlen); int QComboBox_MaxVisibleItems(const QComboBox* self); void QComboBox_SetMaxVisibleItems(QComboBox* self, int maxItems); int QComboBox_Count(const QComboBox* self); void QComboBox_SetMaxCount(QComboBox* self, int max); int QComboBox_MaxCount(const QComboBox* self); bool QComboBox_AutoCompletion(const QComboBox* self); void QComboBox_SetAutoCompletion(QComboBox* self, bool enable); uintptr_t QComboBox_AutoCompletionCaseSensitivity(const QComboBox* self); void QComboBox_SetAutoCompletionCaseSensitivity(QComboBox* self, uintptr_t sensitivity); bool QComboBox_DuplicatesEnabled(const QComboBox* self); void QComboBox_SetDuplicatesEnabled(QComboBox* self, bool enable); void QComboBox_SetFrame(QComboBox* self, bool frame); bool QComboBox_HasFrame(const QComboBox* self); int QComboBox_FindText(const QComboBox* self, const char* text, size_t text_Strlen); int QComboBox_FindData(const QComboBox* self, QVariant* data); uintptr_t QComboBox_InsertPolicy(const QComboBox* self); void QComboBox_SetInsertPolicy(QComboBox* self, uintptr_t policy); uintptr_t QComboBox_SizeAdjustPolicy(const QComboBox* self); void QComboBox_SetSizeAdjustPolicy(QComboBox* self, uintptr_t policy); int QComboBox_MinimumContentsLength(const QComboBox* self); void QComboBox_SetMinimumContentsLength(QComboBox* self, int characters); QSize* QComboBox_IconSize(const QComboBox* self); void QComboBox_SetIconSize(QComboBox* self, QSize* size); void QComboBox_SetPlaceholderText(QComboBox* self, const char* placeholderText, size_t placeholderText_Strlen); void QComboBox_PlaceholderText(const QComboBox* self, char** _out, int* _out_Strlen); bool QComboBox_IsEditable(const QComboBox* self); void QComboBox_SetEditable(QComboBox* self, bool editable); void QComboBox_SetLineEdit(QComboBox* self, QLineEdit* edit); QLineEdit* QComboBox_LineEdit(const QComboBox* self); void QComboBox_SetValidator(QComboBox* self, QValidator* v); QValidator* QComboBox_Validator(const QComboBox* self); void QComboBox_SetCompleter(QComboBox* self, QCompleter* c); QCompleter* QComboBox_Completer(const QComboBox* self); QAbstractItemDelegate* QComboBox_ItemDelegate(const QComboBox* self); void QComboBox_SetItemDelegate(QComboBox* self, QAbstractItemDelegate* delegate); QAbstractItemModel* QComboBox_Model(const QComboBox* self); void QComboBox_SetModel(QComboBox* self, QAbstractItemModel* model); QModelIndex* QComboBox_RootModelIndex(const QComboBox* self); void QComboBox_SetRootModelIndex(QComboBox* self, QModelIndex* index); int QComboBox_ModelColumn(const QComboBox* self); void QComboBox_SetModelColumn(QComboBox* self, int visibleColumn); int QComboBox_CurrentIndex(const QComboBox* self); void QComboBox_CurrentText(const QComboBox* self, char** _out, int* _out_Strlen); QVariant* QComboBox_CurrentData(const QComboBox* self); void QComboBox_ItemText(const QComboBox* self, int index, char** _out, int* _out_Strlen); QIcon* QComboBox_ItemIcon(const QComboBox* self, int index); QVariant* QComboBox_ItemData(const QComboBox* self, int index); void QComboBox_AddItem(QComboBox* self, const char* text, size_t text_Strlen); void QComboBox_AddItem2(QComboBox* self, QIcon* icon, const char* text, size_t text_Strlen); void QComboBox_AddItems(QComboBox* self, char** texts, uint64_t* texts_Lengths, size_t texts_len); void QComboBox_InsertItem(QComboBox* self, int index, const char* text, size_t text_Strlen); void QComboBox_InsertItem2(QComboBox* self, int index, QIcon* icon, const char* text, size_t text_Strlen); void QComboBox_InsertItems(QComboBox* self, int index, char** texts, uint64_t* texts_Lengths, size_t texts_len); void QComboBox_InsertSeparator(QComboBox* self, int index); void QComboBox_RemoveItem(QComboBox* self, int index); void QComboBox_SetItemText(QComboBox* self, int index, const char* text, size_t text_Strlen); void QComboBox_SetItemIcon(QComboBox* self, int index, QIcon* icon); void QComboBox_SetItemData(QComboBox* self, int index, QVariant* value); QAbstractItemView* QComboBox_View(const QComboBox* self); void QComboBox_SetView(QComboBox* self, QAbstractItemView* itemView); QSize* QComboBox_SizeHint(const QComboBox* self); QSize* QComboBox_MinimumSizeHint(const QComboBox* self); void QComboBox_ShowPopup(QComboBox* self); void QComboBox_HidePopup(QComboBox* self); bool QComboBox_Event(QComboBox* self, QEvent* event); QVariant* QComboBox_InputMethodQuery(const QComboBox* self, uintptr_t param1); QVariant* QComboBox_InputMethodQuery2(const QComboBox* self, uintptr_t query, QVariant* argument); void QComboBox_Clear(QComboBox* self); void QComboBox_ClearEditText(QComboBox* self); void QComboBox_SetEditText(QComboBox* self, const char* text, size_t text_Strlen); void QComboBox_SetCurrentIndex(QComboBox* self, int index); void QComboBox_SetCurrentText(QComboBox* self, const char* text, size_t text_Strlen); void QComboBox_EditTextChanged(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_EditTextChanged(QComboBox* self, void* slot); void QComboBox_Activated(QComboBox* self, int index); void QComboBox_connect_Activated(QComboBox* self, void* slot); void QComboBox_TextActivated(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_TextActivated(QComboBox* self, void* slot); void QComboBox_Highlighted(QComboBox* self, int index); void QComboBox_connect_Highlighted(QComboBox* self, void* slot); void QComboBox_TextHighlighted(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_TextHighlighted(QComboBox* self, void* slot); void QComboBox_CurrentIndexChanged(QComboBox* self, int index); void QComboBox_connect_CurrentIndexChanged(QComboBox* self, void* slot); void QComboBox_CurrentIndexChangedWithQString(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_CurrentIndexChangedWithQString(QComboBox* self, void* slot); void QComboBox_CurrentTextChanged(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_CurrentTextChanged(QComboBox* self, void* slot); void QComboBox_ActivatedWithQString(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_ActivatedWithQString(QComboBox* self, void* slot); void QComboBox_HighlightedWithQString(QComboBox* self, const char* param1, size_t param1_Strlen); void QComboBox_connect_HighlightedWithQString(QComboBox* self, void* slot); void QComboBox_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen); void QComboBox_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen); void QComboBox_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen); void QComboBox_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen); int QComboBox_FindText2(const QComboBox* self, const char* text, size_t text_Strlen, int flags); int QComboBox_FindData2(const QComboBox* self, QVariant* data, int role); int QComboBox_FindData3(const QComboBox* self, QVariant* data, int role, int flags); QVariant* QComboBox_CurrentData1(const QComboBox* self, int role); QVariant* QComboBox_ItemData2(const QComboBox* self, int index, int role); void QComboBox_AddItem22(QComboBox* self, const char* text, size_t text_Strlen, QVariant* userData); void QComboBox_AddItem3(QComboBox* self, QIcon* icon, const char* text, size_t text_Strlen, QVariant* userData); void QComboBox_InsertItem3(QComboBox* self, int index, const char* text, size_t text_Strlen, QVariant* userData); void QComboBox_InsertItem4(QComboBox* self, int index, QIcon* icon, const char* text, size_t text_Strlen, QVariant* userData); void QComboBox_SetItemData3(QComboBox* self, int index, QVariant* value, int role); void QComboBox_Delete(QComboBox* self); #ifdef __cplusplus } /* extern C */ #endif #endif