# class KTextEditor.ConfigPage

### abstract class

Table of contents
Modules
ktexteditor Classes
All Classes

Module | ktexteditor
Namespace | ktexteditor
Class | KTextEditor.ConfigPage
Inherits | QWidget

Config page interface for the Editor.

Introduction

The class ConfigPage represents a config page of the KTextEditor.Editor. The Editor's config pages are usually embedded into a dialog that shows buttons like Defaults, Reset and Apply. If one of the buttons is clicked and the condig page sent the signal changed() beforehand the Editor will call the corresponding slot, either defaults(), reset() or apply().

See also KTextEditor.Editor Author Christoph Cullmann \<cullmann@kde.org\>

### methods

- ConfigPage (parent)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |

  Constructor.

  Create a new config page with parent.

  parent - parent widget

- apply ()

  returns nothing
  pure virtual

  This slot is called whenever the button Apply or OK was clicked. Apply the changed settings made in the config page now.

- changed () signal

  returns nothing
  SIGNAL ("changed ()")

  Emit this signal whenever a config option changed.

- defaults ()

  returns nothing
  pure virtual

  Sets default options This slot is called whenever the button Defaults was clicked. Set the config page settings to the default values.

- reset ()

  returns nothing
  pure virtual

  This slot is called whenever the button Reset was clicked. Reset the config page settings to the initial state.