KDEDModule Class Reference
from PyKDE4.kdecore import *
Inherits: QObject
Detailed Description
\class KDEDModule kdedmodule.h <KDEDModule>
The base class for KDED modules.
KDED modules are realized as shared libraries that are loaded on-demand into kded at runtime.
See kdelibs/kded/HOWTO for documentation about writing kded modules.
Signals | |
moduleDeleted (KDEDModule a0) | |
moduleRegistered (QDBusObjectPath path) | |
windowRegistered (long windowId) | |
windowUnregistered (long windowId) | |
Methods | |
__init__ (self, QObject parent=0) | |
moduleDeleted (self, KDEDModule a0) | |
QString | moduleName (self) |
moduleRegistered (self, QDBusObjectPath path) | |
setModuleName (self, QString name) | |
windowRegistered (self, long windowId) | |
windowUnregistered (self, long windowId) |
Method Documentation
__init__ | ( | self, | ||
QObject | parent=0 | |||
) |
Constructor
moduleDeleted | ( | self, | ||
KDEDModule | a0 | |||
) |
Emitted when the module is being deleted.
- Signal syntax:
QObject.connect(source, SIGNAL("moduleDeleted(KDEDModule*)"), target_slot)
QString moduleName | ( | self ) |
moduleRegistered | ( | self, | ||
QDBusObjectPath | path | |||
) |
Emitted after the module is registered successfully with dbus
- Since:
- 4.2
- Signal syntax:
QObject.connect(source, SIGNAL("moduleRegistered(const QDBusObjectPath&)"), target_slot)
setModuleName | ( | self, | ||
QString | name | |||
) |
- Internal:
- called by kded after loading a module The module name is set from the path of the desktop file, and is used to register the module to dbus.
windowRegistered | ( | self, | ||
long | windowId | |||
) |
Emitted when a mainwindow registers itself.
- Signal syntax:
QObject.connect(source, SIGNAL("windowRegistered(qlonglong)"), target_slot)
windowUnregistered | ( | self, | ||
long | windowId | |||
) |
Emitted when a mainwindow unregisters itself.
- Signal syntax:
QObject.connect(source, SIGNAL("windowUnregistered(qlonglong)"), target_slot)