summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprintengine_pdf_p.h
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2013-12-26 11:14:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-17 13:45:47 +0100
commit4ab55a01e96b6ac398d3a9afa2c93032e305f30b (patch)
tree9fd240e7fbfa3af6f08905ee7a275763a4b0bfe0 /src/printsupport/kernel/qprintengine_pdf_p.h
parentb0428926cece7bc362bc24c2eb1621b9fef737c7 (diff)
QPagedPaintDevice - Use QPageSize and QPageLayout
Use new QPageLayout and QPageSize class to store and convert page sizes and layouts consistently. Extend the PageSize enum to match QPage::PageSize. Note that public setters/getters cannot be added as virtuals would break BIC, but without virtuals the derived classes would break. Instead an internal api is provided and the derived classes will need to implement identical api to manipulate it. [ChangeLog][QtGui][QPagedPaintDevice] Paged paint devices such as QPrinter and QPdfWriter now support all Postscript standard page sizes. Task-number: QTBUG-27685 Task-number: QTBUG-25744 Change-Id: I62e96ab94194ab4ac8bed8fa804e0ce1c3233313 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/printsupport/kernel/qprintengine_pdf_p.h')
0 files changed, 0 insertions, 0 deletions