• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDED

Kded Class Reference

#include <kded.h>

Inheritance diagram for Kded:

Inheritance graph
[legend]

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 
)

Definition at line 99 of file kded.cpp.

Kded::~Kded (  )  [virtual]

Definition at line 125 of file kded.cpp.


Member Function Documentation

void Kded::crashHandler ( int   )  [static, protected]

Definition at line 424 of file kded.cpp.

void Kded::dirDeleted ( const QString &  path  )  [protected, slot]

For internal use only.

Triggers rebuilding

Definition at line 505 of file kded.cpp.

QCStringList Kded::functions (  )  [virtual]

Definition at line 340 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  ) 

Definition at line 589 of file kded.cpp.

QCStringList Kded::loadedModules (  ) 

Definition at line 330 of file kded.cpp.

KDEDModule * Kded::loadModule ( const KService *  service,
bool  onDemand 
)

Definition at line 242 of file kded.cpp.

KDEDModule * Kded::loadModule ( const QCString &  obj,
bool  onDemand 
)

Definition at line 233 of file kded.cpp.

void Kded::loadSecondPhase (  ) 

Definition at line 210 of file kded.cpp.

bool Kded::newStartup (  )  const [inline]

Definition at line 170 of file kded.h.

void Kded::noDemandLoad ( const QString &  obj  ) 

Definition at line 228 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 522 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 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  ) 

Definition at line 453 of file kded.cpp.

void Kded::recreateDone (  )  [slot]

Recreating finished.

Definition at line 482 of file kded.cpp.

void Kded::registerWindowId ( long  windowId  ) 

Definition at line 596 of file kded.cpp.

void Kded::runDelayedCheck (  )  [protected, slot]

Definition at line 446 of file kded.cpp.

static Kded* Kded::self (  )  [inline, static]

Definition at line 48 of file kded.h.

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]

A KDEDModule is about to get destroyed.

Definition at line 347 of file kded.cpp.

bool Kded::unloadModule ( const QCString &  obj  ) 

Definition at line 319 of file kded.cpp.

void Kded::unregisterWindowId ( long  windowId  ) 

Definition at line 618 of file kded.cpp.

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

bool Kded::b_checkUpdates [protected]

Definition at line 148 of file kded.h.

QStringList Kded::m_allResourceDirs [protected]

Definition at line 166 of file kded.h.

QAsciiDict<QObject> Kded::m_dontLoad [protected]

Definition at line 163 of file kded.h.

QIntDict<long> Kded::m_globalWindowIdList [protected]

Definition at line 165 of file kded.h.

QAsciiDict<KLibrary> Kded::m_libs [protected]

Definition at line 162 of file kded.h.

QAsciiDict<KDEDModule> Kded::m_modules [protected]

Definition at line 161 of file kded.h.

bool Kded::m_needDelayedCheck [protected]

Definition at line 167 of file kded.h.

bool Kded::m_newStartup [protected]

Definition at line 168 of file kded.h.

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.

bool Kded::m_recreateBusy [protected]

Definition at line 159 of file kded.h.

int Kded::m_recreateCount [protected]

Definition at line 158 of file kded.h.

QValueList<DCOPClientTransaction *> Kded::m_recreateRequests [protected]

Definition at line 157 of file kded.h.

QAsciiDict<QValueList<long> > Kded::m_windowIdList [protected]

Definition at line 164 of file kded.h.


The documentation for this class was generated from the following files:
  • kded.h
  • kded.cpp

KDED

Skip menu "KDED"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal