• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDED

Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | List of all members
Kded Class Reference

#include <kded.h>

Inheritance diagram for Kded:
Inheritance graph
[legend]

Public Slots

void initModules ()
 
void recreate ()
 
void recreateDone ()
 
void recreateFailed (const QDBusError &error)
 
void slotApplicationRemoved (const QString &)
 
void slotKDEDModuleRemoved (KDEDModule *)
 
void updateDirWatch ()
 
void updateResourceList ()
 

Public Member Functions

 Kded ()
 
virtual ~Kded ()
 
QStringList loadedModules ()
 
KDEDModule * loadModule (const QString &obj, bool onDemand)
 
KDEDModule * loadModule (const KService::Ptr &service, bool onDemand)
 
void loadSecondPhase ()
 
void noDemandLoad (const QString &obj)
 
void recreate (const QDBusMessage &)
 
void recreate (bool initial)
 
void setModuleAutoloading (const QString &module, bool autoload)
 
bool unloadModule (const QString &obj)
 
void registerWindowId (qlonglong windowId, const QString &sender)
 
void unregisterWindowId (qlonglong windowId, const QString &sender)
 
bool isModuleAutoloaded (const QString &module) const
 
bool isModuleAutoloaded (const KService::Ptr &module) const
 
bool isModuleLoadedOnDemand (const QString &module) const
 
bool isModuleLoadedOnDemand (const KService::Ptr &module) const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Static Public Member Functions

static void messageFilter (const QDBusMessage &)
 
static Kded * self ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Slots

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

Additional Inherited Members

- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 40 of file kded.h.

Constructor & Destructor Documentation

Kded::Kded ( )

Definition at line 122 of file kded.cpp.

Kded::~Kded ( )
virtual

Definition at line 152 of file kded.cpp.

Member Function Documentation

void Kded::dirDeleted ( const QString &  path)
protectedslot

Triggers rebuilding

Definition at line 597 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
modulethe 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.

bool Kded::isModuleAutoloaded ( const KService::Ptr &  module) const

Check if a module should be loaded on startup.

Parameters
modulea 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
modulethe 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.

bool Kded::isModuleLoadedOnDemand ( const KService::Ptr &  module) const

Check if a module should be loaded on demand.

Parameters
modulea 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.

QStringList Kded::loadedModules ( )

Definition at line 437 of file kded.cpp.

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

Definition at line 352 of file kded.cpp.

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

Definition at line 364 of file kded.cpp.

void Kded::loadSecondPhase ( )

Definition at line 285 of file kded.cpp.

void Kded::messageFilter ( const QDBusMessage &  message)
static

Definition at line 177 of file kded.cpp.

void Kded::noDemandLoad ( const QString &  obj)

Definition at line 300 of file kded.cpp.

void Kded::recreate ( const QDBusMessage &  msg)

Definition at line 610 of file kded.cpp.

void Kded::recreate ( bool  initial)

Definition at line 530 of file kded.cpp.

void Kded::recreate ( )
slot

Recreate the database file.

Definition at line 518 of file kded.cpp.

void Kded::recreateDone ( )
slot

Recreating finished.

Definition at line 571 of file kded.cpp.

void Kded::recreateFailed ( const QDBusError &  error)
slot

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 682 of file kded.cpp.

void Kded::runDelayedCheck ( )
protectedslot

Definition at line 523 of file kded.cpp.

static Kded* Kded::self ( )
inlinestatic

Definition at line 47 of file kded.h.

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
modulethe name of the desktop file for the module, without the .desktop extension
autoloadif 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

A KDEDModule is about to get destroyed.

Definition at line 442 of file kded.cpp.

bool Kded::unloadModule ( const QString &  obj)

Definition at line 426 of file kded.cpp.

void Kded::unregisterWindowId ( qlonglong  windowId,
const QString &  sender 
)

Unregister a window previously registered with KDED.

Definition at line 700 of file kded.cpp.

void Kded::update ( const QString &  dir)
protectedslot

Triggers rebuilding

Definition at line 602 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.


The documentation for this class was generated from the following files:
  • kded.h
  • kded.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDED

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal