miqt/qt/gen_qpdfwriter.h

112 lines
5.2 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QPDFWRITER_H
#define MIQT_QT_GEN_QPDFWRITER_H
#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
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
class QIODevice;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
class QPagedPaintDevice;
2024-08-29 07:01:51 +00:00
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPagedPaintDevice__Margins)
typedef QPagedPaintDevice::Margins QPagedPaintDevice__Margins;
#else
class QPagedPaintDevice__Margins;
#endif
2024-11-19 06:29:06 +00:00
class QPaintDevice;
class QPaintEngine;
class QPdfWriter;
class QSizeF;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
typedef struct QPagedPaintDevice QPagedPaintDevice;
2024-08-29 07:01:51 +00:00
typedef struct QPagedPaintDevice__Margins QPagedPaintDevice__Margins;
2024-11-19 06:29:06 +00:00
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEngine QPaintEngine;
typedef struct QPdfWriter QPdfWriter;
typedef struct QSizeF QSizeF;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
#endif
2024-11-19 06:29:06 +00:00
void QPdfWriter_new(struct miqt_string filename, QPdfWriter** outptr_QPdfWriter, QObject** outptr_QObject, QPagedPaintDevice** outptr_QPagedPaintDevice, QPaintDevice** outptr_QPaintDevice);
void QPdfWriter_new2(QIODevice* device, QPdfWriter** outptr_QPdfWriter, QObject** outptr_QObject, QPagedPaintDevice** outptr_QPagedPaintDevice, QPaintDevice** outptr_QPaintDevice);
QMetaObject* QPdfWriter_MetaObject(const QPdfWriter* self);
void* QPdfWriter_Metacast(QPdfWriter* self, const char* param1);
struct miqt_string QPdfWriter_Tr(const char* s);
struct miqt_string QPdfWriter_TrUtf8(const char* s);
void QPdfWriter_SetPdfVersion(QPdfWriter* self, int version);
int QPdfWriter_PdfVersion(const QPdfWriter* self);
struct miqt_string QPdfWriter_Title(const QPdfWriter* self);
void QPdfWriter_SetTitle(QPdfWriter* self, struct miqt_string title);
struct miqt_string QPdfWriter_Creator(const QPdfWriter* self);
void QPdfWriter_SetCreator(QPdfWriter* self, struct miqt_string creator);
bool QPdfWriter_NewPage(QPdfWriter* self);
void QPdfWriter_SetResolution(QPdfWriter* self, int resolution);
int QPdfWriter_Resolution(const QPdfWriter* self);
void QPdfWriter_SetDocumentXmpMetadata(QPdfWriter* self, struct miqt_string xmpMetadata);
struct miqt_string QPdfWriter_DocumentXmpMetadata(const QPdfWriter* self);
void QPdfWriter_AddFileAttachment(QPdfWriter* self, struct miqt_string fileName, struct miqt_string data);
void QPdfWriter_SetPageSize(QPdfWriter* self, int size);
void QPdfWriter_SetPageSizeMM(QPdfWriter* self, QSizeF* size);
2024-08-29 07:01:51 +00:00
void QPdfWriter_SetMargins(QPdfWriter* self, QPagedPaintDevice__Margins* m);
2024-11-19 06:29:06 +00:00
QPaintEngine* QPdfWriter_PaintEngine(const QPdfWriter* self);
int QPdfWriter_Metric(const QPdfWriter* self, int id);
struct miqt_string QPdfWriter_Tr2(const char* s, const char* c);
struct miqt_string QPdfWriter_Tr3(const char* s, const char* c, int n);
struct miqt_string QPdfWriter_TrUtf82(const char* s, const char* c);
struct miqt_string QPdfWriter_TrUtf83(const char* s, const char* c, int n);
void QPdfWriter_AddFileAttachment3(QPdfWriter* self, struct miqt_string fileName, struct miqt_string data, struct miqt_string mimeType);
2024-11-19 06:29:06 +00:00
void QPdfWriter_override_virtual_NewPage(void* self, intptr_t slot);
bool QPdfWriter_virtualbase_NewPage(void* self);
void QPdfWriter_override_virtual_SetPageSize(void* self, intptr_t slot);
void QPdfWriter_virtualbase_SetPageSize(void* self, int size);
void QPdfWriter_override_virtual_SetPageSizeMM(void* self, intptr_t slot);
void QPdfWriter_virtualbase_SetPageSizeMM(void* self, QSizeF* size);
void QPdfWriter_override_virtual_SetMargins(void* self, intptr_t slot);
void QPdfWriter_virtualbase_SetMargins(void* self, QPagedPaintDevice__Margins* m);
void QPdfWriter_override_virtual_PaintEngine(void* self, intptr_t slot);
QPaintEngine* QPdfWriter_virtualbase_PaintEngine(const void* self);
void QPdfWriter_override_virtual_Metric(void* self, intptr_t slot);
int QPdfWriter_virtualbase_Metric(const void* self, int id);
void QPdfWriter_override_virtual_Event(void* self, intptr_t slot);
bool QPdfWriter_virtualbase_Event(void* self, QEvent* event);
void QPdfWriter_override_virtual_EventFilter(void* self, intptr_t slot);
bool QPdfWriter_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QPdfWriter_override_virtual_TimerEvent(void* self, intptr_t slot);
void QPdfWriter_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QPdfWriter_override_virtual_ChildEvent(void* self, intptr_t slot);
void QPdfWriter_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QPdfWriter_override_virtual_CustomEvent(void* self, intptr_t slot);
void QPdfWriter_virtualbase_CustomEvent(void* self, QEvent* event);
void QPdfWriter_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QPdfWriter_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QPdfWriter_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QPdfWriter_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QPdfWriter_Delete(QPdfWriter* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif