summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qtableview_p.h
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-10-26 20:38:58 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-11-02 05:56:58 +0000
commitd0f909f8dbdd8594b0d950822f0e7ab8728da513 (patch)
treee1d3b59a5eb94559a963cd0c664d4b8498336fe3 /src/widgets/itemviews/qtableview_p.h
parentd84a7a812818065f97e015e50f66f6dad8c9a978 (diff)
QTreeView/TableView: explicitly mark sortByColumn(int) as deprecated
QTreeView/TableView::sortByColumn(int) was deprecated a long time ago but never got removed. Therefore mark it with QT_DEPRECATED_SINCE(5, 13) so we can remove it with Qt6. Also sync the handling of the sort order changes in QTableView with the one from QTreeView. Change-Id: I0371d9a9c21116edaa9125835827f1a200075d36 Reviewed-by: Luca Beldi <v.ronin@yahoo.it> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/itemviews/qtableview_p.h')
-rw-r--r--src/widgets/itemviews/qtableview_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/itemviews/qtableview_p.h b/src/widgets/itemviews/qtableview_p.h
index 805787597c..520fd9a3af 100644
--- a/src/widgets/itemviews/qtableview_p.h
+++ b/src/widgets/itemviews/qtableview_p.h
@@ -257,6 +257,7 @@ public:
void _q_updateSpanInsertedColumns(const QModelIndex &parent, int start, int end);
void _q_updateSpanRemovedRows(const QModelIndex &parent, int start, int end);
void _q_updateSpanRemovedColumns(const QModelIndex &parent, int start, int end);
+ void _q_sortIndicatorChanged(int column, Qt::SortOrder order);
};
QT_END_NAMESPACE