miqt/qt6/pdf/gen_qpdfselection.h
2025-04-20 13:11:21 -04:00

42 lines
1.2 KiB
C++

#pragma once
#ifndef MIQT_QT6_PDF_GEN_QPDFSELECTION_H
#define MIQT_QT6_PDF_GEN_QPDFSELECTION_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 QPdfSelection;
class QRectF;
#else
typedef struct QPdfSelection QPdfSelection;
typedef struct QRectF QRectF;
#endif
QPdfSelection* QPdfSelection_new(QPdfSelection* other);
void QPdfSelection_operatorAssign(QPdfSelection* self, QPdfSelection* other);
void QPdfSelection_swap(QPdfSelection* self, QPdfSelection* other);
bool QPdfSelection_isValid(const QPdfSelection* self);
struct miqt_string QPdfSelection_text(const QPdfSelection* self);
QRectF* QPdfSelection_boundingRectangle(const QPdfSelection* self);
int QPdfSelection_startIndex(const QPdfSelection* self);
int QPdfSelection_endIndex(const QPdfSelection* self);
void QPdfSelection_copyToClipboard(const QPdfSelection* self);
void QPdfSelection_copyToClipboardWithMode(const QPdfSelection* self, int mode);
void QPdfSelection_delete(QPdfSelection* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif