2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QPAGERANGES_H
|
|
|
|
#define MIQT_QT6_GEN_QPAGERANGES_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#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 QPageRanges;
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPageRanges__Range)
|
|
|
|
typedef QPageRanges::Range QPageRanges__Range;
|
|
|
|
#else
|
|
|
|
class QPageRanges__Range;
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
typedef struct QPageRanges QPageRanges;
|
|
|
|
typedef struct QPageRanges__Range QPageRanges__Range;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QPageRanges* QPageRanges_new();
|
|
|
|
QPageRanges* QPageRanges_new2(QPageRanges* other);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QPageRanges_OperatorAssign(QPageRanges* self, QPageRanges* other);
|
|
|
|
void QPageRanges_Swap(QPageRanges* self, QPageRanges* other);
|
|
|
|
void QPageRanges_AddPage(QPageRanges* self, int pageNumber);
|
|
|
|
void QPageRanges_AddRange(QPageRanges* self, int from, int to);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QPageRanges__Range* */ QPageRanges_ToRangeList(const QPageRanges* self);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QPageRanges_Clear(QPageRanges* self);
|
|
|
|
struct miqt_string QPageRanges_ToString(const QPageRanges* self);
|
|
|
|
QPageRanges* QPageRanges_FromString(struct miqt_string ranges);
|
|
|
|
bool QPageRanges_Contains(const QPageRanges* self, int pageNumber);
|
|
|
|
bool QPageRanges_IsEmpty(const QPageRanges* self);
|
|
|
|
int QPageRanges_FirstPage(const QPageRanges* self);
|
|
|
|
int QPageRanges_LastPage(const QPageRanges* self);
|
|
|
|
void QPageRanges_Detach(QPageRanges* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPageRanges_Delete(QPageRanges* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QPageRanges__Range* QPageRanges__Range_new();
|
|
|
|
QPageRanges__Range* QPageRanges__Range_new2(QPageRanges__Range* param1);
|
2024-10-20 05:21:03 +00:00
|
|
|
bool QPageRanges__Range_Contains(const QPageRanges__Range* self, int pageNumber);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPageRanges__Range_Delete(QPageRanges__Range* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|