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 <martin.smith@digia.com>
This commit is contained in:
Jerome Pasion 2012-10-11 16:02:22 +02:00 committed by The Qt Project
parent 8229841a4e
commit dc0d5bf387
3 changed files with 11 additions and 26 deletions

View File

@ -39,10 +39,6 @@
possible to insert new child items, and this is shown in the supporting possible to insert new child items, and this is shown in the supporting
example code. 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 \section1 Overview
As described in the \l{Model Subclassing Reference}, models must As described in the \l{Model Subclassing Reference}, models must
@ -212,7 +208,7 @@
As with the \l{itemviews/simpletreemodel}{Simple Tree Model} example, As with the \l{itemviews/simpletreemodel}{Simple Tree Model} example,
the \c TreeModel needs to be able to take a model index, find the the \c TreeModel needs to be able to take a model index, find the
corresponding \c TreeItem, and return model indexes that correspond to 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()} In the diagram, we show how the model's \l{TreeModel::parent}{parent()}
implementation obtains the model index corresponding to the parent of implementation obtains the model index corresponding to the parent of

View File

@ -84,11 +84,6 @@
\li Custom types can easily be added to the test data and test output. \li Custom types can easily be added to the test data and test output.
\endtable \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 \section1 QTestLib API
All public methods are in the \l QTest namespace. In addition, the 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. for more information on these tools and a simple graphing example.
*/ */

View File

@ -100,8 +100,8 @@
Let's have a closer look at a standard table widget. A table widget is a 2D 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 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 integrated into a program flow by reading and writing the data elements that
the table widget provides. the table widget provides.
This method is very intuitive and useful in many applications, but displaying 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. 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 Two copies of the data have to be coordinated: one outside the
widget; one inside the widget. The developer is responsible for widget; one inside the widget. The developer is responsible for
@ -180,12 +180,12 @@
\section1 2. A Simple Model/View Application \section1 2. A Simple Model/View Application
If you want to develop a model/view application, where should you start? 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. We recommend starting with a simple example and extending it step-by-step.
This makes understanding the architecture a lot easier. Trying to understand This makes understanding the architecture a lot easier. Trying to understand
the model/view architecture in detail before invoking the IDE has proven the model/view architecture in detail before invoking the IDE has proven
to be less convenient for many developers. It is substantially easier to 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 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. try! Simply replace the data in the examples below with your own.
Below are 7 very simple and independent applications that show different 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: 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 \l{QTableView::setModel()}{tableView.setModel(&myModel);} to pass a
pointer of it to \l{QTableView}{tableView}. \l{QTableView}{tableView} pointer of it to \l{QTableView}{tableView}. \l{QTableView}{tableView}
will invoke the methods of the pointer it has received to find out two 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. \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{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. \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 \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 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 books listed above. Some of them make very good templates for developing similar
applications. applications.