summaryrefslogtreecommitdiffstats
path: root/smdirmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'smdirmodel.h')
-rw-r--r--smdirmodel.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/smdirmodel.h b/smdirmodel.h
index 5e1dceb..690efac 100644
--- a/smdirmodel.h
+++ b/smdirmodel.h
@@ -18,6 +18,8 @@
#include <smdirwatcher.h>
class SmDirWatcher;
+class QTimer;
+class SmTreeItem;
class SmDirModel : public SmTreeModel {
Q_OBJECT
@@ -34,15 +36,17 @@ class SmDirModel : public SmTreeModel {
public slots:
void setDir(const QString &dir);
+ void dirEvent(const QString &file, int e);
- private:
+ private slots:
void populate();
+
+ private:
const QList<QVariant> fileData(const QFileInfo &fi) const;
SmDirWatcher *mWatch;
QStringList mHeaders;
QString mCur;
-
-
+ QTimer *mRunTimer;
};
#endif // SMDIRMODEL_H