Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kio/kio
kio/kio
kio
kio
slaveconfig.h
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 <tqobject.h>
25
#include <kio/global.h>
26
27
namespace
KIO
{
28
29
class
SlaveConfigPrivate;
47
class
KIO_EXPORT
SlaveConfig
:
public
TQObject
48
{
49
Q_OBJECT
50
public
:
51
static
SlaveConfig
*
self
();
52
~
SlaveConfig
();
61
void
setConfigData(
const
TQString &protocol,
const
TQString &host,
const
TQString &key,
const
TQString &value );
62
71
void
setConfigData(
const
TQString &protocol,
const
TQString &host,
const
MetaData
&config );
72
77
MetaData
configData(
const
TQString &protocol,
const
TQString &host);
78
83
TQString configData(
const
TQString &protocol,
const
TQString &host,
const
TQString &key);
84
88
void
reset();
89
signals:
98
void
configNeeded
(
const
TQString &protocol,
const
TQString &host);
99
protected
:
100
SlaveConfig
();
101
static
SlaveConfig
*_self;
102
SlaveConfigPrivate *d;
103
};
104
}
105
106
#endif
KIO::MetaData
MetaData is a simple map of key/value strings.
Definition:
global.h:515
KIO::SlaveConfig
SlaveConfig.
Definition:
slaveconfig.h:48
KIO::SlaveConfig::configNeeded
void configNeeded(const TQString &protocol, const TQString &host)
This signal is raised when a slave of type protocol deals with host for the first time.
KIO
A namespace for KIO globals.
Definition:
authinfo.h:29
kio/kio
Skip menu "kio/kio"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kio/kio
Skip menu "kio/kio"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver