diff options
Diffstat (limited to 'archiveview.h')
-rw-r--r-- | archiveview.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archiveview.h b/archiveview.h index a62fd66..33969d9 100644 --- a/archiveview.h +++ b/archiveview.h @@ -35,13 +35,19 @@ class ArchiveView : public QWidget { // this is needed for displaying the progress dialog in the // center of the main window... void setConstructingDone() { mConstructing = false; } + ArchiveModel *archiveModel() { return mArchiveModel; } QWidget *progressDialog(); + public slots: + void setExpanded(); + private slots: void setFilter(); void clearFilter(); void collectorStarted(); void collectorFinished(); + void expandItem(const QModelIndex &idx); + void collapseItem(const QModelIndex &idx); private: QComboBox *mSortOrder; @@ -51,6 +57,7 @@ class ArchiveView : public QWidget { ArchiveModel *mArchiveModel; ArchiveProxy *mProxy; ArchiveProgressDialog *mProgress; + QList<QPersistentModelIndex> mExpandedItems; bool mConstructing; }; |