summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qdatawidgetmapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemviews/qdatawidgetmapper.cpp')
-rw-r--r--src/gui/itemviews/qdatawidgetmapper.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/itemviews/qdatawidgetmapper.cpp b/src/gui/itemviews/qdatawidgetmapper.cpp
index 8b5ba3b..4a8db9e 100644
--- a/src/gui/itemviews/qdatawidgetmapper.cpp
+++ b/src/gui/itemviews/qdatawidgetmapper.cpp
@@ -278,11 +278,11 @@ void QDataWidgetMapperPrivate::_q_modelDestroyed()
Let us assume that we have an item model named \c{model} with the following contents:
\table
- \row \o 1 \o Nokia Corporation and/or its subsidiary(-ies) \o Oslo
- \row \o 2 \o Trolltech Pty \o Brisbane
- \row \o 3 \o Trolltech Inc \o Palo Alto
- \row \o 4 \o Trolltech China \o Beijing
- \row \o 5 \o Trolltech GmbH \o Berlin
+ \row \o 1 \o Qt Norway \o Oslo
+ \row \o 2 \o Qt Australia \o Brisbane
+ \row \o 3 \o Qt USA \o Palo Alto
+ \row \o 4 \o Qt China \o Beijing
+ \row \o 5 \o Qt Germany \o Berlin
\endtable
The following code will map the columns of the model to widgets called \c mySpinBox,
@@ -780,11 +780,11 @@ void QDataWidgetMapper::clearMapping()
Use Qt::Horizontal for tabular data that looks like this:
\table
- \row \o 1 \o Nokia Corporation and/or its subsidiary(-ies) \o Oslo
- \row \o 2 \o Trolltech Pty \o Brisbane
- \row \o 3 \o Trolltech Inc \o Silicon Valley
- \row \o 4 \o Trolltech China \o Beijing
- \row \o 5 \o Trolltech GmbH \o Berlin
+ \row \o 1 \o Qt Norway \o Oslo
+ \row \o 2 \o Qt Australia \o Brisbane
+ \row \o 3 \o Qt USA \o Silicon Valley
+ \row \o 4 \o Qt China \o Beijing
+ \row \o 5 \o Qt Germany \o Berlin
\endtable
If the orientation is set to Qt::Vertical, a widget is mapped to
@@ -796,7 +796,7 @@ void QDataWidgetMapper::clearMapping()
\table
\row \o 1 \o 2 \o 3 \o 4 \o 5
- \row \o Nokia Corporation and/or its subsidiary(-ies) \o Trolltech Pty \o Trolltech Inc \o Trolltech China \o Trolltech GmbH
+ \row \o Qt Norway \o Qt Australia \o Qt USA \o Qt China \o Qt Germany
\row \o Oslo \o Brisbane \o Silicon Valley \o Beijing \i Berlin
\endtable