• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Slots | Public Member Functions | List of all members
IndenterConfigPage Class Referenceabstract

#include <kateautoindent.h>

Inherits TQWidget.

Inherited by ScriptIndentConfigPage.

Public Slots

virtual void apply ()=0
 

Public Member Functions

 IndenterConfigPage (TQWidget *parent=0, const char *name=0)
 

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::IndenterConfigPage ( TQWidget *  parent = 0,
const char *  name = 0 
)
inline

Standard constructor.

Parameters
parentparent widget
namename

Definition at line 54 of file kateautoindent.h.

◆ ~IndenterConfigPage()

virtual IndenterConfigPage::~IndenterConfigPage ( )
inlinevirtual

Definition at line 55 of file kateautoindent.h.

Member Function Documentation

◆ apply

virtual void IndenterConfigPage::apply ( )
pure virtualslot

Apply the changes.

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


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

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.