From 0c04b31d2715f68aa883107b4aa593fd95aefdfe Mon Sep 17 00:00:00 2001 From: John Layt Date: Sun, 29 Dec 2013 20:19:48 +0100 Subject: QPdfPaintEngine - Use QPageLayout and QPageSize Switch internals of QPdfPageEngine and derived classes to use QPageLayout and QPageSize to make handling of page layout and size more consistent by removing multiple implementations. In particular remove all use of the QPdf namespace version of page size. Change-Id: Ie820340015e8812c8162bd1a257dd0f51f4f0b85 Reviewed-by: Lars Knoll --- src/gui/painting/qpagesize.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/painting/qpagesize.h') diff --git a/src/gui/painting/qpagesize.h b/src/gui/painting/qpagesize.h index c8a472747d..2e88d497a9 100644 --- a/src/gui/painting/qpagesize.h +++ b/src/gui/painting/qpagesize.h @@ -290,6 +290,7 @@ public: private: friend class QPageSizePrivate; friend class QPlatformPrintDevice; + friend class QCupsPrintEnginePrivate; QPageSize(const QString &key, const QSize &pointSize, const QString &name); QPageSize(int windowsId, const QSize &pointSize, const QString &name); QPageSize(QPageSizePrivate &dd); -- cgit v1.2.3