From 5a07e87fd29baf794d3033df1ba70d181753df43 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 15 Aug 2012 17:48:16 +0200 Subject: 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 --- src/widgets/doc/snippets/itemselection/itemselection.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/widgets/doc/snippets/itemselection/itemselection.pro') 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 -- cgit v1.2.3