summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/3_changingmodel
diff options
context:
space:
mode:
authorMichael D Scull <ext-michael.scull@nokia.com>2010-06-28 10:49:05 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-07-07 15:10:17 (GMT)
commit798433c9046281a8739eb6b313c7dd0fc7b5e3b1 (patch)
tree583cd879dcfd575ef6fbe52199795f51aa69f8ad /examples/tutorials/modelview/3_changingmodel
parentca10c2c5a8190cac9c2ae0526f2e250add09d6f2 (diff)
downloadQt-798433c9046281a8739eb6b313c7dd0fc7b5e3b1.zip
Qt-798433c9046281a8739eb6b313c7dd0fc7b5e3b1.tar.gz
Qt-798433c9046281a8739eb6b313c7dd0fc7b5e3b1.tar.bz2
I've cleaned up the qdoc file a bit.
Diffstat (limited to 'examples/tutorials/modelview/3_changingmodel')
-rwxr-xr-xexamples/tutorials/modelview/3_changingmodel/mymodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
index fa7f566..8943003 100755
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
@@ -27,6 +27,7 @@ int MyModel::columnCount(const QModelIndex & /*parent */ ) const
}
//-------------------------------------------------------
+//! [quoting mymodel_QVariant ]
QVariant MyModel::data(const QModelIndex &index, int role ) const
{
int row = index.row();
@@ -41,7 +42,7 @@ QVariant MyModel::data(const QModelIndex &index, int role ) const
}
return QVariant();
}
-
+//! [quoting mymodel_QVariant ]
//-------------------------------------------------------
//! [quoting mymodel_b ]
void MyModel::timerHit()