From 87d802465b5acad91ea43fcebaa636bba2a1917a Mon Sep 17 00:00:00 2001 From: John Layt Date: Tue, 10 Dec 2013 20:23:07 +0100 Subject: QPageSize - Add new QPageSize class New QPageSize class to encapsulate paper sizes and names to ensure all sizes and conversions are consistent and match the Postscript standard sizes. Subsequent changes will use this class in the paged paint devices, paint engines, print engines, and print plugins to replace multiple inconsistent local implementations. [ChangeLog][QtGui][QPageSize] Added new QPageSize class to implement Adobe Postscript PPD standard page sizes. This class supports the standard page sizes, names and keys from the PPD standard, and provides convenient size and rect conversion methods. Change-Id: Ie2c8be0c3df0d29ac5da4cd9877ad41d0982633c Reviewed-by: Lars Knoll --- src/printsupport/kernel/qprinter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/printsupport/kernel/qprinter.h') diff --git a/src/printsupport/kernel/qprinter.h b/src/printsupport/kernel/qprinter.h index 679f3af043..17afdc2157 100644 --- a/src/printsupport/kernel/qprinter.h +++ b/src/printsupport/kernel/qprinter.h @@ -75,6 +75,7 @@ public: enum Orientation { Portrait, Landscape }; + // ### Qt6 Remove in favor of QPage::PageSize #ifndef Q_QDOC typedef PageSize PaperSize; #else -- cgit v1.2.3