summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/itemselection/itemselection.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-08-15 17:48:16 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-21 11:05:20 +0200
commit5a07e87fd29baf794d3033df1ba70d181753df43 (patch)
tree7d2163cb367b51b4db7d978945c0ca74d5bb4255 /src/widgets/doc/snippets/itemselection/itemselection.pro
parent3a7b6a74a8b36d98d57f4ec73b7e57f14911a775 (diff)
Reuse the same QAbstractTableModel implementation for 4 snippets
They were really the same anyway. This makes the source distro a bit more compact and eliminates some qdoc errors of the form ../doc/snippets/reading-selections/model.cpp:51: Overrides a previous doc ../doc/snippets/itemselection/model.cpp:51: (The previous doc is here) Change-Id: I7956f457422e9078c32de65cd421685f589c8a6c Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
Diffstat (limited to 'src/widgets/doc/snippets/itemselection/itemselection.pro')
-rw-r--r--src/widgets/doc/snippets/itemselection/itemselection.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widgets/doc/snippets/itemselection/itemselection.pro b/src/widgets/doc/snippets/itemselection/itemselection.pro
index b1126bfe73..57f752f0b0 100644
--- a/src/widgets/doc/snippets/itemselection/itemselection.pro
+++ b/src/widgets/doc/snippets/itemselection/itemselection.pro
@@ -1,3 +1,5 @@
-HEADERS = model.h
+QT += widgets
+HEADERS = ../common-table-model/model.h
SOURCES = main.cpp \
- model.cpp
+ ../common-table-model/model.cpp
+INCLUDEPATH += ../common-table-model