summaryrefslogtreecommitdiffstats
path: root/smdirwatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'smdirwatcher.h')
-rw-r--r--smdirwatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/smdirwatcher.h b/smdirwatcher.h
index 9ec9181..775ca63 100644
--- a/smdirwatcher.h
+++ b/smdirwatcher.h
@@ -46,6 +46,7 @@ class SmDirWatcher : public QThread {
void setDir(const QString &dir);
void startAsyncJobs();
void gatherAsync(const QString &path);
+ void setExpensiveOps(bool expensiveOps);
private:
QList<QVariant> generalData(const QString &path);
@@ -57,6 +58,7 @@ class SmDirWatcher : public QThread {
QThreadPool *mAsyncPool;
int mNumFields;
QList<AsyncTask*> mAsyncTasks;
+ bool mExpensiveOps;
};
class AsyncTask : public QObject, public QRunnable {