Use the paged paintdevice in the print() method of QTextDocument.
authorLars Knoll <lars.knoll@nokia.com>
Tue, 16 Aug 2011 12:04:48 +0000 (14:04 +0200)
committerLars Knoll <lars.knoll@nokia.com>
Fri, 19 Aug 2011 07:16:22 +0000 (09:16 +0200)
commit699e8fe3a6724dd8288dd6a55b25e070eb198c9d
treec6928eb3928f2e687e4050e9f409a0afa2e7828a
parent9ebdc333a6a6485fd60a50a742a1d6edec211f53
Use the paged paintdevice in the print() method of QTextDocument.

This is required to be able to move the printing system into
it's own library.

Change-Id: If70a55be4c4413f9cd917a30d1b368f32c1145e4
Reviewed-on: http://codereview.qt.nokia.com/3207
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
examples/itemviews/spreadsheet/printview.h
examples/richtext/textedit/textedit.h
src/gui/printsupport/printsupport.pri
src/gui/text/qtextcontrol.cpp
src/gui/text/qtextcontrol_p.h
src/gui/text/qtextdocument.cpp
src/gui/text/qtextdocument.h
src/widgets/widgets/qwidgettextcontrol.cpp