CommandDelete: refactored to use sqlitedbservice

This commit is contained in:
2019-04-16 08:52:07 +02:00
parent c6a7663ffa
commit 4ece459d77
2 changed files with 49 additions and 64 deletions

View File

@ -9,8 +9,8 @@ public:
int handle(QStringList arguments) override;
private:
int removeNonExistent(QSqlDatabase &db, bool verbose, bool dryRun, QString pattern);
int removePaths(const QStringList &paths, QSqlDatabase &db, bool verbose, bool dryRun);
int removeNonExistent(bool verbose, bool dryRun, QString pattern);
int removePaths(const QStringList &paths, bool verbose, bool dryRun);
};
#endif // COMMANDDELETE_H