Hi all,
I am using Qt for desktop application on Linux. Application needs to delete files programmatically. But files should not be deleted permanently. It should be moved to trash. Any Qt API? Any solution?
Best Regards,
dpn.
Printable View
Hi all,
I am using Qt for desktop application on Linux. Application needs to delete files programmatically. But files should not be deleted permanently. It should be moved to trash. Any Qt API? Any solution?
Best Regards,
dpn.
You should move the file to /.local/share/Trash (depending on your distro)...
You could look into kde-runtime/kioslaves/trash
Cheers,
_