summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qtableview.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-14 00:31:37 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-14 00:31:37 (GMT)
commit2ec89699a6f372ccbd92ce2bda753ec0e28f8650 (patch)
treee8f5a9c9bb8cb41a7e47e7b75cd3f6ddac702814 /src/gui/itemviews/qtableview.cpp
parent351060bd313220044b9323d59d56627e78deea9f (diff)
parent48592026bc9eb024f304411895c3f233b2296cfa (diff)
downloadQt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.zip
Qt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.tar.gz
Qt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.tar.bz2
Merge branch '4.6' of git://scm.dev.nokia.troll.no/qt/qt into kinetic-declarativeui
Conflicts: bin/syncqt src/corelib/io/qurl.cpp
Diffstat (limited to 'src/gui/itemviews/qtableview.cpp')
-rw-r--r--src/gui/itemviews/qtableview.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/gui/itemviews/qtableview.cpp b/src/gui/itemviews/qtableview.cpp
index d27e693..7eefb0b 100644
--- a/src/gui/itemviews/qtableview.cpp
+++ b/src/gui/itemviews/qtableview.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -2359,12 +2359,22 @@ void QTableView::setColumnHidden(int column, bool hide)
\property QTableView::sortingEnabled
\brief whether sorting is enabled
- If this property is true, sorting is enabled for the table; if the
- property is false, sorting is not enabled. The default value is false.
+ If this property is true, sorting is enabled for the table. If
+ this property is false, sorting is not enabled. The default value
+ is false.
+
+ \note. Setting the property to true with setSortingEnabled()
+ immediately triggers a call to sortByColumn() with the current
+ sort section and order.
\sa sortByColumn()
*/
+/*!
+ If \a enabled true enables sorting for the table and immediately
+ trigger a call to sortByColumn() with the current sort section and
+ order
+ */
void QTableView::setSortingEnabled(bool enable)
{
Q_D(QTableView);