• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • Okular
  • ConfigInterface
Public Member Functions | List of all members
Okular::ConfigInterface Class Referenceabstract

#include <configinterface.h>

Inheritance diagram for Okular::ConfigInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ConfigInterface ()
 
virtual void addPages (KConfigDialog *dialog)=0
 
virtual bool reparseConfig ()=0
 

Detailed Description

Abstract interface for configuration control.

This interface defines a way to configure the Generator itself.

How to use it in a custom Generator:

class MyGenerator : public Okular::Generator, public Okular::ConfigInterface
{
Q_OBJECT
Q_INTERFACES( Okular::ConfigInterface )
...
};

and - of course - implementing its methods.

Definition at line 38 of file configinterface.h.

Constructor & Destructor Documentation

virtual Okular::ConfigInterface::~ConfigInterface ( )
inlinevirtual

Destroys the config interface.

Definition at line 44 of file configinterface.h.

Member Function Documentation

virtual void Okular::ConfigInterface::addPages ( KConfigDialog *  dialog)
pure virtual

This method allows the generator to add custom configuration pages to the config dialog of okular.

Implemented in Okular::TextDocumentGenerator.

virtual bool Okular::ConfigInterface::reparseConfig ( )
pure virtual

This method is called to tell the generator to re-parse its configuration.

Returns true if something has changed.

Note
this method can be called also when the generator is not the active generator, or when there was not changed in the config added by the generator itself. So the suggestion is to check whether something changed, and only in that case return true

Implemented in Okular::TextDocumentGenerator.


The documentation for this class was generated from the following file:
  • configinterface.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal