diff options
author | Arno <am@disconnect.de> | 2013-08-28 10:31:29 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-08-28 10:31:29 +0200 |
commit | 00084a82f08ea72bafc6c002422c8f49bdeb1742 (patch) | |
tree | 0c69d4de4ff173b658f4cc514f1dcda1d19a2f9b /smdirmodel.h | |
parent | 1ee897fbb51cb431cba7690076a29a3ca2ddc1a7 (diff) | |
download | SheMov-00084a82f08ea72bafc6c002422c8f49bdeb1742.tar.gz SheMov-00084a82f08ea72bafc6c002422c8f49bdeb1742.tar.bz2 SheMov-00084a82f08ea72bafc6c002422c8f49bdeb1742.zip |
Add a progress dialog to FilesystemWidget1.2.0
Show a progress dialog when gathering data from the filesystem.
Diffstat (limited to 'smdirmodel.h')
-rw-r--r-- | smdirmodel.h | 3 |
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; |