From 2dcad8f5c899ecec459d9e2a2c30211ee9e6c20c Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 8 Apr 2014 13:24:42 +0200 Subject: Doc: correct link/compilation errors in Qt Declarative Task-number: QTBUG-34749 Change-Id: I507d54b0568d77c6099a0bd99f5c369b8667032a Reviewed-by: Venugopal Shivashankar Reviewed-by: Martin Smith --- src/quick/doc/images/visualitemmodel.png | Bin 347 -> 0 bytes src/quick/doc/qtquick.qdocconf | 2 ++ src/quick/doc/src/concepts/modelviewsdata/cppmodels.qdoc | 6 +++--- .../doc/src/concepts/statesanimations/animations.qdoc | 4 ++-- src/quick/doc/src/concepts/statesanimations/states.qdoc | 2 +- src/quick/doc/src/examples.qdoc | 2 +- src/quick/doc/src/tutorial.qdoc | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 src/quick/doc/images/visualitemmodel.png (limited to 'src/quick/doc') diff --git a/src/quick/doc/images/visualitemmodel.png b/src/quick/doc/images/visualitemmodel.png deleted file mode 100644 index 5e6d1325b2..0000000000 Binary files a/src/quick/doc/images/visualitemmodel.png and /dev/null differ diff --git a/src/quick/doc/qtquick.qdocconf b/src/quick/doc/qtquick.qdocconf index edad14cfd4..959a54b7d8 100644 --- a/src/quick/doc/qtquick.qdocconf +++ b/src/quick/doc/qtquick.qdocconf @@ -67,6 +67,8 @@ excludedirs += ../../imports/dialogs \ ../../imports/models \ ../../../examples/quick/dialogs +manifestmeta.thumbnail.names += "QtQuick/Threaded ListModel Example" + navigation.landingpage = "Qt Quick" navigation.cppclassespage = "Qt Quick C++ Classes" navigation.qmltypespage = "Qt Quick QML Types" diff --git a/src/quick/doc/src/concepts/modelviewsdata/cppmodels.qdoc b/src/quick/doc/src/concepts/modelviewsdata/cppmodels.qdoc index f1e13e127c..49e4998ee1 100644 --- a/src/quick/doc/src/concepts/modelviewsdata/cppmodels.qdoc +++ b/src/quick/doc/src/concepts/modelviewsdata/cppmodels.qdoc @@ -57,7 +57,7 @@ to a QStringList: \snippet models/stringlistmodel/main.cpp 0 The complete source code for this example is available in -\l {quick/modelviews/stringlistmodel}{examples/quick/modelviews/stringlistmodel} +\l {models/stringlistmodel}{examples/quick/models/stringlistmodel} within the Qt install directory. \b{Note:} There is no way for the view to know that the contents of a QStringList @@ -94,7 +94,7 @@ object, as they are easily available via the \c modelData object. The complete source code for this example is available in -\l {quick/modelviews/objectlistmodel}{examples/quick/modelviews/objectlistmodel} +\l {models/objectlistmodel}{examples/quick/models/objectlistmodel} within the Qt install directory. Note: There is no way for the view to know that the contents of a QList @@ -140,7 +140,7 @@ QAbstractItemModel::beginInsertRows(), and so on. See the \l {Model subclassing more information. The complete source code for this example is available in -\l {quick/modelviews/abstractitemmodel}{examples/quick/modelviews/abstractitemmodel} +\l {models/abstractitemmodel}{examples/quick/models/abstractitemmodel} within the Qt install directory. QAbstractItemModel presents a hierarchy of tables, but the views currently provided by QML diff --git a/src/quick/doc/src/concepts/statesanimations/animations.qdoc b/src/quick/doc/src/concepts/statesanimations/animations.qdoc index e4e208863b..080b786f9b 100644 --- a/src/quick/doc/src/concepts/statesanimations/animations.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/animations.qdoc @@ -183,7 +183,7 @@ There are several methods of assigning behavior animations to properties. The \c{Behavior on } declaration is a convenient way of assigning a behavior animation onto a property. -See the \l {declarative/animation/behaviors}{Behaviors example} for a +See the \l {Qt Quick Examples - Animation} for a demonstration of behavioral animations. \section1 Playing Animations in Parallel or in Sequence @@ -235,7 +235,7 @@ are also different parameters to control the curve, some of which are exclusive to a particular curve. For more information about the easing curves, visit the \l {PropertyAnimation::easing.type}{easing} documentation. -The \l{declarative/animation/easing}{easing example} visually demonstrates each +The \l{animation/easing}{easing example} visually demonstrates each of the different easing types. \section2 Other Animation Types diff --git a/src/quick/doc/src/concepts/statesanimations/states.qdoc b/src/quick/doc/src/concepts/statesanimations/states.qdoc index d9978d454e..b0d7765c66 100644 --- a/src/quick/doc/src/concepts/statesanimations/states.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/states.qdoc @@ -121,7 +121,7 @@ interpolation behaviors are definable. The {Animation and Transitions} article has more information about creating state animations. -The \l {declarative/animation/states}{States and Transitions example} +The \l {animation/states}{States and Transitions example} demonstrates how to declare a basic set of states and apply animated transitions between them. diff --git a/src/quick/doc/src/examples.qdoc b/src/quick/doc/src/examples.qdoc index 3669a31de0..51525b8f57 100644 --- a/src/quick/doc/src/examples.qdoc +++ b/src/quick/doc/src/examples.qdoc @@ -126,7 +126,7 @@ Creator. \list \li \l{Qt Quick Controls - Gallery}{Controls Gallery} \li \l{Qt Quick System Dialog Examples}{Dialog Examples} - \li \l{Qt Quick Controls - Calendar Example}{Calendar Example} + \li \l{Calendar Example} \li \l{Qt Quick Controls - Table View Example}{TableView} \li \l{Qt Quick Examples - Text}{Text and Fonts} \li \l{Qt Quick Examples - Toggle Switch}{Custom Toggle Switch} diff --git a/src/quick/doc/src/tutorial.qdoc b/src/quick/doc/src/tutorial.qdoc index 75ca1b8d55..91032f1d92 100644 --- a/src/quick/doc/src/tutorial.qdoc +++ b/src/quick/doc/src/tutorial.qdoc @@ -223,5 +223,5 @@ This is equivalent to writing the two transitions separately. The \l ParallelAnimation type makes sure that the two types of animations (number and color) start at the same time. We could also run them one after the other by using \l SequentialAnimation instead. -For more details on states and transitions, see \l {Qt Quick States} and the \l{quick/animation/states}{states and transitions example}. +For more details on states and transitions, see \l {Qt Quick States} and the \l{animation/states}{states and transitions example}. */ -- cgit v1.2.3