mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 03:30:52 +02:00
------------------------------------------------------------------------
r59566 | zeljko | 2018-11-17 10:16:16 +0100 (Sat, 17 Nov 2018) | 2 lines Qt5: added static QPrinterInfo_availablePrinterNames() which returs QStringList. part of #34558 ------------------------------------------------------------------------ git-svn-id: branches/fixes_2_0@59599 -
This commit is contained in:
parent
d1f2dc15f0
commit
0a367c607c
@ -83,6 +83,11 @@ void QPrinterInfo_availablePrinters(PPtrIntArray retval)
|
||||
copyQListTemplateToPtrIntArrayWithNew(t_retval, retval);
|
||||
}
|
||||
|
||||
void QPrinterInfo_availablePrinterNames(QStringListH retval)
|
||||
{
|
||||
*(QStringList *)retval = QPrinterInfo::availablePrinterNames();
|
||||
}
|
||||
|
||||
void QPrinterInfo_defaultPrinter(QPrinterInfoH retval)
|
||||
{
|
||||
*(QPrinterInfo *)retval = QPrinterInfo::defaultPrinter();
|
||||
|
@ -27,6 +27,7 @@ C_EXPORT bool QPrinterInfo_isNull(QPrinterInfoH handle);
|
||||
C_EXPORT bool QPrinterInfo_isDefault(QPrinterInfoH handle);
|
||||
C_EXPORT void QPrinterInfo_supportedPaperSizes(QPrinterInfoH handle, PPtrIntArray retval);
|
||||
C_EXPORT void QPrinterInfo_availablePrinters(PPtrIntArray retval);
|
||||
C_EXPORT void QPrinterInfo_availablePrinterNames(QStringListH retval);
|
||||
C_EXPORT void QPrinterInfo_defaultPrinter(QPrinterInfoH retval);
|
||||
C_EXPORT void QPrinterInfo_printerInfo(QPrinterInfoH retval, PWideString printerName);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user