Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kutils
kutils
kutils
kcmoduleproxyIfaceImpl.h
1
/*
2
* Copyright (C) 2004 Frans Englich <frans.englich@telia.com>
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Library General Public
6
* License version 2 as published by the Free Software Foundation.
7
*
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Library General Public License for more details.
12
*
13
* You should have received a copy of the GNU Library General Public License
14
* along with this library; see the file COPYING.LIB. If not, write to
15
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
* Boston, MA 02110-1301, USA.
17
*/
18
19
#ifndef __KCMODULEPROXYIFACEIMPL_H__
20
#define __KCMODULEPROXYIFACEIMPL_H__
21
22
#include "kcmoduleproxyIface.h"
23
24
class
KCModuleProxy
;
25
26
/***************************************************************/
29
class
KCModuleProxyIfaceImpl:
public
TQObject,
virtual
public
KCModuleProxyIface
30
{
31
/* KDE4 Merge KCModuleProxyIfaceImpl with KCModuleProxy(MI)
32
* if it doesn't break what DCOPClient it binds to.
33
* Update: This is probably not possible, since we don't want the DCOPObject when
34
* we're running in root mode. */
35
36
Q_OBJECT
37
38
public
:
39
40
/* Reimplementations of DCOP members */
41
KCModuleProxyIfaceImpl(
const
TQCString& name,
KCModuleProxy
*
const
client );
42
43
virtual
void
save
();
44
45
virtual
void
load
();
46
47
virtual
void
defaults
();
48
49
virtual
TQString
applicationName
();
50
51
virtual
TQString
quickHelp
();
52
53
virtual
bool
changed
();
54
public
slots:
55
59
void
changedRelay(
bool
c );
60
64
void
quickHelpRelay();
65
66
67
private
:
68
69
KCModuleProxy
* p;
70
};
71
/***************************************************************/
72
73
74
75
76
/***************************************************************/
79
class
KCModuleProxyRootCommunicatorImpl:
public
TQObject,
80
virtual
public
KCModuleProxyRootDispatcher
81
{
82
Q_OBJECT
83
84
public
:
85
KCModuleProxyRootCommunicatorImpl(
const
TQCString& name,
KCModuleProxy
*
const
client );
86
87
/* Reimplementations of DCOP members */
88
virtual
void
changed
(
bool
c );
89
90
virtual
void
quickHelpChanged();
91
92
KCModuleProxy
* p;
93
};
94
/***************************************************************/
95
96
#endif // __KCMODULEPROXYIFACEIMPL_H__
97
kutils
Skip menu "kutils"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
kutils
Skip menu "kutils"
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