Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::ResourceConfigWidget Class Reference

Base widget for editing resource settings. More...

#include <resourceconfigwidget.h>

Inheritance diagram for KABC::ResourceConfigWidget:

List of all members.

Public Slots

virtual void loadSettings (KConfig *config)
virtual void saveSettings (KConfig *config)

Public Methods

 ResourceConfigWidget (QWidget *parent=0, const char *name=0)
virtual void setEditMode (bool value)

Detailed Description

Base widget for editing resource settings.

The loadSettings() and saveSettings() slots should be reimplemented to store the resource specific settings.

Definition at line 36 of file resourceconfigwidget.h.


Constructor & Destructor Documentation

KABC::ResourceConfigWidget::ResourceConfigWidget QWidget *    parent = 0,
const char *    name = 0
 

Constructor.


Member Function Documentation

virtual void KABC::ResourceConfigWidget::loadSettings KConfig   config [virtual, slot]
 

This method is called by the ResourceConfigDialog to load the resource specific settings. You have to reimplement it.

Parameters:
config  points to a config object where you can read the settings. Don't use KConfig::setGroup() on this pointer.

virtual void KABC::ResourceConfigWidget::saveSettings KConfig   config [virtual, slot]
 

This method is called by the ResourceConfigDialog to save the resource specific settings. You have to reimplement it.

Parameters:
config  points to a config object where you can write the settings. Don't use KConfig::setGroup() on this pointer.

virtual void KABC::ResourceConfigWidget::setEditMode bool    value [virtual]
 

Sets the widget to 'edit' mode. Reimplement this method if you are interested in the mode change (to disable some GUI element for example). By default the widget is in 'add' mode.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18