2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_PRINTSUPPORT_GEN_QPRINTDIALOG_H
|
|
|
|
#define MIQT_QT_PRINTSUPPORT_GEN_QPRINTDIALOG_H
|
2024-10-16 05:08:07 +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
|
2024-11-19 06:29:06 +00:00
|
|
|
class QAbstractPrintDialog;
|
|
|
|
class QDialog;
|
2024-10-16 05:08:07 +00:00
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
|
|
|
class QPaintDevice;
|
2024-10-16 05:08:07 +00:00
|
|
|
class QPrintDialog;
|
|
|
|
class QPrinter;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QAbstractPrintDialog QAbstractPrintDialog;
|
|
|
|
typedef struct QDialog QDialog;
|
2024-10-16 05:08:07 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
2024-10-16 05:08:07 +00:00
|
|
|
typedef struct QPrintDialog QPrintDialog;
|
|
|
|
typedef struct QPrinter QPrinter;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPrintDialog_new(QWidget* parent, QPrintDialog** outptr_QPrintDialog, QAbstractPrintDialog** outptr_QAbstractPrintDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPrintDialog_new2(QPrinter* printer, QPrintDialog** outptr_QPrintDialog, QAbstractPrintDialog** outptr_QAbstractPrintDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPrintDialog_new3(QPrintDialog** outptr_QPrintDialog, QAbstractPrintDialog** outptr_QAbstractPrintDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPrintDialog_new4(QPrinter* printer, QWidget* parent, QPrintDialog** outptr_QPrintDialog, QAbstractPrintDialog** outptr_QAbstractPrintDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
2024-10-16 05:08:07 +00:00
|
|
|
QMetaObject* QPrintDialog_MetaObject(const QPrintDialog* self);
|
|
|
|
void* QPrintDialog_Metacast(QPrintDialog* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPrintDialog_Tr(const char* s);
|
|
|
|
struct miqt_string QPrintDialog_TrUtf8(const char* s);
|
2024-10-16 05:08:07 +00:00
|
|
|
int QPrintDialog_Exec(QPrintDialog* self);
|
|
|
|
void QPrintDialog_Accept(QPrintDialog* self);
|
|
|
|
void QPrintDialog_Done(QPrintDialog* self, int result);
|
|
|
|
void QPrintDialog_SetOption(QPrintDialog* self, int option);
|
|
|
|
bool QPrintDialog_TestOption(const QPrintDialog* self, int option);
|
|
|
|
void QPrintDialog_SetOptions(QPrintDialog* self, int options);
|
|
|
|
int QPrintDialog_Options(const QPrintDialog* self);
|
|
|
|
void QPrintDialog_SetVisible(QPrintDialog* self, bool visible);
|
|
|
|
void QPrintDialog_Accepted(QPrintDialog* self, QPrinter* printer);
|
|
|
|
void QPrintDialog_connect_Accepted(QPrintDialog* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPrintDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPrintDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPrintDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPrintDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-10-16 05:08:07 +00:00
|
|
|
void QPrintDialog_SetOption2(QPrintDialog* self, int option, bool on);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPrintDialog_override_virtual_Exec(void* self, intptr_t slot);
|
|
|
|
int QPrintDialog_virtualbase_Exec(void* self);
|
|
|
|
void QPrintDialog_override_virtual_Accept(void* self, intptr_t slot);
|
|
|
|
void QPrintDialog_virtualbase_Accept(void* self);
|
|
|
|
void QPrintDialog_override_virtual_Done(void* self, intptr_t slot);
|
|
|
|
void QPrintDialog_virtualbase_Done(void* self, int result);
|
|
|
|
void QPrintDialog_override_virtual_SetVisible(void* self, intptr_t slot);
|
|
|
|
void QPrintDialog_virtualbase_SetVisible(void* self, bool visible);
|
|
|
|
void QPrintDialog_Delete(QPrintDialog* self, bool isSubclass);
|
2024-10-16 05:08:07 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|