miqt/qt6/gen_qclipboard.h

78 lines
3.1 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QCLIPBOARD_H
#define MIQT_QT6_GEN_QCLIPBOARD_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
class QClipboard;
class QImage;
class QMetaObject;
class QMimeData;
2024-11-19 06:29:06 +00:00
class QObject;
2024-10-20 05:21:03 +00:00
class QPixmap;
#else
typedef struct QClipboard QClipboard;
typedef struct QImage QImage;
typedef struct QMetaObject QMetaObject;
typedef struct QMimeData QMimeData;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
2024-10-20 05:21:03 +00:00
typedef struct QPixmap QPixmap;
#endif
2024-12-07 04:15:57 +00:00
void QClipboard_virtbase(QClipboard* src, QObject** outptr_QObject);
2024-10-20 05:21:03 +00:00
QMetaObject* QClipboard_MetaObject(const QClipboard* self);
void* QClipboard_Metacast(QClipboard* self, const char* param1);
struct miqt_string QClipboard_Tr(const char* s);
void QClipboard_Clear(QClipboard* self);
bool QClipboard_SupportsSelection(const QClipboard* self);
bool QClipboard_SupportsFindBuffer(const QClipboard* self);
bool QClipboard_OwnsSelection(const QClipboard* self);
bool QClipboard_OwnsClipboard(const QClipboard* self);
bool QClipboard_OwnsFindBuffer(const QClipboard* self);
struct miqt_string QClipboard_Text(const QClipboard* self);
struct miqt_string QClipboard_TextWithSubtype(const QClipboard* self, struct miqt_string subtype);
void QClipboard_SetText(QClipboard* self, struct miqt_string param1);
QMimeData* QClipboard_MimeData(const QClipboard* self);
void QClipboard_SetMimeData(QClipboard* self, QMimeData* data);
QImage* QClipboard_Image(const QClipboard* self);
QPixmap* QClipboard_Pixmap(const QClipboard* self);
void QClipboard_SetImage(QClipboard* self, QImage* param1);
void QClipboard_SetPixmap(QClipboard* self, QPixmap* param1);
void QClipboard_Changed(QClipboard* self, int mode);
void QClipboard_connect_Changed(QClipboard* self, intptr_t slot);
void QClipboard_SelectionChanged(QClipboard* self);
void QClipboard_connect_SelectionChanged(QClipboard* self, intptr_t slot);
void QClipboard_FindBufferChanged(QClipboard* self);
void QClipboard_connect_FindBufferChanged(QClipboard* self, intptr_t slot);
void QClipboard_DataChanged(QClipboard* self);
void QClipboard_connect_DataChanged(QClipboard* self, intptr_t slot);
struct miqt_string QClipboard_Tr2(const char* s, const char* c);
struct miqt_string QClipboard_Tr3(const char* s, const char* c, int n);
void QClipboard_Clear1(QClipboard* self, int mode);
struct miqt_string QClipboard_Text1(const QClipboard* self, int mode);
struct miqt_string QClipboard_Text2(const QClipboard* self, struct miqt_string subtype, int mode);
void QClipboard_SetText2(QClipboard* self, struct miqt_string param1, int mode);
QMimeData* QClipboard_MimeData1(const QClipboard* self, int mode);
void QClipboard_SetMimeData2(QClipboard* self, QMimeData* data, int mode);
QImage* QClipboard_Image1(const QClipboard* self, int mode);
QPixmap* QClipboard_Pixmap1(const QClipboard* self, int mode);
void QClipboard_SetImage2(QClipboard* self, QImage* param1, int mode);
void QClipboard_SetPixmap2(QClipboard* self, QPixmap* param1, int mode);
#ifdef __cplusplus
} /* extern C */
#endif
#endif