2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCLIPBOARD_H
|
|
|
|
#define GEN_QCLIPBOARD_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QClipboard;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QImage;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QMimeData;
|
|
|
|
class QPixmap;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QClipboard QClipboard;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QImage QImage;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QMimeData QMimeData;
|
|
|
|
typedef struct QPixmap QPixmap;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QClipboard_MetaObject(const QClipboard* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QClipboard_Metacast(QClipboard* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QClipboard_Tr(const char* s);
|
|
|
|
struct miqt_string QClipboard_TrUtf8(const char* s);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_Clear(QClipboard* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
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);
|
2024-10-18 23:53:33 +00:00
|
|
|
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);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMimeData* QClipboard_MimeData(const QClipboard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetMimeData(QClipboard* self, QMimeData* data);
|
2024-09-11 05:41:09 +00:00
|
|
|
QImage* QClipboard_Image(const QClipboard* self);
|
|
|
|
QPixmap* QClipboard_Pixmap(const QClipboard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetImage(QClipboard* self, QImage* param1);
|
|
|
|
void QClipboard_SetPixmap(QClipboard* self, QPixmap* param1);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QClipboard_Changed(QClipboard* self, int mode);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QClipboard_connect_Changed(QClipboard* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QClipboard_SelectionChanged(QClipboard* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QClipboard_connect_SelectionChanged(QClipboard* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QClipboard_FindBufferChanged(QClipboard* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QClipboard_connect_FindBufferChanged(QClipboard* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QClipboard_DataChanged(QClipboard* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QClipboard_connect_DataChanged(QClipboard* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QClipboard_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QClipboard_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QClipboard_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QClipboard_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QClipboard_Clear1(QClipboard* self, int mode);
|
2024-10-18 23:53:33 +00:00
|
|
|
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);
|
2024-09-18 00:12:02 +00:00
|
|
|
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);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|