On 11 Feb 2019, at 16:07, Vitaly Fanaskov <vitaly.fanas...@qt.io<mailto:vitaly.fanas...@qt.io>> wrote:
Hi Volker, The question for me is: why would an application (that is not a file explorer) want to do any of this? I honestly don’t see the use case. I think in order to provide a user some useful information or suggest to perform some actions. For example, "moveToTrash" operation might fail for some reason. If you don't have a separate class for trash bin you can only report this error to a user, but neither fix a cause nor do something useful. For example, what if there is not enough space in the trash bin, or what if the trash bin configured to remove files without keeping them and so on... Wouldn't this sort of API useful for a developer who wants to use move-to-trash operation? I see; let’s leave this email threat focused on the file system API discussion, and continue the scoping of the "moving to trash” (and general trash functionality) for the JIRA ticket at https://bugreports.qt.io/browse/QTBUG-47703 :) Cheers, Volker
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development