D18719: Create context menu entry to rotate individual pages

Shubham noreply at phabricator.kde.org
Mon Feb 4 11:25:44 GMT 2019


shubham added inline comments.

INLINE COMMENTS

> part.cpp:2450
> +    int value = ( page->rotation() + 3 ) % 4;
> +    page->d->rotateAt( static_cast<Okular::Rotation>(value) );
> +}

This gives error, any help how could I access rotateAt() function of private API without actually making  PagePrivate *d in Page as public (Though it is a wrong way to do so)?

REPOSITORY
  R223 Okular

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

To: shubham, aacid, ngraham
Cc: okular-devel, tfella, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190204/7e2858d5/attachment.html>


More information about the Okular-devel mailing list