#ifndef GEN_QSTYLEDITEMDELEGATE_H #define GEN_QSTYLEDITEMDELEGATE_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QAbstractItemModel; class QItemEditorFactory; class QLocale; class QMetaObject; class QModelIndex; class QObject; class QPainter; class QSize; class QStyleOptionViewItem; class QStyledItemDelegate; class QVariant; class QWidget; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QItemEditorFactory QItemEditorFactory; typedef struct QLocale QLocale; typedef struct QMetaObject QMetaObject; typedef struct QModelIndex QModelIndex; typedef struct QObject QObject; typedef struct QPainter QPainter; typedef struct QSize QSize; typedef struct QStyleOptionViewItem QStyleOptionViewItem; typedef struct QStyledItemDelegate QStyledItemDelegate; typedef struct QVariant QVariant; typedef struct QWidget QWidget; #endif QStyledItemDelegate* QStyledItemDelegate_new(); QStyledItemDelegate* QStyledItemDelegate_new2(QObject* parent); QMetaObject* QStyledItemDelegate_MetaObject(const QStyledItemDelegate* self); void* QStyledItemDelegate_Metacast(QStyledItemDelegate* self, const char* param1); struct miqt_string QStyledItemDelegate_Tr(const char* s); void QStyledItemDelegate_Paint(const QStyledItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QModelIndex* index); QSize* QStyledItemDelegate_SizeHint(const QStyledItemDelegate* self, QStyleOptionViewItem* option, QModelIndex* index); QWidget* QStyledItemDelegate_CreateEditor(const QStyledItemDelegate* self, QWidget* parent, QStyleOptionViewItem* option, QModelIndex* index); void QStyledItemDelegate_SetEditorData(const QStyledItemDelegate* self, QWidget* editor, QModelIndex* index); void QStyledItemDelegate_SetModelData(const QStyledItemDelegate* self, QWidget* editor, QAbstractItemModel* model, QModelIndex* index); void QStyledItemDelegate_UpdateEditorGeometry(const QStyledItemDelegate* self, QWidget* editor, QStyleOptionViewItem* option, QModelIndex* index); QItemEditorFactory* QStyledItemDelegate_ItemEditorFactory(const QStyledItemDelegate* self); void QStyledItemDelegate_SetItemEditorFactory(QStyledItemDelegate* self, QItemEditorFactory* factory); struct miqt_string QStyledItemDelegate_DisplayText(const QStyledItemDelegate* self, QVariant* value, QLocale* locale); struct miqt_string QStyledItemDelegate_Tr2(const char* s, const char* c); struct miqt_string QStyledItemDelegate_Tr3(const char* s, const char* c, int n); void QStyledItemDelegate_Delete(QStyledItemDelegate* self); #ifdef __cplusplus } /* extern C */ #endif #endif