More generalistaion for ResourceFolderModels
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
93876e27f8
commit
ee48766996
13 changed files with 90 additions and 152 deletions
|
@ -99,8 +99,7 @@ class Resource : public QObject {
|
|||
}
|
||||
|
||||
// Delete all files of this resource.
|
||||
auto destroy(bool attemptTrash = true) -> bool;
|
||||
auto destroy(QDir& index_dir, bool preserve_metadata = false, bool attempt_trash = true) -> bool;
|
||||
auto destroy(const QDir& index_dir, bool preserve_metadata = false, bool attempt_trash = true) -> bool;
|
||||
|
||||
[[nodiscard]] auto isSymLink() const -> bool { return m_file_info.isSymLink(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue