D21195: [RFC] Create a Change Colors menu (with toolbar button)

David Hurka noreply at phabricator.kde.org
Tue May 21 13:24:11 BST 2019


davidhurka added inline comments.

INLINE COMMENTS

> pageview.cpp:5705
>  
> +void PageView::slotSetChangeColorsMode( QAction * action )
> +{

Just discovered that the existing slots (slotToggleChangeColors(), slotSetChangeColors(bool)) are exposed to D-Bus through Okular::Part.

Probably, there should be another slot slotSetChangeColorsMode(QString or similar) to set the color mode from D-Bus. Exposing this slot to D-Bus makes little sense, because of the QAction* parameter.

REPOSITORY
  R223 Okular

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

To: davidhurka, #okular, #vdg
Cc: GB_2, davidre, aacid, ngraham, okular-devel, joaonetto, tfella, darcyshen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190521/1537e0a5/attachment.html>


More information about the Okular-devel mailing list