Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
dcop
dcop
dcop
dcop_deadlock_test.h
1
/*****************************************************************
2
3
Copyright (c) 2004 Waldo Bastian <bastian@kde.org>
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is
10
furnished to do so, subject to the following conditions:
11
12
The above copyright notice and this permission notice shall be included in
13
all copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22
******************************************************************
23
*/
24
25
#ifndef _TESTDCOP_H_
26
#define _TESTDCOP_H_
27
28
#include <tdeapplication.h>
29
#include <dcopclient.h>
30
#include <dcopobject.h>
31
32
#include <tqobject.h>
33
#include <tqtimer.h>
34
35
#include <stdio.h>
36
37
class
MyDCOPObject :
public
TQObject,
public
DCOPObject
38
{
39
Q_OBJECT
40
public
:
41
MyDCOPObject(
const
TQCString &name,
const
TQCString &remoteName);
42
bool
process
(
const
TQCString &fun,
const
TQByteArray &data,
43
TQCString& replyType, TQByteArray &replyData);
44
public
slots:
45
void
slotTimeout();
46
47
private
:
48
TQCString m_remoteName;
49
TQTimer m_timer;
50
};
51
#endif
dcop
Skip menu "dcop"
Main Page
Modules
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
dcop
Skip menu "dcop"
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