• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Kate

IndenterConfigPage Class Reference

This widget will be embedded into a modal dialog when clicking the "Configure..." button in the indentation config page. More...

#include <kateautoindent.h>

Inheritance diagram for IndenterConfigPage:

Inheritance graph
[legend]

List of all members.


Public Slots

virtual void apply ()=0

Public Member Functions

 IndenterConfigPage (QWidget *parent=0, const char *name=0)
virtual ~IndenterConfigPage ()

Detailed Description

This widget will be embedded into a modal dialog when clicking the "Configure..." button in the indentation config page.

To add a config page for an indenter there are several todos:

  • Derive a class from this class. This widget will be embedded into the config dialog.
  • Override the slot apply(), which is called when the configuration needs to be saved.
  • Override KateAutoIndent::configPage() to return an instance of this dialog.
  • Return true in KateAutoIndent::hasConfigPage() for the corresponding indenter id.

Definition at line 44 of file kateautoindent.h.


Constructor & Destructor Documentation

IndenterConfigPage::IndenterConfigPage ( QWidget *  parent = 0,
const char *  name = 0 
) [inline]

Standard constructor.

Parameters:
parent parent widget
name name

Definition at line 54 of file kateautoindent.h.

virtual IndenterConfigPage::~IndenterConfigPage (  )  [inline, virtual]

Definition at line 55 of file kateautoindent.h.


Member Function Documentation

virtual void IndenterConfigPage::apply (  )  [pure virtual, slot]

Apply the changes.

Save options here, use kapp->config() and group [Kate Indenter MyIndenter].

Implemented in ScriptIndentConfigPage.


The documentation for this class was generated from the following file:
  • kateautoindent.h

Kate

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal