diff options
author | John Layt <jlayt@kde.org> | 2012-04-29 14:13:10 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-07 20:26:43 +0200 |
commit | 80f7a388906f94f58bf765a32b9abbb16f967db2 (patch) | |
tree | ba858ff71ee97d479ea2543a9e3dfd634049f86e /src/printsupport/kernel/qcups_p.h | |
parent | 36547f4eff44361f7a6acd0cff107c0e47561f93 (diff) |
QtPrintSupport: Remove remaining LPR specific code
CUPS is the only supported print system on UNIX, LPR/PS support has
already been dropped but some LPR specific code still remains.
* Move qt_getCupsPrinterPaperSizes from qprinterinfo_unix to
QCUPSSupport
* Remove qprinterinfo_unix as no longer used
* Remove LPR related code from QPdfPrintEngine
* Remove all QT_NO_LPR uses
* Remove most QT_NO_CUPS uses, use QT_NO_PRINTER where necessary
Some QT_NO_CUPS uses remain in QPdfPrintEngine, these will be removed
in a following change implementing a CUPS plugin.
Change-Id: I439b6fad9cf88c3d24aa48e49475f49ad310dbad
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/printsupport/kernel/qcups_p.h')
-rw-r--r-- | src/printsupport/kernel/qcups_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qcups_p.h b/src/printsupport/kernel/qcups_p.h index cbf153f347..0e61975dfa 100644 --- a/src/printsupport/kernel/qcups_p.h +++ b/src/printsupport/kernel/qcups_p.h @@ -57,7 +57,7 @@ #include "QtCore/qpair.h" #include "QtPrintSupport/qprinter.h" -#ifndef QT_NO_CUPS +#ifndef QT_NO_PRINTER #include <QtCore/qlibrary.h> #include <cups/cups.h> #include <cups/ppd.h> @@ -128,6 +128,6 @@ private: QT_END_NAMESPACE -#endif // QT_NO_CUPS +#endif // QT_NO_PRINTER #endif |