KDED
kded.cpp
Go to the documentation of this file.
112 KToolInvocation::kdeinitExecWait( "kconf_update", QStringList(), 0, 0, "0" /*no startup notification*/ );
223 // not the same user like the one running the session (most likely we're run via sudo or something)
291 for(KService::List::ConstIterator it = kdedModules.constBegin(); it != kdedModules.constEnd(); ++it) {
621 m_pDirWatch->addDir(path,KDirWatch::WatchFiles|KDirWatch::WatchSubDirs); // add watch on this dir
624 QDir d( _path, QString(), QDir::Unsorted, QDir::Readable | QDir::Executable | QDir::Dirs | QDir::Hidden );
831 XSendEvent( QX11Info::display(), QX11Info::appRootWindow(), False, SubstructureNotifyMask, &e );
843 XSendEvent( QX11Info::display(), QX11Info::appRootWindow(), False, SubstructureNotifyMask, &e );
859 KAboutData aboutData( "kded" /*don't change this one to kded4! dbus registration should be org.kde.kded etc.*/,
void readDirectory(const QString &dir)
Scans dir for new files and new subdirectories.
Definition: kded.cpp:612
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:227
void registerWindowId(qlonglong windowId, const QString &sender)
Applications can register/unregister their windows with kded modules.
Definition: kded.cpp:667
void setModuleAutoloading(const QString &module, bool autoload)
Configure whether a module should be loaded on startup.
Definition: kded.cpp:306
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:451
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:443
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define KDE_VERSION_STRING
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:115
KDirWatch * m_pDirWatch
Pointer to the dirwatch class which tells us, when some directories changed.
Definition: kded.h:187
Definition: kded.h:215
virtual int newInstance()
bool isModuleAutoloaded(const QString &module) const
Check if a module should be loaded on startup.
Definition: kded.cpp:318
bool isModuleLoadedOnDemand(const QString &module) const
Check if a module should be loaded on demand.
Definition: kded.cpp:335
static Ptr serviceByDesktopPath(const QString &_path)
QString library() const
KBuildsycocaAdaptor(QObject *parent)
Definition: kded.cpp:788
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
QTimer * m_pTimer
When a desktop file is updated, a timer is started (5 sec) before rebuilding the binary - so that mul...
Definition: kded.h:194
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))
#define KDE_VERSION_MAJOR
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()
#define KBUILDSYCOCA_EXENAME
static void runBuildSycoca(QObject *callBackObj=0, const char *callBackSlot=0)
Definition: kded.cpp:85
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:685
#define KDE_EXPORT
static OrgKdeKLauncherInterface * klauncher()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.