2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_PRINTSUPPORT_GEN_QPRINTERINFO_H
|
|
|
|
#define MIQT_QT6_PRINTSUPPORT_GEN_QPRINTERINFO_H
|
2024-10-20 06:00:06 +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 QPageSize;
|
|
|
|
class QPrinter;
|
|
|
|
class QPrinterInfo;
|
|
|
|
#else
|
|
|
|
typedef struct QPageSize QPageSize;
|
|
|
|
typedef struct QPrinter QPrinter;
|
|
|
|
typedef struct QPrinterInfo QPrinterInfo;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPrinterInfo_new(QPrinterInfo** outptr_QPrinterInfo);
|
|
|
|
void QPrinterInfo_new2(QPrinterInfo* other, QPrinterInfo** outptr_QPrinterInfo);
|
|
|
|
void QPrinterInfo_new3(QPrinter* printer, QPrinterInfo** outptr_QPrinterInfo);
|
2024-10-20 06:00:06 +00:00
|
|
|
void QPrinterInfo_OperatorAssign(QPrinterInfo* self, QPrinterInfo* other);
|
|
|
|
struct miqt_string QPrinterInfo_PrinterName(const QPrinterInfo* self);
|
|
|
|
struct miqt_string QPrinterInfo_Description(const QPrinterInfo* self);
|
|
|
|
struct miqt_string QPrinterInfo_Location(const QPrinterInfo* self);
|
|
|
|
struct miqt_string QPrinterInfo_MakeAndModel(const QPrinterInfo* self);
|
|
|
|
bool QPrinterInfo_IsNull(const QPrinterInfo* self);
|
|
|
|
bool QPrinterInfo_IsDefault(const QPrinterInfo* self);
|
|
|
|
bool QPrinterInfo_IsRemote(const QPrinterInfo* self);
|
|
|
|
int QPrinterInfo_State(const QPrinterInfo* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QPageSize* */ QPrinterInfo_SupportedPageSizes(const QPrinterInfo* self);
|
2024-10-20 06:00:06 +00:00
|
|
|
QPageSize* QPrinterInfo_DefaultPageSize(const QPrinterInfo* self);
|
|
|
|
bool QPrinterInfo_SupportsCustomPageSizes(const QPrinterInfo* self);
|
|
|
|
QPageSize* QPrinterInfo_MinimumPhysicalPageSize(const QPrinterInfo* self);
|
|
|
|
QPageSize* QPrinterInfo_MaximumPhysicalPageSize(const QPrinterInfo* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of int */ QPrinterInfo_SupportedResolutions(const QPrinterInfo* self);
|
2024-10-20 06:00:06 +00:00
|
|
|
int QPrinterInfo_DefaultDuplexMode(const QPrinterInfo* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of int */ QPrinterInfo_SupportedDuplexModes(const QPrinterInfo* self);
|
2024-10-20 06:00:06 +00:00
|
|
|
int QPrinterInfo_DefaultColorMode(const QPrinterInfo* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of int */ QPrinterInfo_SupportedColorModes(const QPrinterInfo* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QPrinterInfo_AvailablePrinterNames();
|
|
|
|
struct miqt_array /* of QPrinterInfo* */ QPrinterInfo_AvailablePrinters();
|
2024-10-20 06:00:06 +00:00
|
|
|
struct miqt_string QPrinterInfo_DefaultPrinterName();
|
|
|
|
QPrinterInfo* QPrinterInfo_DefaultPrinter();
|
|
|
|
QPrinterInfo* QPrinterInfo_PrinterInfo(struct miqt_string printerName);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPrinterInfo_Delete(QPrinterInfo* self, bool isSubclass);
|
2024-10-20 06:00:06 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|