Kded Class Reference
#include <kded.h>
List of all members.
|
Public Slots |
void | initModules () |
void | recreate () |
void | recreateDone () |
void | slotApplicationRemoved (const QCString &appId) |
void | slotKDEDModuleRemoved (KDEDModule *) |
void | updateDirWatch () |
void | updateResourceList () |
Public Member Functions |
virtual QCStringList | functions () |
bool | isWindowRegistered (long windowId) |
| Kded (bool checkUpdates, bool new_startup) |
QCStringList | loadedModules () |
KDEDModule * | loadModule (const KService *service, bool onDemand) |
KDEDModule * | loadModule (const QCString &obj, bool onDemand) |
void | loadSecondPhase () |
bool | newStartup () const |
void | noDemandLoad (const QString &obj) |
bool | process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
bool | process (const QCString &obj, const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
void | recreate (bool initial) |
void | registerWindowId (long windowId) |
bool | unloadModule (const QCString &obj) |
void | unregisterWindowId (long windowId) |
virtual | ~Kded () |
Static Public Member Functions |
static Kded * | self () |
Protected Slots |
void | dirDeleted (const QString &path) |
void | installCrashHandler () |
void | runDelayedCheck () |
void | update (const QString &dir) |
Protected Member Functions |
void | readDirectory (const QString &dir) |
Static Protected Member Functions |
static void | crashHandler (int) |
Protected Attributes |
bool | b_checkUpdates |
QStringList | m_allResourceDirs |
QAsciiDict< QObject > | m_dontLoad |
QIntDict< long > | m_globalWindowIdList |
QAsciiDict< KLibrary > | m_libs |
QAsciiDict< KDEDModule > | m_modules |
bool | m_needDelayedCheck |
bool | m_newStartup |
KDirWatch * | m_pDirWatch |
QTimer * | m_pTimer |
bool | m_recreateBusy |
int | m_recreateCount |
QValueList
< DCOPClientTransaction * > | m_recreateRequests |
QAsciiDict< QValueList< long > > | m_windowIdList |
Detailed Description
Definition at line 41 of file kded.h.
Constructor & Destructor Documentation
Kded::Kded |
( |
bool |
checkUpdates, |
|
|
bool |
new_startup | |
|
) |
| | |
Kded::~Kded |
( |
|
) |
[virtual] |
Member Function Documentation
void Kded::crashHandler |
( |
int |
|
) |
[static, protected] |
void Kded::dirDeleted |
( |
const QString & |
path |
) |
[protected, slot] |
For internal use only.
Triggers rebuilding
Definition at line 505 of file kded.cpp.
void Kded::initModules |
( |
|
) |
[slot] |
Loads / unloads modules according to config.
Definition at line 155 of file kded.cpp.
void Kded::installCrashHandler |
( |
|
) |
[protected, slot] |
For internal use only.
Installs crash handler
Definition at line 436 of file kded.cpp.
bool Kded::isWindowRegistered |
( |
long |
windowId |
) |
|
void Kded::loadSecondPhase |
( |
|
) |
|
bool Kded::newStartup |
( |
|
) |
const [inline] |
void Kded::noDemandLoad |
( |
const QString & |
obj |
) |
|
process DCOP message.
Only calls to "recreate" are supported at this time.
Definition at line 522 of file kded.cpp.
Catch calls to unknown objects.
Definition at line 138 of file kded.cpp.
void Kded::readDirectory |
( |
const QString & |
dir |
) |
[protected] |
Scans dir for new files and new subdirectories.
Definition at line 544 of file kded.cpp.
void Kded::recreate |
( |
|
) |
[slot] |
Recreate the database file.
Definition at line 441 of file kded.cpp.
void Kded::recreate |
( |
bool |
initial |
) |
|
void Kded::recreateDone |
( |
|
) |
[slot] |
Recreating finished.
Definition at line 482 of file kded.cpp.
void Kded::registerWindowId |
( |
long |
windowId |
) |
|
void Kded::runDelayedCheck |
( |
|
) |
[protected, slot] |
static Kded* Kded::self |
( |
|
) |
[inline, static] |
void Kded::slotApplicationRemoved |
( |
const QCString & |
appId |
) |
[slot] |
An application unregistered itself with DCOP.
Definition at line 355 of file kded.cpp.
void Kded::slotKDEDModuleRemoved |
( |
KDEDModule * |
module |
) |
[slot] |
void Kded::unregisterWindowId |
( |
long |
windowId |
) |
|
void Kded::update |
( |
const QString & |
dir |
) |
[protected, slot] |
For internal use only.
Triggers rebuilding
Definition at line 510 of file kded.cpp.
void Kded::updateDirWatch |
( |
|
) |
[slot] |
Collect all directories to watch.
Definition at line 379 of file kded.cpp.
void Kded::updateResourceList |
( |
|
) |
[slot] |
Update directories to watch.
Definition at line 402 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 146 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 155 of file kded.h.
The documentation for this class was generated from the following files: