KTextEditor
#include <configpage.h>
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
Definition at line 46 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 189 of file ktexteditor.cpp.
|
virtual |
Virtual destructor.
Definition at line 194 of file ktexteditor.cpp.
Member Function Documentation
|
pure virtualslot |
This slot is called whenever the button Apply or OK was clicked.
Apply the changed settings made in the config page now.
|
signal |
Emit this signal whenever a config option changed.
|
pure virtualslot |
Sets default options This slot is called whenever the button Defaults was clicked.
Set the config page settings to the default values.
|
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:
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.