roxton
10th April 2009, 18:27
Hello! Is there an easy way to get file extesions those assotiated with a some MIME type? I need to determine all supported file extension from the MIME types supported by Phonon. Getting the MIME-list is easy:
QStringList mimeTypes = Phonon::BackendCapabilities::availableMimeTypes();
But the file extensions... Currently the only platform-independed solution that I know is to make some inner map/hash and hardcode all assotiations.
QStringList mimeTypes = Phonon::BackendCapabilities::availableMimeTypes();
But the file extensions... Currently the only platform-independed solution that I know is to make some inner map/hash and hardcode all assotiations.