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"
|
|
|
|
|
|
|
|
#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-08-29 07:01:51 +00:00
|
|
|
void QClipboard_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
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);
|
|
|
|
void QClipboard_Text(const QClipboard* self, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_TextWithSubtype(const QClipboard* self, const char* subtype, size_t subtype_Strlen, char** _out, int* _out_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetText(QClipboard* self, const char* param1, size_t param1_Strlen);
|
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);
|
|
|
|
void QClipboard_Changed(QClipboard* self, uintptr_t mode);
|
|
|
|
void QClipboard_connect_Changed(QClipboard* self, void* slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QClipboard_SelectionChanged(QClipboard* self);
|
|
|
|
void QClipboard_connect_SelectionChanged(QClipboard* self, void* slot);
|
|
|
|
void QClipboard_FindBufferChanged(QClipboard* self);
|
|
|
|
void QClipboard_connect_FindBufferChanged(QClipboard* self, void* slot);
|
|
|
|
void QClipboard_DataChanged(QClipboard* self);
|
|
|
|
void QClipboard_connect_DataChanged(QClipboard* self, void* slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_Clear1(QClipboard* self, uintptr_t mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QClipboard_Text1(const QClipboard* self, uintptr_t mode, char** _out, int* _out_Strlen);
|
|
|
|
void QClipboard_Text2(const QClipboard* self, const char* subtype, size_t subtype_Strlen, uintptr_t mode, char** _out, int* _out_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetText2(QClipboard* self, const char* param1, size_t param1_Strlen, uintptr_t mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMimeData* QClipboard_MimeData1(const QClipboard* self, uintptr_t mode);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetMimeData2(QClipboard* self, QMimeData* data, uintptr_t mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
QImage* QClipboard_Image1(const QClipboard* self, uintptr_t mode);
|
|
|
|
QPixmap* QClipboard_Pixmap1(const QClipboard* self, uintptr_t mode);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QClipboard_SetImage2(QClipboard* self, QImage* param1, uintptr_t mode);
|
|
|
|
void QClipboard_SetPixmap2(QClipboard* self, QPixmap* param1, uintptr_t mode);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|