summaryrefslogtreecommitdiffstats
path: root/examples/itemviews
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-28 09:49:05 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-28 12:18:53 +0200
commita1d19b09174310ad865d0bf4add780efce887717 (patch)
tree1967fa7542ec13a8e652f77e0e190e8c4768b780 /examples/itemviews
parentdea76f3496ee077e271b334c7e8101fed5119481 (diff)
Make examples build with Qt-in-namespace
Change-Id: Ie4710b8f3afb44191927bab94eb47e00207cb831 Reviewed-on: http://codereview.qt-project.org/5684 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'examples/itemviews')
-rw-r--r--examples/itemviews/spreadsheet/printview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/itemviews/spreadsheet/printview.h b/examples/itemviews/spreadsheet/printview.h
index 43a7bb39b7..358aee008a 100644
--- a/examples/itemviews/spreadsheet/printview.h
+++ b/examples/itemviews/spreadsheet/printview.h
@@ -43,7 +43,9 @@
#define PRINTVIEW_H
#include <QTableView>
+QT_BEGIN_NAMESPACE
class QPrinter;
+QT_END_NAMESPACE
class PrintView : public QTableView
{