.TH "KIO::SlaveConfig" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::SlaveConfig \- \fBSlaveConfig\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <slaveconfig.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBconfigNeeded\fP (const  \fBQString\fP &protocol, const  \fBQString\fP &host)"
.br
.RI "\fIThis signal is raised when a slave of type \fCprotocol\fP deals with \fChost\fP for the first time. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetConfigData\fP (const  \fBQString\fP &protocol, const  \fBQString\fP &host, const  \fBQString\fP &key, const  \fBQString\fP &value)"
.br
.RI "\fIConfigure slaves of type \fCprotocol\fP by setting \fCkey\fP to \fCvalue\fP. \fP"
.ti -1c
.RI "void \fBsetConfigData\fP (const  \fBQString\fP &protocol, const  \fBQString\fP &host, const  MetaData &config)"
.br
.RI "\fIConfigure slaves of type \fCprotocol\fP with \fCconfig\fP. \fP"
.ti -1c
.RI "MetaData \fBconfigData\fP (const  \fBQString\fP &protocol, const  \fBQString\fP &host)"
.br
.RI "\fIQuery slave configuration for slaves of type \fCprotocol\fP when dealing with \fChost\fP. \fP"
.ti -1c
.RI "\fBQString\fP \fBconfigData\fP (const  \fBQString\fP &protocol, const  \fBQString\fP &host, const  \fBQString\fP &key)"
.br
.RI "\fIQuery a specific configuration key for slaves of type \fCprotocol\fP when dealing with \fChost\fP. \fP"
.ti -1c
.RI "void \fBreset\fP ()"
.br
.RI "\fIUndo any changes made by calls to \fBsetConfigData\fP. \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBSlaveConfig\fP * \fBself\fP ()"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "SlaveConfigPrivate * \fBd\fP"
.br
.in -1c
.SS "Static Protected Attributes"

.in +1c
.ti -1c
.RI "\fBSlaveConfig\fP * \fB_self\fP = 0"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBSlaveConfig\fP. 

This class manages the configuration for io-slaves based on protocol and host. The \fBScheduler\fP makes use of this class to configure the slave whenever it has to connect to a new host.
.PP
You only need to use this class if you want to override specific configuration items of an io-slave when the io-slave is used by your application.
.PP
Normally io-slaves are being configured by 'kio_<protocol>rc' configuration files. Groups defined in such files are treated as host or domain specification. Configuration items defined in a group are only applied when the slave is connecting with a host that matches with the host and/or domain specified by the group. 
.PP
Definition at line 49 of file slaveconfig.h.
.SH "Member Function Documentation"
.PP 
.SS "void KIO::SlaveConfig::setConfigData (const \fBQString\fP & protocol, const \fBQString\fP & host, const \fBQString\fP & key, const \fBQString\fP & value)"
.PP
Configure slaves of type \fCprotocol\fP by setting \fCkey\fP to \fCvalue\fP. If \fChost\fP is specified the configuration only applies when dealing with \fChost\fP.
.PP
Changes made to the slave configuration only apply to slaves used by the current process. Definition at line 159 of file slaveconfig.cpp.
.PP
References KStdAccel::key().
.SS "void KIO::SlaveConfig::setConfigData (const \fBQString\fP & protocol, const \fBQString\fP & host, const MetaData & config)"
.PP
Configure slaves of type \fCprotocol\fP with \fCconfig\fP. If \fChost\fP is specified the configuration only applies when dealing with \fChost\fP.
.PP
Changes made to the slave configuration only apply to slaves used by the current process. Definition at line 169 of file slaveconfig.cpp.
.PP
References QString::isEmpty().
.SS "MetaData KIO::SlaveConfig::configData (const \fBQString\fP & protocol, const \fBQString\fP & host)"
.PP
Query slave configuration for slaves of type \fCprotocol\fP when dealing with \fChost\fP. Definition at line 193 of file slaveconfig.cpp.
.PP
References configNeeded(), and QString::isEmpty().
.PP
Referenced by configData().
.SS "\fBQString\fP KIO::SlaveConfig::configData (const \fBQString\fP & protocol, const \fBQString\fP & host, const \fBQString\fP & key)"
.PP
Query a specific configuration key for slaves of type \fCprotocol\fP when dealing with \fChost\fP. Definition at line 212 of file slaveconfig.cpp.
.PP
References configData(), and KStdAccel::key().
.SS "void KIO::SlaveConfig::reset ()"
.PP
Undo any changes made by calls to \fBsetConfigData\fP. Definition at line 217 of file slaveconfig.cpp.
.SS "void KIO::SlaveConfig::configNeeded (const \fBQString\fP & protocol, const \fBQString\fP & host)\fC [signal]\fP"
.PP
This signal is raised when a slave of type \fCprotocol\fP deals with \fChost\fP for the first time. Your application can use this signal to make some last minute configuration changes with \fBsetConfigData\fP based on the host. Referenced by configData().

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