Changeset View
Changeset View
Standalone View
Standalone View
src/print.cpp
Show All 27 Lines | |||||
28 | #include <QPrintEngine> | 28 | #include <QPrintEngine> | ||
29 | #include <QPrintDialog> | 29 | #include <QPrintDialog> | ||
30 | #include <QStandardPaths> | 30 | #include <QStandardPaths> | ||
31 | // #include <QtPrintSupport/private/qprint_p.h> | 31 | // #include <QtPrintSupport/private/qprint_p.h> | ||
32 | #include <QtPrintSupport/private/qcups_p.h> | 32 | #include <QtPrintSupport/private/qcups_p.h> | ||
33 | #include <QUrl> | 33 | #include <QUrl> | ||
34 | #include <QTemporaryFile> | 34 | #include <QTemporaryFile> | ||
35 | 35 | | |||
36 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdePrint, "xdg-desktop-portal-kde-print") | 36 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdePrint, "xdp-kde-print") | ||
37 | 37 | | |||
38 | // INFO: code below is copied from Qt as there is no public API for converting key to PageSizeId | 38 | // INFO: code below is copied from Qt as there is no public API for converting key to PageSizeId | ||
39 | 39 | | |||
40 | // TODO seems to by Windows only stuff | 40 | // TODO seems to by Windows only stuff | ||
41 | // Standard sources data | 41 | // Standard sources data | ||
42 | // struct StandardPaperSource { | 42 | // struct StandardPaperSource { | ||
43 | // QPrinter::PaperSource sourceNum; | 43 | // QPrinter::PaperSource sourceNum; | ||
44 | // const char *source; | 44 | // const char *source; | ||
▲ Show 20 Lines • Show All 933 Lines • Show Last 20 Lines |