summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinter_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-08-18 11:04:06 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-08-19 09:17:03 +0200
commit28f1c1b9ef10fc3a49a64a535c7747a009939453 (patch)
tree7b8211a4130804ccf7f1210da003eb2792e15fde /src/printsupport/kernel/qprinter_p.h
parent6d2c5d9ffe255410c34edbb1c1228e68c9d745bd (diff)
Restore feature compatibility with QPrinter in QTextDocument::print
Add a margin method to QPagedPaintDevice. The other variables required are stored in QPagedPaintDevicePrivate without a public API for now. This needs cleaning up once we have a new printing system. Change-Id: Id3f2d7ac7f3cbce8619072a897d91f3a588add64 Reviewed-on: http://codereview.qt.nokia.com/3211 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/printsupport/kernel/qprinter_p.h')
-rw-r--r--src/printsupport/kernel/qprinter_p.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/printsupport/kernel/qprinter_p.h b/src/printsupport/kernel/qprinter_p.h
index 1d5660e4d7..b339612d66 100644
--- a/src/printsupport/kernel/qprinter_p.h
+++ b/src/printsupport/kernel/qprinter_p.h
@@ -79,10 +79,6 @@ public:
, paintEngine(0)
, q_ptr(printer)
, printRange(QPrinter::AllPages)
- , minPage(1)
- , maxPage(INT_MAX)
- , fromPage(0)
- , toPage(0)
, use_default_engine(true)
, validPrinter(false)
, hasCustomPageMargins(false)
@@ -116,7 +112,6 @@ public:
QPrinter *q_ptr;
QPrinter::PrintRange printRange;
- int minPage, maxPage, fromPage, toPage;
uint use_default_engine : 1;
uint had_default_engines : 1;