#pragma once #ifndef MIQT_QT6_PDF_GEN_QPDFSELECTION_H #define MIQT_QT6_PDF_GEN_QPDFSELECTION_H #include #include #include #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