Linux uses mime types instead of extensions, so you would get the mime type for your file and if it says "executable", then you would use QProcess to execute it/etc.
If you are unsure of the mime type used for a particular file, you can use the 'mimetype' command to figure it out. It's like 'file' but uses mime types instead of descriptions.
Bookmarks