KDED
Kded Class Reference
#include <kded.h>
List of all members.
Detailed Description
Definition at line 40 of file kded.h.
|
Public Slots |
| void | initModules () |
| void | recreate () |
| void | recreateDone () |
| void | slotApplicationRemoved (const QString &, const QString &, const QString &) |
| void | slotKDEDModuleRemoved (KDEDModule *) |
| void | updateDirWatch () |
| void | updateResourceList () |
Public Member Functions |
| | Kded (bool checkUpdates) |
| QStringList | loadedModules () |
| KDEDModule * | loadModule (const KService::Ptr &service, bool onDemand) |
| KDEDModule * | loadModule (const QString &obj, bool onDemand) |
| void | loadSecondPhase () |
| void | noDemandLoad (const QString &obj) |
| void | recreate (bool initial) |
| void | recreate (const QDBusMessage &) |
| void | registerWindowId (qlonglong windowId, const QString &sender) |
| void | setModuleAutoloading (const QString &module, bool autoload) |
| bool | unloadModule (const QString &obj) |
| void | unregisterWindowId (qlonglong windowId, const QString &sender) |
| virtual | ~Kded () |
|
| bool | isModuleAutoloaded (const KService::Ptr &module) const |
| bool | isModuleAutoloaded (const QString &module) const |
|
| bool | isModuleLoadedOnDemand (const KService::Ptr &module) const |
| bool | isModuleLoadedOnDemand (const QString &module) const |
Static Public Member Functions |
| static void | messageFilter (const QDBusMessage &) |
| static Kded * | self () |
Protected Slots |
| void | dirDeleted (const QString &path) |
| void | runDelayedCheck () |
| void | update (const QString &dir) |
Protected Member Functions |
| void | readDirectory (const QString &dir) |
Protected Attributes |
| bool | b_checkUpdates |
| QStringList | m_allResourceDirs |
| QHash< QString, QObject * > | m_dontLoad |
| QSet< long > | m_globalWindowIdList |
| QHash< QString, KDEDModule * > | m_modules |
| bool | m_needDelayedCheck |
| KDirWatch * | m_pDirWatch |
| QTimer * | m_pTimer |
| bool | m_recreateBusy |
| int | m_recreateCount |
| QList< QDBusMessage > | m_recreateRequests |
QHash< QString, QList
< qlonglong > > | m_windowIdList |
Static Protected Attributes |
| static Kded * | _self = 0 |
Constructor & Destructor Documentation
| Kded::Kded |
( |
bool |
checkUpdates |
) |
|
| Kded::~Kded |
( |
|
) |
[virtual] |
Member Function Documentation
| void Kded::dirDeleted |
( |
const QString & |
path |
) |
[protected, slot] |
| void Kded::initModules |
( |
|
) |
[slot] |
Loads / unloads modules according to config.
Definition at line 180 of file kded.cpp.
| bool Kded::isModuleAutoloaded |
( |
const QString & |
module |
) |
const |
Check if a module should be loaded on startup.
- Parameters:
-
| module | Name of the module to configure |
Definition at line 265 of file kded.cpp.
| bool Kded::isModuleLoadedOnDemand |
( |
const QString & |
module |
) |
const |
Check if module should be loaded on demand.
- Parameters:
-
| module | Name of the module to configure |
Definition at line 282 of file kded.cpp.
| void Kded::loadSecondPhase |
( |
|
) |
|
| void Kded::messageFilter |
( |
const QDBusMessage & |
message |
) |
[static] |
| void Kded::noDemandLoad |
( |
const QString & |
obj |
) |
|
| void Kded::readDirectory |
( |
const QString & |
dir |
) |
[protected] |
Scans dir for new files and new subdirectories.
Definition at line 554 of file kded.cpp.
| void Kded::recreate |
( |
|
) |
[slot] |
Recreate the database file.
Definition at line 464 of file kded.cpp.
| void Kded::recreate |
( |
bool |
initial |
) |
|
| void Kded::recreateDone |
( |
|
) |
[slot] |
Recreating finished.
Definition at line 505 of file kded.cpp.
| void Kded::registerWindowId |
( |
qlonglong |
windowId, |
|
|
const QString & |
sender | |
|
) |
| | |
| void Kded::runDelayedCheck |
( |
|
) |
[protected, slot] |
| static Kded* Kded::self |
( |
|
) |
[inline, static] |
| void Kded::setModuleAutoloading |
( |
const QString & |
module, |
|
|
bool |
autoload | |
|
) |
| | |
Configure if module should be loaded on startup.
- Parameters:
-
| module | Name of the module to configure |
| autoload | Load/Don't load the module |
Definition at line 253 of file kded.cpp.
| void Kded::slotApplicationRemoved |
( |
const QString & |
name, |
|
|
const QString & |
oldOwner, |
|
|
const QString & |
newOwner | |
|
) |
| | [slot] |
An application unregistered itself from DBus.
Definition at line 393 of file kded.cpp.
| void Kded::slotKDEDModuleRemoved |
( |
KDEDModule * |
module |
) |
[slot] |
| void Kded::unregisterWindowId |
( |
qlonglong |
windowId, |
|
|
const QString & |
sender | |
|
) |
| | |
| void Kded::update |
( |
const QString & |
dir |
) |
[protected, slot] |
| void Kded::updateDirWatch |
( |
|
) |
[slot] |
Collect all directories to watch.
Definition at line 419 of file kded.cpp.
| void Kded::updateResourceList |
( |
|
) |
[slot] |
Update directories to watch.
Definition at line 442 of file kded.cpp.
Member Data Documentation
Pointer to the dirwatch class which tells us, when some directories changed.
Slower polling for remote file systems is now done in KDirWatch (JW).
Definition at line 154 of file kded.h.
When a desktop file is updated, a timer is started (5 sec) before rebuilding the binary - so that multiple updates result in only one rebuilding.
Definition at line 163 of file kded.h.
The documentation for this class was generated from the following files: