summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-06-23 05:47:10 +0200
committerArno <am@disconnect.de>2013-06-23 05:47:10 +0200
commit1e247c6fea51dab6815e3a15f22cd08e56039e89 (patch)
tree3bba38aa28dfdc4b4f6b0440accab7d83a16ad75 /archiveview.h
parent5dbcc16c289d7067132d133b374a9b7dcd2c7fd2 (diff)
downloadSheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.tar.gz
SheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.tar.bz2
SheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.zip
Make the archive cache useful
Read the cache if there is one, if not, read it in another thread and update the view when it's done.
Diffstat (limited to 'archiveview.h')
-rw-r--r--archiveview.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/archiveview.h b/archiveview.h
index 9e3e666..eac7f46 100644
--- a/archiveview.h
+++ b/archiveview.h
@@ -32,12 +32,8 @@ class ArchiveView : public QWidget {
explicit ArchiveView(QWidget *parent = 0);
int currentSortOrder() const;
void writeSettings();
- // this is needed for displaying the progress dialog in the
- // center of the main window...
- void setConstructingDone() { mConstructing = false; }
ArchiveModel *archiveModel() { return mArchiveModel; }
ArchiveTree *archiveTree() { return mTree; }
- QWidget *progressDialog();
public slots:
void refreshArchive();
@@ -46,8 +42,6 @@ class ArchiveView : public QWidget {
private slots:
void setFilter();
void clearFilter();
- void collectorStarted();
- void collectorFinished();
void showDatabaseError(const QString &errorMsg);
void expandItem(const QModelIndex &idx);
void collapseItem(const QModelIndex &idx);
@@ -80,18 +74,6 @@ class ArchiveTree : public SmTreeView {
ArchiveModel *mModel;
};
-class ArchiveProgressDialog : public QDialog {
- Q_OBJECT
- public:
- explicit ArchiveProgressDialog(QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowStaysOnTopHint);
-
- public slots:
- void setMessage(const QString &msg);
-
- private:
- QLabel *mMessage;
-};
-
class ArchiveFiles : public SmTreeView {
public:
explicit ArchiveFiles(QWidget *parent = 0);