summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qcolumnview.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-07 13:13:44 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-07 13:14:58 (GMT)
commite5e2f9fd5c1554337a576374ec6744f953d2404d (patch)
treef64fffb41f469a5318267d233cad4890b860006a /src/gui/itemviews/qcolumnview.h
parentf5392a4290e5f7ae2bdf268c1fa8c037e776fdae (diff)
downloadQt-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.h8
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 &current, 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 &current, const QModelIndex &previous);
-
private:
Q_DECLARE_PRIVATE(QColumnView)
Q_DISABLE_COPY(QColumnView)