|
|
@ -82,6 +82,7 @@ public: |
|
|
|
// TODO: removePaths(); singular version becomes private helper functions;
|
|
|
|
// TODO: removePaths(); singular version becomes private helper functions;
|
|
|
|
// also: remove functions should take modelindexes
|
|
|
|
// also: remove functions should take modelindexes
|
|
|
|
PathStatus addPath(const QString &watchPath, const PathType& downloadType, const QString &downloadPath, bool addToFSWatcher = true); |
|
|
|
PathStatus addPath(const QString &watchPath, const PathType& downloadType, const QString &downloadPath, bool addToFSWatcher = true); |
|
|
|
|
|
|
|
PathStatus updatePath(const QString &watchPath, const PathType& downloadType, const QString &downloadPath); |
|
|
|
// PRECONDITION: The paths must have been added with addPath() first.
|
|
|
|
// PRECONDITION: The paths must have been added with addPath() first.
|
|
|
|
void addToFSWatcher(const QStringList &watchPaths); |
|
|
|
void addToFSWatcher(const QStringList &watchPaths); |
|
|
|
void removePath(int row); |
|
|
|
void removePath(int row); |
|
|
|