2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QCLIPBOARD_H
|
|
|
|
#define MIQT_QT_GEN_QCLIPBOARD_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QClipboard;
|
2024-08-29 19:01:51 +12:00
|
|
|
class QImage;
|
2024-08-25 16:08:24 +12:00
|
|
|
class QMetaObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
class QMimeData;
|
2024-11-19 19:29:06 +13:00
|
|
|
class QObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
class QPixmap;
|
2024-08-25 16:08:24 +12:00
|
|
|
#else
|
|
|
|
typedef struct QClipboard QClipboard;
|
2024-08-29 19:01:51 +12:00
|
|
|
typedef struct QImage QImage;
|
2024-08-25 16:08:24 +12:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
typedef struct QMimeData QMimeData;
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QObject QObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
typedef struct QPixmap QPixmap;
|
2024-08-25 16:08:24 +12:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
void QClipboard_virtbase(QClipboard* src, QObject** outptr_QObject);
|
2025-02-01 13:45:16 +13:00
|
|
|
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);
|
|
|
|
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);
|
|
|
|
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);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|