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

kded

  • kded
kdedmodule.h
1 /*
2  This file is part of the KDE libraries
3 
4  Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 
21 */
22 #ifndef __KDEDMODULE_H__
23 #define __KDEDMODULE_H__
24 
25 #include <tqobject.h>
26 #include <dcopobject.h>
27 #include <ksharedptr.h>
28 
29 class KDEDModulePrivate;
30 class Kded;
31 
55 class TDE_EXPORT KDEDModule : public TQObject, public DCOPObject
56 {
57  TQ_OBJECT
58 // For inclusion in KDE4 (since it's BIC) long-needed fix for allowing
59 // DCOP-based kdedmodules -- Gav <gav@kde.org>.
60 // K_DCOP
61  friend class Kded;
62 public:
63 
67  KDEDModule(const TQCString &name);
68 
69  virtual ~KDEDModule();
70 
77  void setIdleTimeout(int secs);
78 
84  void resetIdle();
85 
94  void insert(const TQCString &app, const TQCString &key, TDEShared *obj);
95 
99  TDEShared *find(const TQCString &app, const TQCString &key);
100 
105  void remove(const TQCString &app, const TQCString &key);
106 
111  void removeAll(const TQCString &app);
112 
116  bool isWindowRegistered(long windowId);
117 
118 public slots:
126  virtual void idle() { };
127 
128 signals:
132  void moduleDeleted(KDEDModule *);
133 
137  void windowRegistered(long windowId);
138 
142  void windowUnregistered(long windowId);
143 
144 private:
145  KDEDModulePrivate *d;
146 };
147 
148 #endif
KDEDModule
The base class for KDED modules.
Definition: kdedmodule.h:56
KDEDModule::idle
virtual void idle()
Called whenever the last referenced object gets dereferenced.
Definition: kdedmodule.h:126
KDEDModule::windowUnregistered
void windowUnregistered(long windowId)
Emitted when a mainwindow unregisters itself.
KDEDModule::windowRegistered
void windowRegistered(long windowId)
Emitted when a mainwindow registers itself.
KDEDModule::moduleDeleted
void moduleDeleted(KDEDModule *)
Emitted when the module is being deleted.

kded

Skip menu "kded"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kded

Skip menu "kded"
  • 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 kded by doxygen 1.9.1
This website is maintained by Timothy Pearson.