KDED
#include <kded.h>
List of all members.
Static Protected Attributes |
static Kded * | _self = 0 |
Detailed Description
Definition at line 40 of file kded.h.
Constructor & Destructor Documentation
Member Function Documentation
void Kded::dirDeleted |
( |
const QString & |
path | ) |
|
|
protectedslot |
Triggers rebuilding
Definition at line 579 of file kded.cpp.
void Kded::initModules |
( |
| ) |
|
|
slot |
Loads / unloads modules according to config.
Definition at line 217 of file kded.cpp.
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.
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.
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.
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.
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 609 of file kded.cpp.
void Kded::recreate |
( |
const QDBusMessage & |
msg | ) |
|
void Kded::recreate |
( |
bool |
initial | ) |
|
Recreate the database file.
Definition at line 518 of file kded.cpp.
void Kded::recreateDone |
( |
| ) |
|
|
slot |
Recreating finished.
Definition at line 560 of file kded.cpp.
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 664 of file kded.cpp.
void Kded::runDelayedCheck |
( |
| ) |
|
|
protectedslot |
static Kded* Kded::self |
( |
| ) |
|
|
inlinestatic |
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.
void Kded::slotApplicationRemoved |
( |
const QString & |
name | ) |
|
|
slot |
An application unregistered itself from DBus.
Definition at line 450 of file kded.cpp.
void Kded::slotKDEDModuleRemoved |
( |
KDEDModule * |
module | ) |
|
|
slot |
void Kded::unregisterWindowId |
( |
qlonglong |
windowId, |
|
|
const QString & |
sender |
|
) |
| |
Unregister a window previously registered with KDED.
Definition at line 682 of file kded.cpp.
void Kded::update |
( |
const QString & |
dir | ) |
|
|
protectedslot |
Triggers rebuilding
Definition at line 584 of file kded.cpp.
void Kded::updateDirWatch |
( |
| ) |
|
|
slot |
Collect all directories to watch.
Definition at line 473 of file kded.cpp.
void Kded::updateResourceList |
( |
| ) |
|
|
slot |
Update directories to watch.
Definition at line 496 of file kded.cpp.
Member Data Documentation
QSet<long> Kded::m_globalWindowIdList |
|
protected |
bool Kded::m_needDelayedCheck |
|
protected |
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 187 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 194 of file kded.h.
bool Kded::m_recreateBusy |
|
protected |
int Kded::m_recreateCount |
|
protected |
QList<QDBusMessage> Kded::m_recreateRequests |
|
protected |
QDBusServiceWatcher* Kded::m_serviceWatcher |
|
protected |
QHash<QString,QList<qlonglong> > Kded::m_windowIdList |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:29:49 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.