KPrefsDialog Class Reference
Base class for a preferences dialog. More...
#include <kprefsdialog.h>
Inherits KDialogBase, and KPrefsWidManager.
Public Slots
- void setDefaults ()
- void readConfig ()
- void writeConfig ()
Signals
- void configChanged ()
Public Member Functions
- KPrefsDialog (KConfigSkeleton *prefs, QWidget *parent=0, char *name=0, bool modal=false)
- virtual ~KPrefsDialog ()
- void autoCreate ()
Protected Slots
- void slotApply ()
- void slotOk ()
- void slotDefault ()
Protected Member Functions
- virtual void usrReadConfig ()
- virtual void usrWriteConfig ()
Detailed Description
Base class for a preferences dialog.This class provides the framework for a preferences dialog. You have to subclass it and add the code to create the actual configuration widgets and do the layout management.
KPrefsDialog provides functions to add subclasses of KPrefsWid via KPrefsWidManager. For these widgets the reading, writing and setting to default values is handled automatically. Custom widgets have to be handled in the functions usrReadConfig() and usrWriteConfig().
Constructor & Destructor Documentation
|
Create a KPrefsDialog for a KPrefs object.
|
|
Destructor.
|
Member Function Documentation
|
Set all widgets to default values.
|
|
Read preferences from config file.
|
|
Write preferences to config file.
|
|
Emitted when the a changed configuration has been stored.
|
|
Apply changes to preferences.
|
|
Accept changes to preferences and close dialog.
|
|
Set preferences to default values.
|
|
Implement this to read custom configuration widgets.
|
|
Implement this to write custom configuration widgets.
|
The documentation for this class was generated from the following files:
- kprefsdialog.h
- kprefsdialog.cpp