diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-04 19:37:20 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-04 19:37:20 +0100 |
| commit | b242394c0f9c24ca8f9bbced44076abbcd274fee (patch) | |
| tree | af51b9c5b4fe0668d996c4d8f15298fa255a1a89 /src/qtgroupingproxy.h | |
| parent | 85cd33715723f294abeeb8a0f3f77c0de27f6a37 (diff) | |
Keep track of expanded items in the view instead of the models.
Diffstat (limited to 'src/qtgroupingproxy.h')
| -rw-r--r-- | src/qtgroupingproxy.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/qtgroupingproxy.h b/src/qtgroupingproxy.h index 131f33dc..c4459297 100644 --- a/src/qtgroupingproxy.h +++ b/src/qtgroupingproxy.h @@ -80,22 +80,6 @@ public: virtual QModelIndex addEmptyGroup( const RowData &data );
virtual bool removeGroup( const QModelIndex &idx );
- void refreshExpandedItems() const ;
-
-signals:
- void expandItem(const QModelIndex &index) const;
-
-public slots:
- /**
- * @brief update expanded state
- * @param index index of the expanded/collapsed item (from the base model!)
- */
- void expanded(const QModelIndex &index);
- /**
- * @brief update expanded state
- * @param index index of the expanded/collapsed item (from the base model!)
- */
- void collapsed(const QModelIndex &index);
protected slots:
virtual void buildTree();
@@ -159,7 +143,6 @@ protected: void dumpGroups() const;
private:
- QSet<QString> m_expandedItems;
unsigned int m_flags;
int m_groupedRole;
|
