.TH "KIO::SlaveConfig" kde3 "11 Jun 2005" "Version Version 3.4.1" "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
.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
.ti -1c
.RI "void \fBsetConfigData\fP (const \fBQString\fP &protocol, const \fBQString\fP &host, const \fBMetaData\fP &config)"
.br
.ti -1c
.RI "\fBMetaData\fP \fBconfigData\fP (const \fBQString\fP &protocol, const \fBQString\fP &host)"
.br
.ti -1c
.RI "\fBQString\fP \fBconfigData\fP (const \fBQString\fP &protocol, const \fBQString\fP &host, const \fBQString\fP &key)"
.br
.ti -1c
.RI "void \fBreset\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \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 "static \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 47 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. 
.PP
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. 
.PP
Definition at line 159 of file slaveconfig.cpp.
.PP
References QMap::insert().
.SS "void KIO::SlaveConfig::setConfigData (const \fBQString\fP & protocol, const \fBQString\fP & host, const \fBMetaData\fP & config)"
.PP
Configure slaves of type \fCprotocol\fP with \fCconfig\fP. 
.PP
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. 
.PP
Definition at line 169 of file slaveconfig.cpp.
.SS "\fBMetaData\fP 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. 
.PP
Definition at line 193 of file slaveconfig.cpp.
.PP
References configNeeded().
.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. 
.PP
Definition at line 212 of file slaveconfig.cpp.
.PP
References configData().
.SS "void KIO::SlaveConfig::reset ()"
.PP
Undo any changes made by calls to setConfigData. 
.PP
Definition at line 217 of file slaveconfig.cpp.
.PP
References QMap::clear().
.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. 
.PP
Your application can use this signal to make some last minute configuration changes with setConfigData based on the host. 
.PP
Referenced by configData().

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