Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Mac-Vicar P <duncan@kde.org>2011-03-18 03:14:45 +0300
committerDuncan Mac-Vicar P <duncan@kde.org>2011-03-18 03:14:45 +0300
commite6a135273d9a95da710e2b5987910d1243e084fd (patch)
tree70db3c5fa7c6e4599af2c6fd8564c8168ac0afe6 /src/mirall/folderwatcher.h
parent03194d3aae4bccdbb3cb45c9b0f2be1ee3b2cbbd (diff)
- introduce a tmp dir class and rm-rf util function
- start a testcase for the folder watcher part
Diffstat (limited to 'src/mirall/folderwatcher.h')
-rw-r--r--src/mirall/folderwatcher.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mirall/folderwatcher.h b/src/mirall/folderwatcher.h
index 830cfabf5..9f7e3c0e7 100644
--- a/src/mirall/folderwatcher.h
+++ b/src/mirall/folderwatcher.h
@@ -7,9 +7,6 @@
#include <QString>
#include <QMutex>
-#include "mirall/inotify.h"
-
-class QFileSystemWatcher;
class INotify;
namespace Mirall {
@@ -20,13 +17,14 @@ Q_OBJECT
public:
FolderWatcher(const QString &path, QObject *parent = 0L);
~FolderWatcher();
+
+ QStringList folders() const;
+
signals:
void folderChanged(const QString &path);
protected slots:
- //void slotDirectoryChanged(const QString &path);
void slotDirectoryChanged(int mask, const QString &path);
private:
- QFileSystemWatcher *_watcher;
QMutex _mutex;
INotify *_inotify;
};