summaryrefslogtreecommitdiffstats
path: root/smdirmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'smdirmodel.h')
-rw-r--r--smdirmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/smdirmodel.h b/smdirmodel.h
index 192992a..02ad608 100644
--- a/smdirmodel.h
+++ b/smdirmodel.h
@@ -31,6 +31,7 @@ class SmDirModel : public SmTreeModel {
virtual QVariant data(const QModelIndex &index, int role) const;
virtual bool setData(const QModelIndex &index, const QVariant &value, int role);
bool isDir(const QModelIndex &idx) const;
+ SmDataColletor *collector() const { return mCollector; }
QDir dir() const;
QFileInfo fileInfo(const QModelIndex &idx) const;
QTimer *refresTimer() { return mRefreshTimer; }
@@ -48,6 +49,8 @@ class SmDirModel : public SmTreeModel {
signals:
void needResize();
+ void totalFiles(int numFiles);
+ void progress();
private:
SmDirWatcher *mWatch;