2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QICONENGINE_H
|
|
|
|
#define MIQT_QT_GEN_QICONENGINE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QDataStream;
|
|
|
|
class QIconEngine;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QIconEngine__AvailableSizesArgument)
|
|
|
|
typedef QIconEngine::AvailableSizesArgument QIconEngine__AvailableSizesArgument;
|
|
|
|
#else
|
|
|
|
class QIconEngine__AvailableSizesArgument;
|
|
|
|
#endif
|
|
|
|
#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;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QDataStream QDataStream;
|
|
|
|
typedef struct QIconEngine QIconEngine;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QIconEngine__AvailableSizesArgument QIconEngine__AvailableSizesArgument;
|
|
|
|
typedef struct QIconEngine__ScaledPixmapArgument QIconEngine__ScaledPixmapArgument;
|
|
|
|
typedef struct QPainter QPainter;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-18 00:12:02 +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);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QIconEngine_AddFile(QIconEngine* self, struct miqt_string fileName, QSize* size, int mode, int state);
|
|
|
|
struct miqt_string QIconEngine_Key(const QIconEngine* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QIconEngine* QIconEngine_Clone(const QIconEngine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QIconEngine_Read(QIconEngine* self, QDataStream* in);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QIconEngine_Write(const QIconEngine* self, QDataStream* out);
|
2024-11-19 06:29:06 +00:00
|
|
|
struct miqt_array /* of QSize* */ QIconEngine_AvailableSizes(const QIconEngine* self, int mode, int state);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QIconEngine_IconName(const QIconEngine* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QIconEngine_IsNull(const QIconEngine* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
QPixmap* QIconEngine_ScaledPixmap(QIconEngine* self, QSize* size, int mode, int state, double scale);
|
2024-09-20 22:32:57 +00:00
|
|
|
void QIconEngine_VirtualHook(QIconEngine* self, int id, void* data);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine_Delete(QIconEngine* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine__AvailableSizesArgument_new(QIconEngine__AvailableSizesArgument* param1, QIconEngine__AvailableSizesArgument** outptr_QIconEngine__AvailableSizesArgument);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QIconEngine__AvailableSizesArgument_OperatorAssign(QIconEngine__AvailableSizesArgument* self, QIconEngine__AvailableSizesArgument* param1);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine__AvailableSizesArgument_Delete(QIconEngine__AvailableSizesArgument* self, bool isSubclass);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIconEngine__ScaledPixmapArgument_new(QIconEngine__ScaledPixmapArgument* param1, QIconEngine__ScaledPixmapArgument** outptr_QIconEngine__ScaledPixmapArgument);
|
2024-09-18 00:12:02 +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-08-29 07:01:51 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|