Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
arts
arts
arts
kde
mcop-dcop
mcopdcoptools.h
1
/*
2
Copyright (c) 2001 Nikolas Zimmermann <wildfox@kde.org>
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2, or (at your option)
7
any later version.
8
9
This program 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
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18
*/
19
20
#ifndef MCOPDCOPTOOLS_H
21
#define MCOPDCOPTOOLS_H
22
23
#include <string>
24
25
#include <tqdatastream.h>
26
27
class
MCOPDCOPTools
28
{
29
public
:
30
static
long
getLong(TQDataStream &stream)
31
{
32
long
l;
33
stream << l;
34
35
return
l;
36
}
37
38
static
std::string getString(TQDataStream &stream)
39
{
40
TQCString s;
41
stream << s;
42
43
return
std::string(s);
44
}
45
};
46
47
#endif
arts
Skip menu "arts"
Main Page
Alphabetical List
Class List
File List
Class Members
Related Pages
arts
Skip menu "arts"
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