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

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdosecrets/objects/Item.h')
-rw-r--r--src/fdosecrets/objects/Item.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fdosecrets/objects/Item.h b/src/fdosecrets/objects/Item.h
index 39e83de74..99601d950 100644
--- a/src/fdosecrets/objects/Item.h
+++ b/src/fdosecrets/objects/Item.h
@@ -79,6 +79,14 @@ namespace FdoSecrets
*/
QString path() const;
+ /**
+ * If the containing db does not have recycle bin enabled,
+ * or the entry is already in the recycle bin (not possible for item, though),
+ * the delete is permanent
+ * @return true if delete is permanent
+ */
+ bool isDeletePermanent() const;
+
public slots:
void doDelete();