From dc0d5bf387a0b440c74b9e822c46b09e20e00720 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Thu, 11 Oct 2012 16:02:22 +0200 Subject: [PATCH] Doc: Removed references to stale links. The links are from the qt-webpages.qdoc and no longer exist. Change-Id: I8329032215fa77811117e2767bae745795b209cb Reviewed-by: Martin Smith --- examples/widgets/doc/src/editabletreemodel.qdoc | 6 +----- src/testlib/doc/src/qttestlib-manual.qdoc | 8 -------- src/widgets/doc/src/modelview.qdoc | 23 ++++++++++------------- 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/examples/widgets/doc/src/editabletreemodel.qdoc b/examples/widgets/doc/src/editabletreemodel.qdoc index f0b10ef..7d30a8e 100644 --- a/examples/widgets/doc/src/editabletreemodel.qdoc +++ b/examples/widgets/doc/src/editabletreemodel.qdoc @@ -39,10 +39,6 @@ possible to insert new child items, and this is shown in the supporting example code. - \note The model only shows the basic principles used when creating an - editable, hierarchical model. You may wish to use the \l{ModelTest} - project to test production models. - \section1 Overview As described in the \l{Model Subclassing Reference}, models must @@ -212,7 +208,7 @@ As with the \l{itemviews/simpletreemodel}{Simple Tree Model} example, the \c TreeModel needs to be able to take a model index, find the corresponding \c TreeItem, and return model indexes that correspond to - its parents and children. + its parents and children. In the diagram, we show how the model's \l{TreeModel::parent}{parent()} implementation obtains the model index corresponding to the parent of diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc index 008c0b2..e7ee787 100644 --- a/src/testlib/doc/src/qttestlib-manual.qdoc +++ b/src/testlib/doc/src/qttestlib-manual.qdoc @@ -84,11 +84,6 @@ \li Custom types can easily be added to the test data and test output. \endtable - \note For higher-level GUI and application testing needs, please - see the \l{Partner Directory} for Qt testing products provided by - Nokia partners. - - \section1 QTestLib API All public methods are in the \l QTest namespace. In addition, the @@ -835,6 +830,3 @@ for more information on these tools and a simple graphing example. */ - - - diff --git a/src/widgets/doc/src/modelview.qdoc b/src/widgets/doc/src/modelview.qdoc index c133005..304af00 100644 --- a/src/widgets/doc/src/modelview.qdoc +++ b/src/widgets/doc/src/modelview.qdoc @@ -100,8 +100,8 @@ Let's have a closer look at a standard table widget. A table widget is a 2D array of the data elements that the user can change. The table widget can be integrated into a program flow by reading and writing the data elements that - the table widget provides. - This method is very intuitive and useful in many applications, but displaying + the table widget provides. + This method is very intuitive and useful in many applications, but displaying and editing a database table with a standard table widget can be problematic. Two copies of the data have to be coordinated: one outside the widget; one inside the widget. The developer is responsible for @@ -180,12 +180,12 @@ \section1 2. A Simple Model/View Application - If you want to develop a model/view application, where should you start? - We recommend starting with a simple example and extending it step-by-step. - This makes understanding the architecture a lot easier. Trying to understand - the model/view architecture in detail before invoking the IDE has proven - to be less convenient for many developers. It is substantially easier to - start with a simple model/view application that has demo data. Give it a + If you want to develop a model/view application, where should you start? + We recommend starting with a simple example and extending it step-by-step. + This makes understanding the architecture a lot easier. Trying to understand + the model/view architecture in detail before invoking the IDE has proven + to be less convenient for many developers. It is substantially easier to + start with a simple model/view application that has demo data. Give it a try! Simply replace the data in the examples below with your own. Below are 7 very simple and independent applications that show different @@ -202,7 +202,7 @@ We have the usual \l {modelview-part2-main-cpp.html}{main()} function: - Here is the interesting part: We create an instance of MyModel and use + Here is the interesting part: We create an instance of MyModel and use \l{QTableView::setModel()}{tableView.setModel(&myModel);} to pass a pointer of it to \l{QTableView}{tableView}. \l{QTableView}{tableView} will invoke the methods of the pointer it has received to find out two @@ -606,12 +606,9 @@ \e{Open Source Press}, ISBN 3-937514-12-0. \li \b{Foundations of Qt Development} / Johan Thelin, \e{Apress}, ISBN 1-59059-831-8. \li \b{Advanced Qt Programming} / Mark Summerfield, \e{Prentice Hall}, ISBN 0-321-63590-6. - This book covers Model/View programming on more than 150 pages. + This book covers Model/View programming on more than 150 pages. \endlist - More information about these books is available on the - \l{Books about Qt Programming}{Qt Web site}. - The following list provides an overview of example programs contained in the first three books listed above. Some of them make very good templates for developing similar applications. -- 2.7.4