• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

slaveconfig.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 /*
00003  *  This file is part of the KDE libraries
00004  *  Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Library General Public
00008  *  License version 2 as published by the Free Software Foundation.
00009  *
00010  *  This library is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  *  Library General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU Library General Public License
00016  *  along with this library; see the file COPYING.LIB.  If not, write to
00017  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  *  Boston, MA 02110-1301, USA.
00019  **/
00020 
00021 #ifndef KIO_SLAVE_CONFIG_H
00022 #define KIO_SLAVE_CONFIG_H
00023 
00024 #include <QtCore/QObject>
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     Q_SIGNALS:
00098         void configNeeded(const QString &protocol, const QString &host);
00099     protected:
00100         SlaveConfig();
00101     private:
00102         SlaveConfigPrivate* const d;
00103     };
00104 }
00105 
00106 #endif

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal