2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QFILEICONPROVIDER_H
|
|
|
|
#define MIQT_QT_GEN_QFILEICONPROVIDER_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QFileIconProvider;
|
|
|
|
class QFileInfo;
|
|
|
|
class QIcon;
|
|
|
|
#else
|
|
|
|
typedef struct QFileIconProvider QFileIconProvider;
|
|
|
|
typedef struct QFileInfo QFileInfo;
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QFileIconProvider* QFileIconProvider_new();
|
2025-02-01 13:45:16 +13:00
|
|
|
QIcon* QFileIconProvider_icon(const QFileIconProvider* self, int type);
|
|
|
|
QIcon* QFileIconProvider_iconWithInfo(const QFileIconProvider* self, QFileInfo* info);
|
|
|
|
struct miqt_string QFileIconProvider_type(const QFileIconProvider* self, QFileInfo* info);
|
|
|
|
void QFileIconProvider_setOptions(QFileIconProvider* self, int options);
|
|
|
|
int QFileIconProvider_options(const QFileIconProvider* self);
|
|
|
|
bool QFileIconProvider_override_virtual_icon(void* self, intptr_t slot);
|
|
|
|
QIcon* QFileIconProvider_virtualbase_icon(const void* self, int type);
|
|
|
|
bool QFileIconProvider_override_virtual_iconWithInfo(void* self, intptr_t slot);
|
|
|
|
QIcon* QFileIconProvider_virtualbase_iconWithInfo(const void* self, QFileInfo* info);
|
|
|
|
bool QFileIconProvider_override_virtual_type(void* self, intptr_t slot);
|
|
|
|
struct miqt_string QFileIconProvider_virtualbase_type(const void* self, QFileInfo* info);
|
|
|
|
void QFileIconProvider_delete(QFileIconProvider* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|