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

KIO

  • sources
  • kde-4.14
  • kdelibs
  • kio
  • kio
slaveconfig.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*
3  * This file is part of the KDE libraries
4  * Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License version 2 as published by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  **/
20 
21 #ifndef KIO_SLAVE_CONFIG_H
22 #define KIO_SLAVE_CONFIG_H
23 
24 #include <QtCore/QObject>
25 #include <kio/global.h>
26 
27 namespace KIO {
28 
29  class SlaveConfigPrivate;
47  class KIO_EXPORT SlaveConfig : public QObject
48  {
49  Q_OBJECT
50  public:
51  static SlaveConfig *self();
52  ~SlaveConfig();
61  void setConfigData(const QString &protocol, const QString &host, const QString &key, const QString &value );
62 
71  void setConfigData(const QString &protocol, const QString &host, const MetaData &config );
72 
77  MetaData configData(const QString &protocol, const QString &host);
78 
83  QString configData(const QString &protocol, const QString &host, const QString &key);
84 
88  void reset();
89  Q_SIGNALS:
98  void configNeeded(const QString &protocol, const QString &host);
99  protected:
100  SlaveConfig();
101  private:
102  SlaveConfigPrivate* const d;
103  };
104 }
105 
106 #endif
global.h
KIO::MetaData
MetaData is a simple map of key/value strings.
Definition: global.h:396
config
KSharedConfigPtr config()
QObject
QString
KIO::SlaveConfig
SlaveConfig.
Definition: slaveconfig.h:47
reset
KGuiItem reset()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal