summaryrefslogtreecommitdiffstats
path: root/examples/itemviews/frozencolumn/freezetablewidget.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2009-11-19 17:34:43 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2009-11-23 14:50:48 (GMT)
commit44bea4d915ccfcb43b5392b4b915b9cb40f59faa (patch)
tree91f4e536c7e59b503854e693d6b77eb6428104b9 /examples/itemviews/frozencolumn/freezetablewidget.h
parent4cfc3a884835667fe8c3a6aa745dc4ace34794e4 (diff)
downloadQt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.zip
Qt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.tar.gz
Qt-44bea4d915ccfcb43b5392b4b915b9cb40f59faa.tar.bz2
A few tweaks to the frozen column example
Reviewed-By: Thierry
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;