2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_PRINTSUPPORT_GEN_QPRINTERINFO_H
|
|
|
|
#define MIQT_QT6_PRINTSUPPORT_GEN_QPRINTERINFO_H
|
2024-10-20 19:00:06 +13: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-12-07 17:15:57 +13:00
|
|
|
QPrinterInfo* QPrinterInfo_new();
|
|
|
|
QPrinterInfo* QPrinterInfo_new2(QPrinterInfo* other);
|
|
|
|
QPrinterInfo* QPrinterInfo_new3(QPrinter* printer);
|
2025-02-01 13:45:16 +13: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);
|
|
|
|
struct miqt_array /* of QPageSize* */ QPrinterInfo_supportedPageSizes(const QPrinterInfo* self);
|
|
|
|
QPageSize* QPrinterInfo_defaultPageSize(const QPrinterInfo* self);
|
|
|
|
bool QPrinterInfo_supportsCustomPageSizes(const QPrinterInfo* self);
|
|
|
|
QPageSize* QPrinterInfo_minimumPhysicalPageSize(const QPrinterInfo* self);
|
|
|
|
QPageSize* QPrinterInfo_maximumPhysicalPageSize(const QPrinterInfo* self);
|
|
|
|
struct miqt_array /* of int */ QPrinterInfo_supportedResolutions(const QPrinterInfo* self);
|
|
|
|
int QPrinterInfo_defaultDuplexMode(const QPrinterInfo* self);
|
|
|
|
struct miqt_array /* of int */ QPrinterInfo_supportedDuplexModes(const QPrinterInfo* self);
|
|
|
|
int QPrinterInfo_defaultColorMode(const QPrinterInfo* self);
|
|
|
|
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();
|
|
|
|
struct miqt_string QPrinterInfo_defaultPrinterName();
|
|
|
|
QPrinterInfo* QPrinterInfo_defaultPrinter();
|
|
|
|
QPrinterInfo* QPrinterInfo_printerInfo(struct miqt_string printerName);
|
|
|
|
void QPrinterInfo_delete(QPrinterInfo* self);
|
2024-10-20 19:00:06 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-10-20 19:00:06 +13:00
|
|
|
|
|
|
|
#endif
|