From 459f58c57bfa1021783134b11853e8e4140055f3 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 2 Jun 2013 00:43:09 +0200 Subject: Remember expanded Items For the current SortOrder the expanded items are written to the config file and read on startup. --- archivemodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archivemodel.h') diff --git a/archivemodel.h b/archivemodel.h index c07fc7b..0f2eea7 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -29,6 +29,8 @@ class ArchiveModel : public SmTreeModel { const QHash availableOrdersHash() const { return mAvailableOrders; } ArchiveCollector *collector() { return mCollector; } virtual QVariant data(const QModelIndex &index, int role) const; + QStringList indexToPath(const QModelIndex &idx) const; + QModelIndexList pathToIndex(const QStringList &path) const; public slots: void setOrder(int order); -- cgit v1.2.3-70-g09d2