D21281: [RFC] Write a bit Documentation for Part and PageView

Albert Astals Cid noreply at phabricator.kde.org
Mon May 20 17:33:31 BST 2019


aacid added a comment.


  The part is created by the shell, see around line 85.
  
  The basic idea is that shells and parts don't each other (in this particular case the shell is "cheating" a bit), and just use the query system. For example, ark will say, can i get a part that knows how to show PDF files? And then use that to show you a preview of the file.
  
  Now since our shell cheats because it knows specifically it'll get the okular part, it can cast to stuff like okular viewer interface.
  
  Basically parts are a plug-in system that can be used in random shells.
  
  Does that make sense?

REPOSITORY
  R223 Okular

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

To: davidhurka, #okular
Cc: aacid, okular-devel, joaonetto, tfella, ngraham, darcyshen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190520/0bdd2b12/attachment.html>


More information about the Okular-devel mailing list