diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-07 13:13:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-07 13:14:58 (GMT) |
commit | e5e2f9fd5c1554337a576374ec6744f953d2404d (patch) | |
tree | f64fffb41f469a5318267d233cad4890b860006a /src/gui/itemviews/qcolumnview.h | |
parent | f5392a4290e5f7ae2bdf268c1fa8c037e776fdae (diff) | |
download | Qt-e5e2f9fd5c1554337a576374ec6744f953d2404d.zip Qt-e5e2f9fd5c1554337a576374ec6744f953d2404d.tar.gz Qt-e5e2f9fd5c1554337a576374ec6744f953d2404d.tar.bz2 |
QColumnView: didn't react to addition of rows/cols in the current view
Task-number: 246999
Diffstat (limited to 'src/gui/itemviews/qcolumnview.h')
-rw-r--r-- | src/gui/itemviews/qcolumnview.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/itemviews/qcolumnview.h b/src/gui/itemviews/qcolumnview.h index 880870a..f8697e9 100644 --- a/src/gui/itemviews/qcolumnview.h +++ b/src/gui/itemviews/qcolumnview.h @@ -97,16 +97,14 @@ protected: QRegion visualRegionForSelection(const QItemSelection &selection) const; int horizontalOffset() const; int verticalOffset() const; - void scrollContentsBy(int dx, int dy); + void rowsInserted(const QModelIndex &parent, int start, int end); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); // QColumnView functions + void scrollContentsBy(int dx, int dy); virtual QAbstractItemView* createColumn(const QModelIndex &rootIndex); void initializeColumn(QAbstractItemView *column) const; -protected Q_SLOTS: - // QAbstractItemView overloads - void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); - private: Q_DECLARE_PRIVATE(QColumnView) Q_DISABLE_COPY(QColumnView) |