slaveconfig.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KIO_SLAVE_CONFIG_H
00024 #define KIO_SLAVE_CONFIG_H
00025
00026 #include <qobject.h>
00027 #include <kio/global.h>
00028
00029 namespace KIO {
00030
00031 class SlaveConfigPrivate;
00049 class SlaveConfig : public QObject
00050 {
00051 Q_OBJECT
00052 public:
00053 static SlaveConfig *self();
00054 ~SlaveConfig();
00063 void setConfigData(const QString &protocol, const QString &host, const QString &key, const QString &value );
00064
00073 void setConfigData(const QString &protocol, const QString &host, const MetaData &config );
00074
00079 MetaData configData(const QString &protocol, const QString &host);
00080
00085 QString configData(const QString &protocol, const QString &host, const QString &key);
00086
00090 void reset();
00091 signals:
00100 void configNeeded(const QString &protocol, const QString &host);
00101 protected:
00102 SlaveConfig();
00103 static SlaveConfig *_self;
00104 SlaveConfigPrivate *d;
00105 };
00106 }
00107
00108 #endif
This file is part of the documentation for kio Library Version 3.3.0.