miqt/qt/gen_qicon.h

102 lines
4.8 KiB
C++

#ifndef GEN_QICON_H
#define GEN_QICON_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QIcon;
class QIconEngine;
class QPainter;
class QPixmap;
class QRect;
class QSize;
class QWindow;
#else
typedef struct QIcon QIcon;
typedef struct QIconEngine QIconEngine;
typedef struct QPainter QPainter;
typedef struct QPixmap QPixmap;
typedef struct QRect QRect;
typedef struct QSize QSize;
typedef struct QWindow QWindow;
#endif
QIcon* QIcon_new();
QIcon* QIcon_new2(QPixmap* pixmap);
QIcon* QIcon_new3(QIcon* other);
QIcon* QIcon_new4(struct miqt_string* fileName);
QIcon* QIcon_new5(QIconEngine* engine);
void QIcon_OperatorAssign(QIcon* self, QIcon* other);
void QIcon_Swap(QIcon* self, QIcon* other);
QPixmap* QIcon_Pixmap(const QIcon* self, QSize* size);
QPixmap* QIcon_Pixmap2(const QIcon* self, int w, int h);
QPixmap* QIcon_PixmapWithExtent(const QIcon* self, int extent);
QPixmap* QIcon_Pixmap3(const QIcon* self, QWindow* window, QSize* size);
QSize* QIcon_ActualSize(const QIcon* self, QSize* size);
QSize* QIcon_ActualSize2(const QIcon* self, QWindow* window, QSize* size);
struct miqt_string* QIcon_Name(const QIcon* self);
void QIcon_Paint(const QIcon* self, QPainter* painter, QRect* rect);
void QIcon_Paint2(const QIcon* self, QPainter* painter, int x, int y, int w, int h);
bool QIcon_IsNull(const QIcon* self);
bool QIcon_IsDetached(const QIcon* self);
void QIcon_Detach(QIcon* self);
long long QIcon_CacheKey(const QIcon* self);
void QIcon_AddPixmap(QIcon* self, QPixmap* pixmap);
void QIcon_AddFile(QIcon* self, struct miqt_string* fileName);
struct miqt_array* QIcon_AvailableSizes(const QIcon* self);
void QIcon_SetIsMask(QIcon* self, bool isMask);
bool QIcon_IsMask(const QIcon* self);
QIcon* QIcon_FromTheme(struct miqt_string* name);
QIcon* QIcon_FromTheme2(struct miqt_string* name, QIcon* fallback);
bool QIcon_HasThemeIcon(struct miqt_string* name);
struct miqt_array* QIcon_ThemeSearchPaths();
void QIcon_SetThemeSearchPaths(struct miqt_array* /* of QString */ searchpath);
struct miqt_array* QIcon_FallbackSearchPaths();
void QIcon_SetFallbackSearchPaths(struct miqt_array* /* of QString */ paths);
struct miqt_string* QIcon_ThemeName();
void QIcon_SetThemeName(struct miqt_string* path);
struct miqt_string* QIcon_FallbackThemeName();
void QIcon_SetFallbackThemeName(struct miqt_string* name);
QPixmap* QIcon_Pixmap22(const QIcon* self, QSize* size, uintptr_t mode);
QPixmap* QIcon_Pixmap32(const QIcon* self, QSize* size, uintptr_t mode, uintptr_t state);
QPixmap* QIcon_Pixmap33(const QIcon* self, int w, int h, uintptr_t mode);
QPixmap* QIcon_Pixmap4(const QIcon* self, int w, int h, uintptr_t mode, uintptr_t state);
QPixmap* QIcon_Pixmap23(const QIcon* self, int extent, uintptr_t mode);
QPixmap* QIcon_Pixmap34(const QIcon* self, int extent, uintptr_t mode, uintptr_t state);
QPixmap* QIcon_Pixmap35(const QIcon* self, QWindow* window, QSize* size, uintptr_t mode);
QPixmap* QIcon_Pixmap42(const QIcon* self, QWindow* window, QSize* size, uintptr_t mode, uintptr_t state);
QSize* QIcon_ActualSize22(const QIcon* self, QSize* size, uintptr_t mode);
QSize* QIcon_ActualSize3(const QIcon* self, QSize* size, uintptr_t mode, uintptr_t state);
QSize* QIcon_ActualSize32(const QIcon* self, QWindow* window, QSize* size, uintptr_t mode);
QSize* QIcon_ActualSize4(const QIcon* self, QWindow* window, QSize* size, uintptr_t mode, uintptr_t state);
void QIcon_Paint3(const QIcon* self, QPainter* painter, QRect* rect, int alignment);
void QIcon_Paint4(const QIcon* self, QPainter* painter, QRect* rect, int alignment, uintptr_t mode);
void QIcon_Paint5(const QIcon* self, QPainter* painter, QRect* rect, int alignment, uintptr_t mode, uintptr_t state);
void QIcon_Paint6(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment);
void QIcon_Paint7(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment, uintptr_t mode);
void QIcon_Paint8(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment, uintptr_t mode, uintptr_t state);
void QIcon_AddPixmap2(QIcon* self, QPixmap* pixmap, uintptr_t mode);
void QIcon_AddPixmap3(QIcon* self, QPixmap* pixmap, uintptr_t mode, uintptr_t state);
void QIcon_AddFile2(QIcon* self, struct miqt_string* fileName, QSize* size);
void QIcon_AddFile3(QIcon* self, struct miqt_string* fileName, QSize* size, uintptr_t mode);
void QIcon_AddFile4(QIcon* self, struct miqt_string* fileName, QSize* size, uintptr_t mode, uintptr_t state);
struct miqt_array* QIcon_AvailableSizes1(const QIcon* self, uintptr_t mode);
struct miqt_array* QIcon_AvailableSizes2(const QIcon* self, uintptr_t mode, uintptr_t state);
void QIcon_Delete(QIcon* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif