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

KTextEditor

KTextEditor::ConfigPage

KTextEditor::ConfigPage Class Reference

Config page interface for the Editor. More...

#include <configpage.h>

Inheritance diagram for KTextEditor::ConfigPage:
QWidget

List of all members.

Public Slots

virtual void apply ()=0
virtual void defaults ()=0
virtual void reset ()=0

Signals

void changed ()

Public Member Functions

 ConfigPage (QWidget *parent)
virtual ~ConfigPage ()

Detailed Description

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>

Definition at line 45 of file configpage.h.


Constructor & Destructor Documentation

ConfigPage::ConfigPage ( QWidget *  parent  ) 

Constructor.

Create a new config page with parent.

Parameters:
parent parent widget

Definition at line 252 of file ktexteditor.cpp.

ConfigPage::~ConfigPage (  )  [virtual]

Virtual destructor.

Definition at line 257 of file ktexteditor.cpp.


Member Function Documentation

virtual void KTextEditor::ConfigPage::apply (  )  [pure virtual, slot]

This slot is called whenever the button Apply or OK was clicked.

Apply the changed settings made in the config page now.

void KTextEditor::ConfigPage::changed (  )  [signal]

Emit this signal whenever a config option changed.

virtual void KTextEditor::ConfigPage::defaults (  )  [pure virtual, slot]

Sets default options This slot is called whenever the button Defaults was clicked.

Set the config page settings to the default values.

virtual void KTextEditor::ConfigPage::reset (  )  [pure virtual, slot]

This slot is called whenever the button Reset was clicked.

Reset the config page settings to the initial state.


The documentation for this class was generated from the following files:
  • configpage.h
  • ktexteditor.cpp

KTextEditor

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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