summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/updating-selections/updating-selections.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/updating-selections/updating-selections.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/updating-selections/updating-selections.pro')
-rw-r--r--src/widgets/doc/snippets/updating-selections/updating-selections.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widgets/doc/snippets/updating-selections/updating-selections.pro b/src/widgets/doc/snippets/updating-selections/updating-selections.pro
index 91ebd3e84f..b9350172f5 100644
--- a/src/widgets/doc/snippets/updating-selections/updating-selections.pro
+++ b/src/widgets/doc/snippets/updating-selections/updating-selections.pro
@@ -1,2 +1,4 @@
-HEADERS += model.h window.h
-SOURCES += main.cpp model.cpp window.cpp
+QT += widgets
+HEADERS += ../common-table-model/model.h window.h
+SOURCES += main.cpp ../common-table-model/model.cpp window.cpp
+INCLUDEPATH += ../common-table-model