[Development] Exposing QMimeDatabase to QML; QtQml.Utils?
jpnurmi at qt.io
Mon Apr 24 14:36:38 CEST 2017
On Mon, 2017-04-24 at 15:25 +0300, Alberto Mardegan wrote:
> Hi all,
> in addition to making QMimeType usable from QML , jpnurmi also
> suggested of exposing QMimeDatabase as a singleton.
> The open question is where this element should be added: I suggested
> QtQtml.Models, given that it's a database, but maybe creating a
> module QtQml.Utils might be a better idea?
> If so, do you have suggestions for other classes to be exposed by it?
> : https://codereview.qt-project.org/191777
> Development mailing list
> Development at qt-project.org
QML Settings, being currently in the Qt.labs namespace, could graduate
later there. And QStandardPaths could be a nice addition too.
More information about the Development