mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
74 lines
2.9 KiB
C
74 lines
2.9 KiB
C
|
#ifndef GEN_QCLIPBOARD_H
|
||
|
#define GEN_QCLIPBOARD_H
|
||
|
|
||
|
#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;
|
||
|
class QPixmap;
|
||
|
#else
|
||
|
typedef struct QClipboard QClipboard;
|
||
|
typedef struct QImage QImage;
|
||
|
typedef struct QMetaObject QMetaObject;
|
||
|
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);
|
||
|
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
|