From 699e8fe3a6724dd8288dd6a55b25e070eb198c9d Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 16 Aug 2011 14:04:48 +0200 Subject: 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 Reviewed-by: Gunnar Sletta --- examples/itemviews/spreadsheet/printview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/itemviews') 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 +class QPrinter; class PrintView : public QTableView { -- cgit v1.2.3