miqt/qt6/gen_qmimedata.h

97 lines
4.2 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QMIMEDATA_H
#define MIQT_QT6_GEN_QMIMEDATA_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
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QMetaType;
2024-10-20 05:21:03 +00:00
class QMimeData;
2024-11-19 06:29:06 +00:00
class QObject;
class QTimerEvent;
2024-10-20 05:21:03 +00:00
class QUrl;
class QVariant;
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMetaMethod QMetaMethod;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QMetaType QMetaType;
2024-10-20 05:21:03 +00:00
typedef struct QMimeData QMimeData;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
typedef struct QTimerEvent QTimerEvent;
2024-10-20 05:21:03 +00:00
typedef struct QUrl QUrl;
typedef struct QVariant QVariant;
#endif
2024-12-07 04:15:57 +00:00
QMimeData* QMimeData_new();
void QMimeData_virtbase(QMimeData* src, QObject** outptr_QObject);
2024-10-20 05:21:03 +00:00
QMetaObject* QMimeData_MetaObject(const QMimeData* self);
void* QMimeData_Metacast(QMimeData* self, const char* param1);
struct miqt_string QMimeData_Tr(const char* s);
struct miqt_array /* of QUrl* */ QMimeData_Urls(const QMimeData* self);
void QMimeData_SetUrls(QMimeData* self, struct miqt_array /* of QUrl* */ urls);
2024-10-20 05:21:03 +00:00
bool QMimeData_HasUrls(const QMimeData* self);
struct miqt_string QMimeData_Text(const QMimeData* self);
void QMimeData_SetText(QMimeData* self, struct miqt_string text);
bool QMimeData_HasText(const QMimeData* self);
struct miqt_string QMimeData_Html(const QMimeData* self);
void QMimeData_SetHtml(QMimeData* self, struct miqt_string html);
bool QMimeData_HasHtml(const QMimeData* self);
QVariant* QMimeData_ImageData(const QMimeData* self);
void QMimeData_SetImageData(QMimeData* self, QVariant* image);
bool QMimeData_HasImage(const QMimeData* self);
QVariant* QMimeData_ColorData(const QMimeData* self);
void QMimeData_SetColorData(QMimeData* self, QVariant* color);
bool QMimeData_HasColor(const QMimeData* self);
struct miqt_string QMimeData_Data(const QMimeData* self, struct miqt_string mimetype);
void QMimeData_SetData(QMimeData* self, struct miqt_string mimetype, struct miqt_string data);
void QMimeData_RemoveFormat(QMimeData* self, struct miqt_string mimetype);
bool QMimeData_HasFormat(const QMimeData* self, struct miqt_string mimetype);
struct miqt_array /* of struct miqt_string */ QMimeData_Formats(const QMimeData* self);
2024-10-20 05:21:03 +00:00
void QMimeData_Clear(QMimeData* self);
2024-11-19 06:29:06 +00:00
QVariant* QMimeData_RetrieveData(const QMimeData* self, struct miqt_string mimetype, QMetaType* preferredType);
2024-10-20 05:21:03 +00:00
struct miqt_string QMimeData_Tr2(const char* s, const char* c);
struct miqt_string QMimeData_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QMimeData_override_virtual_HasFormat(void* self, intptr_t slot);
bool QMimeData_virtualbase_HasFormat(const void* self, struct miqt_string mimetype);
void QMimeData_override_virtual_Formats(void* self, intptr_t slot);
struct miqt_array /* of struct miqt_string */ QMimeData_virtualbase_Formats(const void* self);
void QMimeData_override_virtual_RetrieveData(void* self, intptr_t slot);
QVariant* QMimeData_virtualbase_RetrieveData(const void* self, struct miqt_string mimetype, QMetaType* preferredType);
void QMimeData_override_virtual_Event(void* self, intptr_t slot);
bool QMimeData_virtualbase_Event(void* self, QEvent* event);
void QMimeData_override_virtual_EventFilter(void* self, intptr_t slot);
bool QMimeData_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QMimeData_override_virtual_TimerEvent(void* self, intptr_t slot);
void QMimeData_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QMimeData_override_virtual_ChildEvent(void* self, intptr_t slot);
void QMimeData_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QMimeData_override_virtual_CustomEvent(void* self, intptr_t slot);
void QMimeData_virtualbase_CustomEvent(void* self, QEvent* event);
void QMimeData_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QMimeData_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QMimeData_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QMimeData_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QMimeData_Delete(QMimeData* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif