#pragma once #ifndef MIQT_QT_GEN_QTEXTDOCUMENTFRAGMENT_H #define MIQT_QT_GEN_QTEXTDOCUMENTFRAGMENT_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QByteArray; class QTextCursor; class QTextDocument; class QTextDocumentFragment; #else typedef struct QByteArray QByteArray; typedef struct QTextCursor QTextCursor; typedef struct QTextDocument QTextDocument; typedef struct QTextDocumentFragment QTextDocumentFragment; #endif QTextDocumentFragment* QTextDocumentFragment_new(); QTextDocumentFragment* QTextDocumentFragment_new2(QTextDocument* document); QTextDocumentFragment* QTextDocumentFragment_new3(QTextCursor* rangeVal); QTextDocumentFragment* QTextDocumentFragment_new4(QTextDocumentFragment* rhs); void QTextDocumentFragment_OperatorAssign(QTextDocumentFragment* self, QTextDocumentFragment* rhs); bool QTextDocumentFragment_IsEmpty(const QTextDocumentFragment* self); struct miqt_string QTextDocumentFragment_ToPlainText(const QTextDocumentFragment* self); struct miqt_string QTextDocumentFragment_ToHtml(const QTextDocumentFragment* self); QTextDocumentFragment* QTextDocumentFragment_FromPlainText(struct miqt_string plainText); QTextDocumentFragment* QTextDocumentFragment_FromHtml(struct miqt_string html); QTextDocumentFragment* QTextDocumentFragment_FromHtml2(struct miqt_string html, QTextDocument* resourceProvider); struct miqt_string QTextDocumentFragment_ToHtml1(const QTextDocumentFragment* self, struct miqt_string encoding); void QTextDocumentFragment_Delete(QTextDocumentFragment* self); #ifdef __cplusplus } /* extern C */ #endif #endif