diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:17 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:23 +0200 |
commit | 9456528aac80c6d4c41fa96d88696dc55414b710 (patch) | |
tree | f9fdcc9cd3c7468503590bec7ed082294a0cffde /src/widgets/itemviews/qdatawidgetmapper.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) | |
parent | ee38dec6f3aff6f7f277323c5c8488d4cd385693 (diff) |
Merge branch 'docs-refactoring' into master
Change-Id: Iebd1966abace3cdf7f9428dcfc1ded5b124ab113
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() */ |