KTextEditor
KTextEditor::ConfigPage Class Reference
#include <configpage.h>
Inheritance diagram for KTextEditor::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 45 of file 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 () |
Constructor & Destructor Documentation
ConfigPage::ConfigPage | ( | QWidget * | parent | ) |
Constructor.
Create a new config page with parent
.
- Parameters:
-
parent parent widget
Definition at line 249 of file ktexteditor.cpp.
ConfigPage::~ConfigPage | ( | ) | [virtual] |
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: