D25743: Expose IndexerState enum to QML

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Jan 17 15:26:06 GMT 2020


broulik added inline comments.

INLINE COMMENTS

> baloomonitorplugin.cpp:31
>      qmlRegisterType<Baloo::Monitor>(uri, 0, 1, "Monitor");
> +    qmlRegisterUncreatableMetaObject(Baloo::staticMetaObject, uri, 0, 1, "Baloo", "Error: only enums");
>  }

I have to also add a

  qRegisterMetaType<Baloo::IndexerState>();

in order to be able to use that type in a `Q_PROPERTY`. How odd.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D25743

To: davidedmundson, #baloo
Cc: broulik, kde-frameworks-devel, ngraham, #baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200117/646e4394/attachment.html>


More information about the Kde-frameworks-devel mailing list