Kded Class Reference

Inheritance diagram for Kded:

QObject List of all members.

Detailed Description

Definition at line 41 of file kded.h.


Public Slots

void initModules ()
void recreate ()
void recreateDone ()
void updateDirWatch ()
void updateResourceList ()
void slotApplicationRemoved (const QCString &appId)
void slotKDEDModuleRemoved (KDEDModule *)

Public Member Functions

 Kded (bool checkUpdates, bool new_startup)
virtual ~Kded ()
bool process (const QCString &obj, const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData)
bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData)
virtual QCStringList functions ()
void noDemandLoad (const QString &obj)
KDEDModuleloadModule (const QCString &obj, bool onDemand)
KDEDModuleloadModule (const KService *service, bool onDemand)
QCStringList loadedModules ()
bool unloadModule (const QCString &obj)
bool isWindowRegistered (long windowId)
void registerWindowId (long windowId)
void unregisterWindowId (long windowId)
void recreate (bool initial)
void loadSecondPhase ()
bool newStartup () const

Static Public Member Functions

static Kdedself ()

Protected Slots

void dirDeleted (const QString &path)
void update (const QString &dir)
void installCrashHandler ()
void runDelayedCheck ()

Protected Member Functions

void readDirectory (const QString &dir)

Static Protected Member Functions

static void crashHandler (int)

Protected Attributes

KDirWatch * m_pDirWatch
bool b_checkUpdates
QTimerm_pTimer
QValueList< DCOPClientTransaction * > m_recreateRequests
int m_recreateCount
bool m_recreateBusy
QAsciiDict< KDEDModulem_modules
QAsciiDict< KLibrary > m_libs
QAsciiDict< QObjectm_dontLoad
QAsciiDict< QValueList< long > > m_windowIdList
QIntDict< long > m_globalWindowIdList
QStringList m_allResourceDirs
bool m_needDelayedCheck
bool m_newStartup

Member Function Documentation

void Kded::initModules (  )  [slot]

Loads / unloads modules according to config.

Definition at line 156 of file kded.cpp.

bool Kded::process ( const QCString fun,
const QByteArray data,
QCString replyType,
QByteArray replyData 
)

process DCOP message.

Only calls to "recreate" are supported at this time.

Definition at line 521 of file kded.cpp.

bool Kded::process ( const QCString obj,
const QCString fun,
const QByteArray data,
QCString replyType,
QByteArray replyData 
)

Catch calls to unknown objects.

Definition at line 139 of file kded.cpp.

void Kded::readDirectory ( const QString dir  )  [protected]

Scans dir for new files and new subdirectories.

Definition at line 543 of file kded.cpp.

void Kded::recreate (  )  [slot]

Recreate the database file.

Definition at line 440 of file kded.cpp.

void Kded::recreateDone (  )  [slot]

Recreating finished.

Definition at line 481 of file kded.cpp.

void Kded::slotApplicationRemoved ( const QCString appId  )  [slot]

An application unregistered itself with DCOP.

Definition at line 354 of file kded.cpp.

void Kded::slotKDEDModuleRemoved ( KDEDModule  )  [slot]

A KDEDModule is about to get destroyed.

Definition at line 346 of file kded.cpp.

void Kded::updateDirWatch (  )  [slot]

Collect all directories to watch.

Definition at line 378 of file kded.cpp.

void Kded::updateResourceList (  )  [slot]

Update directories to watch.

Definition at line 401 of file kded.cpp.


Member Data Documentation

KDirWatch* Kded::m_pDirWatch [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 146 of file kded.h.

QTimer* Kded::m_pTimer [protected]

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:
KDE Home | KDE Accessibility Home | Description of Access Keys