miqt/qt/gen_qclipboard.h

77 lines
3.1 KiB
C
Raw Normal View History

#ifndef GEN_QCLIPBOARD_H
#define GEN_QCLIPBOARD_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QClipboard;
2024-08-29 07:01:51 +00:00
class QImage;
class QMetaObject;
2024-08-29 07:01:51 +00:00
class QMimeData;
class QPixmap;
#else
typedef struct QClipboard QClipboard;
2024-08-29 07:01:51 +00:00
typedef struct QImage QImage;
typedef struct QMetaObject QMetaObject;
2024-08-29 07:01:51 +00:00
typedef struct QMimeData QMimeData;
typedef struct QPixmap QPixmap;
#endif
QMetaObject* QClipboard_MetaObject(const QClipboard* self);
void* QClipboard_Metacast(QClipboard* self, const char* param1);
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);
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);
2024-08-29 07:01:51 +00:00
void QClipboard_SetMimeData(QClipboard* self, QMimeData* data);
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, int mode);
2024-08-29 07:01:51 +00:00
void QClipboard_connect_Changed(QClipboard* self, void* slot);
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);
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);
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