KDED
kded.cpp
Go to the documentation of this file.
85static void runBuildSycoca(QObject *callBackObj=0, const char *callBackSlot=0, const char *callBackErrorSlot=0)
101 KToolInvocation::klauncher()->callWithCallback("kdeinit_exec_wait", argList, callBackObj, callBackSlot, callBackErrorSlot);
111 KToolInvocation::kdeinitExecWait( "kconf_update", QStringList(), 0, 0, "0" /*no startup notification*/ );
222 // not the same user like the one running the session (most likely we're run via sudo or something)
290 for(KService::List::ConstIterator it = kdedModules.constBegin(); it != kdedModules.constEnd(); ++it) {
636 m_pDirWatch->addDir(path,KDirWatch::WatchFiles|KDirWatch::WatchSubDirs); // add watch on this dir
639 QDir d( _path, QString(), QDir::Unsorted, QDir::Readable | QDir::Executable | QDir::Dirs | QDir::Hidden );
846 XSendEvent( QX11Info::display(), QX11Info::appRootWindow(), False, SubstructureNotifyMask, &e );
858 XSendEvent( QX11Info::display(), QX11Info::appRootWindow(), False, SubstructureNotifyMask, &e );
874 KAboutData aboutData( "kded" /*don't change this one to kded4! dbus registration should be org.kde.kded etc.*/,
Definition: kded.h:219
KBuildsycocaAdaptor(QObject *parent)
Definition: kded.cpp:803
bool isSet(const QByteArray &option) const
static void init(const KAboutData *about)
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
KCmdLineOptions & add(const KCmdLineOptions &options)
const KSharedConfig::Ptr & config() const
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=0) const
void sync()
void setModuleName(const QString &name)
void windowUnregistered(qlonglong windowId)
void windowRegistered(qlonglong windowId)
QString moduleName() const
bool contains(const QString &path) const
void addDir(const QString &path, WatchModes watchModes=WatchDirOnly)
WatchSubDirs
WatchFiles
static KLibLoader * self()
KLibrary * library(const QString &libname, QLibrary::LoadHints loadHint=0)
void_function_ptr resolveFunction(const char *name)
T * create(const QString &keyword, QObject *parent=0, const QVariantList &args=QVariantList())
QString errorString() const
KPluginFactory * factory()
static KServiceTypeTrader * self()
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
static Ptr serviceByDesktopPath(const QString &_path)
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
QStringList findDirs(const char *type, const QString &reldir) const
QStringList allResourceDirs()
static KSycoca * self()
static OrgKdeKLauncherInterface * klauncher()
static int kdeinitExecWait(const QString &name, const QStringList &args=QStringList(), QString *error=0, int *pid=0, const QByteArray &startup_id=QByteArray())
static bool start()
static void addCmdLineOptions()
Definition: kded.h:231
Definition: kdedadaptor.h:27
void registerWindowId(qlonglong windowId, const QString &sender)
Applications can register/unregister their windows with kded modules.
Definition: kded.cpp:682
void setModuleAutoloading(const QString &module, bool autoload)
Configure whether a module should be loaded on startup.
Definition: kded.cpp:305
bool isModuleAutoloaded(const QString &module) const
Check if a module should be loaded on startup.
Definition: kded.cpp:317
void slotApplicationRemoved(const QString &)
An application unregistered itself from DBus.
Definition: kded.cpp:450
void unregisterWindowId(qlonglong windowId, const QString &sender)
Unregister a window previously registered with KDED.
Definition: kded.cpp:700
void slotKDEDModuleRemoved(KDEDModule *)
A KDEDModule is about to get destroyed.
Definition: kded.cpp:442
bool isModuleLoadedOnDemand(const QString &module) const
Check if a module should be loaded on demand.
Definition: kded.cpp:334
#define kDebug
#define kWarning
QDBUS_EXPORT void qDBusAddSpyHook(void(*)(const QDBusMessage &))
static void runDontChangeHostname(const QByteArray &oldName, const QByteArray &newName)
Definition: kded.cpp:114
static void runBuildSycoca(QObject *callBackObj=0, const char *callBackSlot=0, const char *callBackErrorSlot=0)
Definition: kded.cpp:85
int timeout
KLocalizedString ki18n(const char *msg)
#define KBUILDSYCOCA_EXENAME
void setFlags(CrashFlags flags)
AutoRestart
KStandardDirs * dirs()
KSharedConfigPtr config()
void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
const char * name(StandardAction id)
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.