class SlaveConfig

SlaveConfig More...

Full nameKIO::SlaveConfig
Definition#include <slaveconfig.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Public Static Methods

Protected Methods

Protected Members


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 setConfiguration based on the host.

 SlaveConfig ()

SlaveConfig

[protected]

static SlaveConfig * _self

_self

[protected]

SlaveConfigPrivate * d

d

[protected]


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53.