summaryrefslogtreecommitdiffstats
path: root/examples/itemviews/frozencolumn/freezetablewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/itemviews/frozencolumn/freezetablewidget.h')
-rw-r--r--examples/itemviews/frozencolumn/freezetablewidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/itemviews/frozencolumn/freezetablewidget.h b/examples/itemviews/frozencolumn/freezetablewidget.h
index 403890f..d236d40 100644
--- a/examples/itemviews/frozencolumn/freezetablewidget.h
+++ b/examples/itemviews/frozencolumn/freezetablewidget.h
@@ -56,6 +56,7 @@ public:
protected:
virtual void resizeEvent(QResizeEvent *event);
virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
+ void scrollTo (const QModelIndex & index, ScrollHint hint = EnsureVisible);
private:
QTableView *frozenTableView;