QMimeDatabase

class PyQt5.QtCore.QMimeDatabase

C++ documentation