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

Reply via email to