• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeutils
 

tdeutils

  • tdeutils
tdecmoduleproxyIfaceImpl.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 __TDECMODULEPROXYIFACEIMPL_H__
20#define __TDECMODULEPROXYIFACEIMPL_H__
21
22#include "tdecmoduleproxyIface.h"
23
24class TDECModuleProxy;
25
26/***************************************************************/
29class TDECModuleProxyIfaceImpl: public TQObject, virtual public TDECModuleProxyIface
30{
31 /* KDE4 Merge TDECModuleProxyIfaceImpl with TDECModuleProxy(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 TQ_OBJECT
37
38public:
39
40 /* Reimplementations of DCOP members */
41 TDECModuleProxyIfaceImpl( const TQCString& name, TDECModuleProxy* 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();
54public slots:
55
59 void changedRelay( bool c );
60
64 void quickHelpRelay();
65
66
67private:
68
69 TDECModuleProxy* p;
70};
71/***************************************************************/
72
73
74
75
76/***************************************************************/
79class TDECModuleProxyRootCommunicatorImpl: public TQObject,
80 virtual public TDECModuleProxyRootDispatcher
81{
82 TQ_OBJECT
83
84public:
85 TDECModuleProxyRootCommunicatorImpl( const TQCString& name, TDECModuleProxy* const client );
86
87 /* Reimplementations of DCOP members */
88 virtual void changed( bool c );
89
90 virtual void quickHelpChanged();
91
92TDECModuleProxy* p;
93};
94/***************************************************************/
95
96#endif // __TDECMODULEPROXYIFACEIMPL_H__
97
TDECModuleProxyIface
DCOP Interface for TDECModule.
Definition: tdecmoduleproxyIface.h:37
TDECModuleProxyIface::load
virtual void load()=0
Load settings.
TDECModuleProxyIface::applicationName
virtual TQString applicationName()=0
Return the caption of the host application which the module is part in.
TDECModuleProxyIface::quickHelp
virtual TQString quickHelp()=0
Returns the module's quick help.
TDECModuleProxyIface::defaults
virtual void defaults()=0
Load defaults.
TDECModuleProxyIface::save
virtual void save()=0
Save settings.
TDECModuleProxyIface::changed
virtual bool changed()=0
TDECModuleProxyRootDispatcher
DCOP interface for communicating with the real module running in root mode.
Definition: tdecmoduleproxyIface.h:108
TDECModuleProxyRootDispatcher::changed
virtual void changed(bool c)=0
TDECModuleProxyIface::changed() gets connected to this.
TDECModuleProxy
Encapsulates a TDECModule for embedding.
Definition: tdecmoduleproxy.h:69

tdeutils

Skip menu "tdeutils"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeutils

Skip menu "tdeutils"
  • 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
Generated for tdeutils by doxygen 1.9.4
This website is maintained by Timothy Pearson.