class SlaveConfig

# class SlaveConfig | SlaveConfig More...
Full name | `KIO::SlaveConfig`
Definition | `#include <slaveconfig.h>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- ~SlaveConfig ()
- void setConfigData (const QString &protocol, const QString &host, const QString &key, const QString &value )
- void setConfigData (const QString &protocol, const QString &host, const MetaData &config )
- MetaData configData (const QString &protocol, const QString &host)
- QString configData (const QString &protocol, const QString &host, const QString &key)
- void reset ()

#### Signals

- void configNeeded (const QString &protocol, const QString &host)

#### Public Static Methods

- static SlaveConfig * self ()

#### Protected Methods

- SlaveConfig ()

#### Protected Members

- static SlaveConfig *_self
- SlaveConfigPrivate *d

## Detailed Description

SlaveConfig

This class manages the configuration for io-slaves based on protocol and host. The Scheduler makes use of this class to configure the slave whenever it has to connect to a new host.

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.

Normally io-slaves are being configured by "kio_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.

SlaveConfig * self () | ### self

[static]

~SlaveConfig () | ### ~SlaveConfig

void setConfigData (const QString &protocol, const QString &host, const QString &key, const QString &value ) | ### setConfigData

Configure slaves of type `protocol` by setting `key` to `value`. If `host` is specified the configuration only applies when dealing with `host`.

Changes made to the slave configuration only apply to slaves used by the current process.

void setConfigData (const QString &protocol, const QString &host, const MetaData &config ) | ### setConfigData

Configure slaves of type `protocol` with `config`. If `host` is specified the configuration only applies when dealing with `host`.

Changes made to the slave configuration only apply to slaves used by the current process.

MetaData configData (const QString &protocol, const QString &host) | ### configData

Query slave configuration for slaves of type `protocol` when dealing with `host`.

QString configData (const QString &protocol, const QString &host, const QString &key) | ### configData

Query a specific configuration key for slaves of type `protocol` when dealing with `host`.

void reset () | ### reset

Undo any changes made by calls to setConfigData.

void configNeeded (const QString &protocol, const QString &host) | ### configNeeded

[signal]

This signal is raised when a slave of type `protocol` deals with `host` for the first time.

Your application can use this signal to make some last minute configuration changes with setConfigData based on the host.

SlaveConfig () | ### SlaveConfig

[protected]

static SlaveConfig * _self | ### _self

[protected]

SlaveConfigPrivate * d | ### d

[protected]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.