.TH "KABC::ResourceConfigWidget" 3 "28 Jan 2004" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::ResourceConfigWidget \- Base widget for editing resource settings.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <resourceconfigwidget.h>\fP
.PP
Inherits \fBQWidget\fP.
.PP
Inherited by KABC::ResourceDirConfig, KABC::ResourceFileConfig, KABC::ResourceLDAPConfig, KABC::ResourceNetConfig, and KABC::ResourceSqlConfig.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "virtual void \fBloadSettings\fP (\fBKConfig\fP *config)"
.br
.RI "\fIThis method is called by the \fBResourceConfigDialog\fP to load the resource specific settings. \fP"
.ti -1c
.RI "virtual void \fBsaveSettings\fP (\fBKConfig\fP *config)"
.br
.RI "\fIThis method is called by the \fBResourceConfigDialog\fP to save the resource specific settings. \fP"
.in -1c
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBsetResourceName\fP (const  \fBQString\fP &name)"
.br
.ti -1c
.RI "void \fBsetReadOnly\fP (bool value)"
.br
.ti -1c
.RI "void \fBsetFast\fP (bool value)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBResourceConfigWidget\fP (\fBQWidget\fP *parent=0, const  char *name=0)"
.br
.RI "\fIConstructor. \fP"
.ti -1c
.RI "virtual void \fBsetEditMode\fP (bool value)"
.br
.RI "\fISets the widget to 'edit' mode. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Base widget for editing resource settings. 

The \fBloadSettings\fP() and \fBsaveSettings\fP() slots should be reimplemented to store the resource specific settings. 
.PP
Definition at line 36 of file resourceconfigwidget.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "ResourceConfigWidget::ResourceConfigWidget (\fBQWidget\fP * parent = 0, const char * name = 0)"
.PP
Constructor. Definition at line 25 of file resourceconfigwidget.cpp.
.PP
References KStdAccel::name().
.SH "Member Function Documentation"
.PP 
.SS "void ResourceConfigWidget::setEditMode (bool value)\fC [virtual]\fP"
.PP
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. Definition at line 38 of file resourceconfigwidget.cpp.
.SS "void ResourceConfigWidget::loadSettings (\fBKConfig\fP * config)\fC [virtual, slot]\fP"
.PP
This method is called by the \fBResourceConfigDialog\fP to load the resource specific settings. You have to reimplement it. 
.PP
\fBParameters:\fP
.RS 4
\fIconfig\fP points to a config object where you can read the settings. Don't use \fBKConfig::setGroup()\fP on this pointer. 
.RE
.PP
Definition at line 30 of file resourceconfigwidget.cpp.
.SS "void ResourceConfigWidget::saveSettings (\fBKConfig\fP * config)\fC [virtual, slot]\fP"
.PP
This method is called by the \fBResourceConfigDialog\fP to save the resource specific settings. You have to reimplement it. 
.PP
\fBParameters:\fP
.RS 4
\fIconfig\fP points to a config object where you can write the settings. Don't use \fBKConfig::setGroup()\fP on this pointer. 
.RE
.PP
Definition at line 34 of file resourceconfigwidget.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kabc Library from the source code.
