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:
authorChristian Kamm <mail@ckamm.de>2017-05-17 11:55:42 +0300
committerckamm <mail@ckamm.de>2017-05-17 13:26:27 +0300
commitc8d0f788e00bdae125a26d9159ce9efdd6325cd2 (patch)
treead77cb515fe650984e6b76dfffe09838090d77bd /src/gui/folderwatcher.h
parentae263d60bd6d1bc0eb0c3712bab11de120b8cdd3 (diff)
Apply clang-format
Diffstat (limited to 'src/gui/folderwatcher.h')
-rw-r--r--src/gui/folderwatcher.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/gui/folderwatcher.h b/src/gui/folderwatcher.h
index 3f1d1a981..334abf1b7 100644
--- a/src/gui/folderwatcher.h
+++ b/src/gui/folderwatcher.h
@@ -58,7 +58,7 @@ public:
/**
* @param root Path of the root of the folder
*/
- FolderWatcher(const QString &root, Folder* folder = 0L);
+ FolderWatcher(const QString &root, Folder *folder = 0L);
virtual ~FolderWatcher();
/**
@@ -66,11 +66,11 @@ public:
* Those need to be notified when a directory is added or removed while the watcher is disabled.
* This is a no-op for backends that are recursive
*/
- void addPath(const QString&);
- void removePath(const QString&);
+ void addPath(const QString &);
+ void removePath(const QString &);
/* Check if the path is ignored. */
- bool pathIsIgnored( const QString& path );
+ bool pathIsIgnored(const QString &path);
signals:
/** Emitted when one of the watched directories or one
@@ -78,12 +78,12 @@ signals:
void pathChanged(const QString &path);
/** Emitted if an error occurs */
- void error(const QString& error);
+ void error(const QString &error);
protected slots:
// called from the implementations to indicate a change in path
- void changeDetected( const QString& path);
- void changeDetected( const QStringList& paths);
+ void changeDetected(const QString &path);
+ void changeDetected(const QStringList &paths);
protected:
QHash<QString, int> _pendingPathes;
@@ -92,11 +92,10 @@ private:
QScopedPointer<FolderWatcherPrivate> _d;
QTime _timer;
QSet<QString> _lastPaths;
- Folder* _folder;
+ Folder *_folder;
friend class FolderWatcherPrivate;
};
-
}
#endif