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

KTextEditor

  • KTextEditor
  • ConfigPage
Public Slots | Signals | Public Member Functions | List of all members
KTextEditor::ConfigPage Class Referenceabstract

#include <configpage.h>

Inheritance diagram for KTextEditor::ConfigPage:
Inheritance graph
[legend]

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 <cullm.nosp@m.ann@.nosp@m.kde.o.nosp@m.rg>

Definition at line 46 of file configpage.h.

Constructor & Destructor Documentation

ConfigPage::ConfigPage ( QWidget *  parent)

Constructor.

Create a new config page with parent.

Parameters
parentparent widget

Definition at line 189 of file ktexteditor.cpp.

ConfigPage::~ConfigPage ( )
virtual

Virtual destructor.

Definition at line 194 of file ktexteditor.cpp.

Member Function Documentation

virtual void KTextEditor::ConfigPage::apply ( )
pure virtualslot

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 virtualslot

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 virtualslot

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTextEditor

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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