KDED
kded.cpp
Go to the documentation of this file.
85 static 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.*/,
KLibrary * library(const QString &libname, QLibrary::LoadHints loadHint=0)
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
static bool start()
Definition: kded.h:230
T * create(QObject *parent=0, const QVariantList &args=QVariantList())
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
KCmdLineOptions & add(const QByteArray &name, const KLocalizedString &description=KLocalizedString(), const QByteArray &defaultValue=QByteArray())
Definition: kdedadaptor.h:26
static KServiceTypeTrader * self()
KLocalizedString ki18n(const char *msg)
void slotApplicationRemoved(const QString &)
An application unregistered itself from DBus.
Definition: kded.cpp:450
int timeout
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
QStringList findDirs(const char *type, const QString &reldir) const
QVariant property(const QString &_name, QVariant::Type t) const
KStandardDirs * dirs()
void windowUnregistered(qlonglong windowId)
void slotKDEDModuleRemoved(KDEDModule *)
A KDEDModule is about to get destroyed.
Definition: kded.cpp:442
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setModuleName(const QString &name)
bool isSet(const QByteArray &option) const
KSharedConfigPtr config()
const KSharedConfig::Ptr & config() const
void windowRegistered(qlonglong windowId)
QString errorString() const
QDBUS_EXPORT void qDBusAddSpyHook(void(*)(const QDBusMessage &))
QString moduleName() const
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
Definition: kded.h:218
virtual int newInstance()
bool isModuleAutoloaded(const QString &module) const
Check if a module should be loaded on startup.
Definition: kded.cpp:317
bool isModuleLoadedOnDemand(const QString &module) const
Check if a module should be loaded on demand.
Definition: kded.cpp:334
static Ptr serviceByDesktopPath(const QString &_path)
QString library() const
KBuildsycocaAdaptor(QObject *parent)
Definition: kded.cpp:803
WatchFiles
bool contains(const QString &path) const
KPluginFactory * factory()
static void addCmdLineOptions()
static KLibLoader * self()
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
void_function_ptr resolveFunction(const char *name)
QString desktopEntryName() const
static int kdeinitExecWait(const QString &name, const QStringList &args=QStringList(), QString *error=0, int *pid=0, const QByteArray &startup_id=QByteArray())
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
static void init(int argc, char **argv, const QByteArray &appname, const QByteArray &catalog, const KLocalizedString &programName, const QByteArray &version, const KLocalizedString &description=KLocalizedString(), StdCmdLineArgs stdargs=StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE))
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void addDir(const QString &path, WatchModes watchModes=WatchDirOnly)
void setFlags(CrashFlags flags)
void sync()
WatchSubDirs
#define KBUILDSYCOCA_EXENAME
T readEntry(const QString &key, const T &aDefault) const
static KSycoca * self()
QStringList allResourceDirs()
void unregisterWindowId(qlonglong windowId, const QString &sender)
Unregister a window previously registered with KDED.
Definition: kded.cpp:700
static OrgKdeKLauncherInterface * klauncher()
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Sep 16 2015 09:43:10 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Sep 16 2015 09:43:10 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.