slaveconfig.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef KIO_SLAVE_CONFIG_H
00022
#define KIO_SLAVE_CONFIG_H
00023
00024
#include <qobject.h>
00025
#include <kio/global.h>
00026
00027
namespace KIO {
00028
00029
class SlaveConfigPrivate;
00047 class KIO_EXPORT SlaveConfig :
public QObject
00048 {
00049 Q_OBJECT
00050
public:
00051
static SlaveConfig *
self();
00052 ~SlaveConfig();
00061
void setConfigData(
const QString &protocol,
const QString &host,
const QString &key,
const QString &value );
00062
00071
void setConfigData(
const QString &protocol,
const QString &host,
const MetaData &config );
00072
00077
MetaData configData(
const QString &protocol,
const QString &host);
00078
00083
QString configData(
const QString &protocol,
const QString &host,
const QString &key);
00084
00088
void reset();
00089 signals:
00098
void configNeeded(
const QString &protocol,
const QString &host);
00099
protected:
00100 SlaveConfig();
00101
static SlaveConfig *_self;
00102 SlaveConfigPrivate *d;
00103 };
00104 }
00105
00106
#endif
This file is part of the documentation for kio Library Version 3.4.0.