2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTEXTDOCUMENTFRAGMENT_H
|
|
|
|
#define MIQT_QT_GEN_QTEXTDOCUMENTFRAGMENT_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTextDocumentFragment_new(QTextDocumentFragment** outptr_QTextDocumentFragment);
|
|
|
|
void QTextDocumentFragment_new2(QTextDocument* document, QTextDocumentFragment** outptr_QTextDocumentFragment);
|
|
|
|
void QTextDocumentFragment_new3(QTextCursor* rangeVal, QTextDocumentFragment** outptr_QTextDocumentFragment);
|
|
|
|
void QTextDocumentFragment_new4(QTextDocumentFragment* rhs, QTextDocumentFragment** outptr_QTextDocumentFragment);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextDocumentFragment_OperatorAssign(QTextDocumentFragment* self, QTextDocumentFragment* rhs);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTextDocumentFragment_IsEmpty(const QTextDocumentFragment* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
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);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTextDocumentFragment_Delete(QTextDocumentFragment* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|