From: Matthieu Gallien Date: Tue, 24 Jan 2023 20:21:34 +0000 (+0100) Subject: move some void returning methods to be slots X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~27^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9a9e73cdcec689ce6f144f109687f38784420ea3;p=nextcloud-desktop.git move some void returning methods to be slots Signed-off-by: Matthieu Gallien --- diff --git a/src/common/syncjournaldb.h b/src/common/syncjournaldb.h index 1cf1ee041..2da2d967b 100644 --- a/src/common/syncjournaldb.h +++ b/src/common/syncjournaldb.h @@ -249,18 +249,12 @@ public: /// Retrieve a conflict record by path of the file with the conflict tag ConflictRecord conflictRecord(const QByteArray &path); - /// Store a new or updated record in the database - void setCaseConflictRecord(const ConflictRecord &record); - /// Retrieve a conflict record by path of the file with the conflict tag ConflictRecord caseConflictRecordByBasePath(const QString &baseNamePath); /// Retrieve a conflict record by path of the file with the conflict tag ConflictRecord caseConflictRecordByPath(const QString &path); - /// Delete a case clash conflict record by path of the file with the conflict tag - void deleteCaseClashConflictByPathRecord(const QString &path); - /// Return all paths of files with a conflict tag in the name and records in the db QByteArrayList caseClashConflictRecordPaths(); @@ -388,6 +382,13 @@ public: */ int autotestFailCounter = -1; +public slots: + /// Store a new or updated record in the database + void setCaseConflictRecord(const ConflictRecord &record); + + /// Delete a case clash conflict record by path of the file with the conflict tag + void deleteCaseClashConflictByPathRecord(const QString &path); + private: int getFileRecordCount(); [[nodiscard]] bool updateDatabaseStructure();