summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2009-05-18 12:33:03 (GMT)
committerAndy Shaw <qt-info@nokia.com>2009-05-18 12:33:03 (GMT)
commit6f81986c3e5022fb6a873c6d60bede460bf6a4dd (patch)
treedd1ec4eee7682205196968f91823ad29e597954b
parent7008bfe80e0466ed2978b39e7e698bbd52fb690f (diff)
downloadQt-6f81986c3e5022fb6a873c6d60bede460bf6a4dd.zip
Qt-6f81986c3e5022fb6a873c6d60bede460bf6a4dd.tar.gz
Qt-6f81986c3e5022fb6a873c6d60bede460bf6a4dd.tar.bz2
Fix incorrect signal referred to in the docs
Fix the documentation to state sortIndicatorChanged() should be used and not sectionClicked() for connecting to the sortByColumn() slot as the sortByColumn() takes two parameters, not one. Reviewed-by: Kavindra Palaraja
-rw-r--r--doc/src/model-view-programming.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/model-view-programming.qdoc b/doc/src/model-view-programming.qdoc
index bf0c1c8..8874cfa 100644
--- a/doc/src/model-view-programming.qdoc
+++ b/doc/src/model-view-programming.qdoc
@@ -249,7 +249,7 @@
provide an API that allows you to sort your model data
programmatically. In addition, you can enable interactive sorting
(i.e. allowing the users to sort the data by clicking the view's
- headers), by connecting the QHeaderView::sectionClicked() signal
+ headers), by connecting the QHeaderView::sortIndicatorChanged() signal
to the QTableView::sortByColumn() slot or the
QTreeView::sortByColumn() slot, respectively.