2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QICONENGINE_H
|
|
|
|
#define MIQT_QT6_GEN_QICONENGINE_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QDataStream;
|
|
|
|
class QIconEngine;
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QIconEngine__ScaledPixmapArgument)
|
|
|
|
typedef QIconEngine::ScaledPixmapArgument QIconEngine__ScaledPixmapArgument;
|
|
|
|
#else
|
|
|
|
class QIconEngine__ScaledPixmapArgument;
|
|
|
|
#endif
|
|
|
|
class QPainter;
|
|
|
|
class QPixmap;
|
|
|
|
class QRect;
|
|
|
|
class QSize;
|
|
|
|
#else
|
|
|
|
typedef struct QDataStream QDataStream;
|
|
|
|
typedef struct QIconEngine QIconEngine;
|
|
|
|
typedef struct QIconEngine__ScaledPixmapArgument QIconEngine__ScaledPixmapArgument;
|
|
|
|
typedef struct QPainter QPainter;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
#endif
|
|
|
|
|
2024-11-23 06:34:52 +00:00
|
|
|
void QIconEngine_new(QIconEngine** outptr_QIconEngine);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QIconEngine_Paint(QIconEngine* self, QPainter* painter, QRect* rect, int mode, int state);
|
|
|
|
QSize* QIconEngine_ActualSize(QIconEngine* self, QSize* size, int mode, int state);
|
|
|
|
QPixmap* QIconEngine_Pixmap(QIconEngine* self, QSize* size, int mode, int state);
|
|
|
|
void QIconEngine_AddPixmap(QIconEngine* self, QPixmap* pixmap, int mode, int state);
|
|
|
|
void QIconEngine_AddFile(QIconEngine* self, struct miqt_string fileName, QSize* size, int mode, int state);
|
|
|
|
struct miqt_string QIconEngine_Key(const QIconEngine* self);
|
|
|
|
QIconEngine* QIconEngine_Clone(const QIconEngine* self);
|
|
|
|
bool QIconEngine_Read(QIconEngine* self, QDataStream* in);
|
|
|
|
bool QIconEngine_Write(const QIconEngine* self, QDataStream* out);
|
2024-11-19 06:29:06 +00:00
|
|
|
struct miqt_array /* of QSize* */ QIconEngine_AvailableSizes(QIconEngine* self, int mode, int state);
|
2024-10-20 05:21:03 +00:00
|
|
|
struct miqt_string QIconEngine_IconName(QIconEngine* self);
|
|
|
|
bool QIconEngine_IsNull(QIconEngine* self);
|
|
|
|
QPixmap* QIconEngine_ScaledPixmap(QIconEngine* self, QSize* size, int mode, int state, double scale);
|
|
|
|
void QIconEngine_VirtualHook(QIconEngine* self, int id, void* data);
|
2024-11-23 06:34:52 +00:00
|
|
|
void QIconEngine_override_virtual_Paint(void* self, intptr_t slot);
|
|
|
|
void QIconEngine_virtualbase_Paint(void* self, QPainter* painter, QRect* rect, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_ActualSize(void* self, intptr_t slot);
|
|
|
|
QSize* QIconEngine_virtualbase_ActualSize(void* self, QSize* size, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_Pixmap(void* self, intptr_t slot);
|
|
|
|
QPixmap* QIconEngine_virtualbase_Pixmap(void* self, QSize* size, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_AddPixmap(void* self, intptr_t slot);
|
|
|
|
void QIconEngine_virtualbase_AddPixmap(void* self, QPixmap* pixmap, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_AddFile(void* self, intptr_t slot);
|
|
|
|
void QIconEngine_virtualbase_AddFile(void* self, struct miqt_string fileName, QSize* size, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_Key(void* self, intptr_t slot);
|
|
|
|
struct miqt_string QIconEngine_virtualbase_Key(const void* self);
|
|
|
|
void QIconEngine_override_virtual_Clone(void* self, intptr_t slot);
|
|
|
|
QIconEngine* QIconEngine_virtualbase_Clone(const void* self);
|
|
|
|
void QIconEngine_override_virtual_Read(void* self, intptr_t slot);
|
|
|
|
bool QIconEngine_virtualbase_Read(void* self, QDataStream* in);
|
|
|
|
void QIconEngine_override_virtual_Write(void* self, intptr_t slot);
|
|
|
|
bool QIconEngine_virtualbase_Write(const void* self, QDataStream* out);
|
|
|
|
void QIconEngine_override_virtual_AvailableSizes(void* self, intptr_t slot);
|
|
|
|
struct miqt_array /* of QSize* */ QIconEngine_virtualbase_AvailableSizes(void* self, int mode, int state);
|
|
|
|
void QIconEngine_override_virtual_IconName(void* self, intptr_t slot);
|
|
|
|
struct miqt_string QIconEngine_virtualbase_IconName(void* self);
|
|
|
|
void QIconEngine_override_virtual_IsNull(void* self, intptr_t slot);
|
|
|
|
bool QIconEngine_virtualbase_IsNull(void* self);
|
|
|
|
void QIconEngine_override_virtual_ScaledPixmap(void* self, intptr_t slot);
|
|
|
|
QPixmap* QIconEngine_virtualbase_ScaledPixmap(void* self, QSize* size, int mode, int state, double scale);
|
|
|
|
void QIconEngine_override_virtual_VirtualHook(void* self, intptr_t slot);
|
|
|
|
void QIconEngine_virtualbase_VirtualHook(void* self, int id, void* data);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine_Delete(QIconEngine* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine__ScaledPixmapArgument_new(QIconEngine__ScaledPixmapArgument* param1, QIconEngine__ScaledPixmapArgument** outptr_QIconEngine__ScaledPixmapArgument);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QIconEngine__ScaledPixmapArgument_OperatorAssign(QIconEngine__ScaledPixmapArgument* self, QIconEngine__ScaledPixmapArgument* param1);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine__ScaledPixmapArgument_Delete(QIconEngine__ScaledPixmapArgument* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|