• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 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:
QWidget

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::ConfigPage ( QWidget *  parent)

Constructor.

Create a new config page with parent.

Parameters
parentparent widget

Definition at line 189 of file ktexteditor.cpp.

◆ ~ConfigPage()

ConfigPage::~ConfigPage ( )
virtual

Virtual destructor.

Definition at line 194 of file ktexteditor.cpp.

Member Function Documentation

◆ apply

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.

◆ changed

void KTextEditor::ConfigPage::changed ( )
signal

Emit this signal whenever a config option changed.

◆ defaults

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.

◆ reset

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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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