diff options
Diffstat (limited to 'src/fdosecrets/objects/Item.h')
-rw-r--r-- | src/fdosecrets/objects/Item.h | 8 |
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(); |