Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/tdeio
tdeio/tdeio
tdeio
tdeio
slaveconfig.h
1
/*
2
* This file is part of the KDE libraries
3
* Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License version 2 as published by the Free Software Foundation.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
13
*
14
* You should have received a copy of the GNU Library General Public License
15
* along with this library; see the file COPYING.LIB. If not, write to
16
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
18
**/
19
20
#ifndef TDEIO_SLAVE_CONFIG_H
21
#define TDEIO_SLAVE_CONFIG_H
22
23
#include <tqobject.h>
24
#include <tdeio/global.h>
25
26
namespace
TDEIO
{
27
28
class
SlaveConfigPrivate;
46
class
TDEIO_EXPORT
SlaveConfig
:
public
TQObject
47
{
48
TQ_OBJECT
49
public
:
50
static
SlaveConfig
*
self
();
51
~
SlaveConfig
();
60
void
setConfigData(
const
TQString &protocol,
const
TQString &host,
const
TQString &key,
const
TQString &value );
61
70
void
setConfigData(
const
TQString &protocol,
const
TQString &host,
const
MetaData
&config );
71
76
MetaData
configData(
const
TQString &protocol,
const
TQString &host);
77
82
TQString configData(
const
TQString &protocol,
const
TQString &host,
const
TQString &key);
83
87
void
reset();
88
signals:
97
void
configNeeded
(
const
TQString &protocol,
const
TQString &host);
98
protected
:
99
SlaveConfig
();
100
static
SlaveConfig
*_self;
101
SlaveConfigPrivate *d;
102
};
103
}
104
105
#endif
TDEIO::MetaData
MetaData is a simple map of key/value strings.
Definition:
global.h:516
TDEIO::SlaveConfig
SlaveConfig.
Definition:
slaveconfig.h:47
TDEIO::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.
TDEIO
A namespace for TDEIO globals.
Definition:
authinfo.h:29
tdeio/tdeio
Skip menu "tdeio/tdeio"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
tdeio/tdeio
Skip menu "tdeio/tdeio"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet