summaryrefslogtreecommitdiffstats
path: root/examples/itemviews
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-08-16 14:04:48 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-08-19 09:16:22 +0200
commit699e8fe3a6724dd8288dd6a55b25e070eb198c9d (patch)
treec6928eb3928f2e687e4050e9f409a0afa2e7828a /examples/itemviews
parent9ebdc333a6a6485fd60a50a742a1d6edec211f53 (diff)
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>
Diffstat (limited to 'examples/itemviews')
-rw-r--r--examples/itemviews/spreadsheet/printview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/itemviews/spreadsheet/printview.h b/examples/itemviews/spreadsheet/printview.h
index 7c74844483..43a7bb39b7 100644
--- a/examples/itemviews/spreadsheet/printview.h
+++ b/examples/itemviews/spreadsheet/printview.h
@@ -43,6 +43,7 @@
#define PRINTVIEW_H
#include <QTableView>
+class QPrinter;
class PrintView : public QTableView
{