2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTEXTLIST_H
|
|
|
|
#define MIQT_QT_GEN_QTEXTLIST_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 QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QTextBlock;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTextBlockGroup;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QTextDocument;
|
|
|
|
class QTextList;
|
|
|
|
class QTextListFormat;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTextObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QTextBlock QTextBlock;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTextBlockGroup QTextBlockGroup;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QTextDocument QTextDocument;
|
|
|
|
typedef struct QTextList QTextList;
|
|
|
|
typedef struct QTextListFormat QTextListFormat;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTextObject QTextObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTextList* QTextList_new(QTextDocument* doc);
|
|
|
|
void QTextList_virtbase(QTextList* src, QTextBlockGroup** outptr_QTextBlockGroup);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTextList_MetaObject(const QTextList* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTextList_Metacast(QTextList* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTextList_Tr(const char* s);
|
|
|
|
struct miqt_string QTextList_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTextList_Count(const QTextList* self);
|
|
|
|
bool QTextList_IsEmpty(const QTextList* self);
|
|
|
|
QTextBlock* QTextList_Item(const QTextList* self, int i);
|
|
|
|
int QTextList_ItemNumber(const QTextList* self, QTextBlock* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTextList_ItemText(const QTextList* self, QTextBlock* param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextList_RemoveItem(QTextList* self, int i);
|
|
|
|
void QTextList_Remove(QTextList* self, QTextBlock* param1);
|
|
|
|
void QTextList_Add(QTextList* self, QTextBlock* block);
|
|
|
|
void QTextList_SetFormat(QTextList* self, QTextListFormat* format);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTextListFormat* QTextList_Format(const QTextList* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTextList_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QTextList_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QTextList_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QTextList_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTextList_override_virtual_BlockInserted(void* self, intptr_t slot);
|
|
|
|
void QTextList_virtualbase_BlockInserted(void* self, QTextBlock* block);
|
|
|
|
void QTextList_override_virtual_BlockRemoved(void* self, intptr_t slot);
|
|
|
|
void QTextList_virtualbase_BlockRemoved(void* self, QTextBlock* block);
|
|
|
|
void QTextList_override_virtual_BlockFormatChanged(void* self, intptr_t slot);
|
|
|
|
void QTextList_virtualbase_BlockFormatChanged(void* self, QTextBlock* block);
|
|
|
|
void QTextList_Delete(QTextList* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|