I have to do a file manager where I can rename, delete, copy files to a remote location (that part is finished) etc.. I think I need QFile and QDir to get the local side of the manager to work with the remote side. QFileSystemModel looks like an easy way to show the local files and folders. But how can I get the selected/clicked item in QFileSystemModel? And what are those items, are they QFiles and QDirs or something else? If they are something else, is there a way to get the QFile and QDir objects somehow?
I'm new to Qt so I don't actually know anything from it. I'm just told to this thing as a homework. Sadly I haven't been given enough education about it and even the assistant assigned to help me can't help with this :/ Any advice how to create a view for local files where the items are easy to get, are greatly appreciated. Thank you!