KDED
#include <kded.h>
Definition at line 40 of file kded.h.
◆ Kded()
◆ ~Kded()
◆ dirDeleted
void Kded::dirDeleted |
( |
const QString & |
path | ) |
|
|
protectedslot |
Triggers rebuilding
Definition at line 597 of file kded.cpp.
◆ initModules
void Kded::initModules |
( |
| ) |
|
|
slot |
Loads / unloads modules according to config.
Definition at line 217 of file kded.cpp.
◆ isModuleAutoloaded() [1/2]
bool Kded::isModuleAutoloaded |
( |
const KService::Ptr & |
module | ) |
const |
Check if a module should be loaded on startup.
- Parameters
-
module | a service description for the module |
- Returns
true
if the module will be loaded at startup, false
otherwise
Definition at line 325 of file kded.cpp.
◆ isModuleAutoloaded() [2/2]
bool Kded::isModuleAutoloaded |
( |
const QString & |
module | ) |
const |
Check if a module should be loaded on startup.
- Parameters
-
module | the name of the desktop file for the module, without the .desktop extension |
- Returns
true
if the module will be loaded at startup, false
otherwise
Definition at line 317 of file kded.cpp.
◆ isModuleLoadedOnDemand() [1/2]
bool Kded::isModuleLoadedOnDemand |
( |
const KService::Ptr & |
module | ) |
const |
Check if a module should be loaded on demand.
- Parameters
-
module | a service description for the module |
- Returns
true
if the module will be loaded when its D-Bus interface is requested, false
otherwise
Definition at line 342 of file kded.cpp.
◆ isModuleLoadedOnDemand() [2/2]
bool Kded::isModuleLoadedOnDemand |
( |
const QString & |
module | ) |
const |
Check if a module should be loaded on demand.
- Parameters
-
module | the name of the desktop file for the module, without the .desktop extension |
- Returns
true
if the module will be loaded when its D-Bus interface is requested, false
otherwise
Definition at line 334 of file kded.cpp.
◆ loadedModules()
QStringList Kded::loadedModules |
( |
| ) |
|
◆ loadModule() [1/2]
◆ loadModule() [2/2]
KDEDModule * Kded::loadModule |
( |
const QString & |
obj, |
|
|
bool |
onDemand |
|
) |
| |
◆ loadSecondPhase()
void Kded::loadSecondPhase |
( |
| ) |
|
◆ messageFilter()
void Kded::messageFilter |
( |
const QDBusMessage & |
message | ) |
|
|
static |
◆ noDemandLoad()
void Kded::noDemandLoad |
( |
const QString & |
obj | ) |
|
◆ recreate [1/3]
Recreate the database file.
Definition at line 518 of file kded.cpp.
◆ recreate() [2/3]
void Kded::recreate |
( |
bool |
initial | ) |
|
◆ recreate() [3/3]
void Kded::recreate |
( |
const QDBusMessage & |
msg | ) |
|
◆ recreateDone
void Kded::recreateDone |
( |
| ) |
|
|
slot |
Recreating finished.
Definition at line 571 of file kded.cpp.
◆ recreateFailed
void Kded::recreateFailed |
( |
const QDBusError & |
error | ) |
|
|
slot |
◆ registerWindowId()
void Kded::registerWindowId |
( |
qlonglong |
windowId, |
|
|
const QString & |
sender |
|
) |
| |
Applications can register/unregister their windows with kded modules.
This allows kpasswdserver and kcookiejar to delete authentication and cookies that are local to a particular window when closing it. Register a window with KDED
Definition at line 682 of file kded.cpp.
◆ runDelayedCheck
void Kded::runDelayedCheck |
( |
| ) |
|
|
protectedslot |
◆ self()
static Kded * Kded::self |
( |
| ) |
|
|
inlinestatic |
◆ setModuleAutoloading()
void Kded::setModuleAutoloading |
( |
const QString & |
module, |
|
|
bool |
autoload |
|
) |
| |
Configure whether a module should be loaded on startup.
If a module is set to be auto-loaded, it will be loaded at the start of a KDE session. Depending on the phase it is set to load in, it may also be loaded when the first KDE application is run outside of a KDE session.
- Parameters
-
module | the name of the desktop file for the module, without the .desktop extension |
autoload | if true , the module will be loaded at startup, otherwise it will not |
Definition at line 305 of file kded.cpp.
◆ slotApplicationRemoved
void Kded::slotApplicationRemoved |
( |
const QString & |
name | ) |
|
|
slot |
An application unregistered itself from DBus.
Definition at line 450 of file kded.cpp.
◆ slotKDEDModuleRemoved
void Kded::slotKDEDModuleRemoved |
( |
KDEDModule * |
module | ) |
|
|
slot |
◆ unloadModule()
bool Kded::unloadModule |
( |
const QString & |
obj | ) |
|
◆ unregisterWindowId()
void Kded::unregisterWindowId |
( |
qlonglong |
windowId, |
|
|
const QString & |
sender |
|
) |
| |
Unregister a window previously registered with KDED.
Definition at line 700 of file kded.cpp.
◆ update
void Kded::update |
( |
const QString & |
dir | ) |
|
|
protectedslot |
Triggers rebuilding
Definition at line 602 of file kded.cpp.
◆ updateDirWatch
void Kded::updateDirWatch |
( |
| ) |
|
|
slot |
Collect all directories to watch.
Definition at line 473 of file kded.cpp.
◆ updateResourceList
void Kded::updateResourceList |
( |
| ) |
|
|
slot |
Update directories to watch.
Definition at line 496 of file kded.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.