diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2012-05-07 18:49:48 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-09 08:36:46 +0200 |
commit | 97b5b8009254004608feefb903cbf44abaa099f6 (patch) | |
tree | cf3a79caa34085de1308eb86cac6ea0d9663aa9c /src/widgets/itemviews/qdatawidgetmapper.cpp | |
parent | cfdc5628b1fc2cbafa2aebca38995e5718fcb0de (diff) |
Doc: Modularize QtWidgets documentation.
This change moves the snippets and images to the modularized
directories.
Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'src/widgets/itemviews/qdatawidgetmapper.cpp')
-rw-r--r-- | src/widgets/itemviews/qdatawidgetmapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/itemviews/qdatawidgetmapper.cpp b/src/widgets/itemviews/qdatawidgetmapper.cpp index 2f7b1f7ecb..4396519810 100644 --- a/src/widgets/itemviews/qdatawidgetmapper.cpp +++ b/src/widgets/itemviews/qdatawidgetmapper.cpp @@ -289,7 +289,7 @@ void QDataWidgetMapperPrivate::_q_modelDestroyed() The following code will map the columns of the model to widgets called \c mySpinBox, \c myLineEdit and \c{myCountryChooser}: - \snippet doc/src/snippets/code/src_gui_itemviews_qdatawidgetmapper.cpp 0 + \snippet code/src_gui_itemviews_qdatawidgetmapper.cpp 0 After the call to toFirst(), \c mySpinBox displays the value \c{1}, \c myLineEdit displays \c{Qt Norway} and \c myCountryChooser displays \c{Oslo}. The @@ -476,7 +476,7 @@ QModelIndex QDataWidgetMapper::rootIndex() const is mapped to the QLineEdit \c nameLineEdit, and the second is mapped to the QSpinBox \c{ageSpinBox}: - \snippet doc/src/snippets/code/src_gui_itemviews_qdatawidgetmapper.cpp 1 + \snippet code/src_gui_itemviews_qdatawidgetmapper.cpp 1 \b{Notes:} \list @@ -737,7 +737,7 @@ int QDataWidgetMapper::currentIndex() const with new data whenever the selection of a QTableView named \c myTableView changes: - \snippet doc/src/snippets/code/src_gui_itemviews_qdatawidgetmapper.cpp 2 + \snippet code/src_gui_itemviews_qdatawidgetmapper.cpp 2 \sa currentIndex() */ |