Uranium
Application Framework
|
Public Member Functions | |
def | getMimeType |
def | getMimeTypeForFile |
def | addMimeType |
def | removeMimeType |
Static Public Attributes | |
MimeTypeNotFoundError = MimeTypeNotFoundError | |
Handles lookup of MIME types for files with support for custom MIME types. This class wraps around ``QMimeDatabase`` and extends it with support for custom MIME types defined at runtime. :note Custom MIME types are currently only detected based on extension.