mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
66 lines
2.5 KiB
C++
66 lines
2.5 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QICONENGINE_H
|
|
#define MIQT_QT6_GEN_QICONENGINE_H
|
|
|
|
#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
|
|
|
|
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);
|
|
struct miqt_array /* of QSize* */ QIconEngine_AvailableSizes(QIconEngine* self);
|
|
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);
|
|
struct miqt_array /* of QSize* */ QIconEngine_AvailableSizes1(QIconEngine* self, int mode);
|
|
struct miqt_array /* of QSize* */ QIconEngine_AvailableSizes2(QIconEngine* self, int mode, int state);
|
|
void QIconEngine_Delete(QIconEngine* self);
|
|
|
|
QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new(QIconEngine__ScaledPixmapArgument* param1);
|
|
void QIconEngine__ScaledPixmapArgument_OperatorAssign(QIconEngine__ScaledPixmapArgument* self, QIconEngine__ScaledPixmapArgument* param1);
|
|
void QIconEngine__ScaledPixmapArgument_Delete(QIconEngine__ScaledPixmapArgument* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|