KDED
kded.cpp
68 QObject::connect(m_serviceWatcher, &QDBusServiceWatcher::serviceUnregistered, this, &Kded::slotApplicationRemoved);
144 // not the same user like the one running the session (most likely we're run via sudo or something)
241 const QStringList supportedPlatforms = module.value(QStringLiteral("X-KDE-OnlyShowOnQtPlatforms"), QStringList());
300 qCWarning(KDED).nospace() << "Could not load kded module " << moduleId << ":" << factoryResult.errorText << " (library path was:" << module.fileName()
454 // If the dir was created or updated there could be new folders to merge into the active theme(s)
455 QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KIconLoader"), QStringLiteral("org.kde.KIconLoader"), QStringLiteral("iconChanged"));
475 m_pDirWatch->addDir(path, KDirWatch::WatchFiles | KDirWatch::WatchSubDirs); // add watch on this dir
530 QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kconf_update"), QStandardPaths::LocateDirectory);
617 parser.addOption(QCommandLineOption(QStringLiteral("check"), QStringLiteral("Check cache validity")));
618 QCommandLineOption replaceOption({QStringLiteral("replace")}, QStringLiteral("Replace an existing instance"));
637 // Also register as all the names we should respond to (org.kde.kcookiejar, org.kde.khotkeys etc.)
639 const QList<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kf6/kded"));
647 qCWarning(KDED) << "Couldn't register name" << serviceName << "with DBUS - another process owns it already!";
650 KDBusService service(KDBusService::Unique | KDBusService::StartupOption(parser.isSet(replaceOption) ? KDBusService::Replace : 0));
static void setApplicationData(const KAboutData &aboutData)
StartupOption
Unique
Replace
static QString moduleForMessage(const QDBusMessage &message)
void setModuleName(const QString &name)
void windowUnregistered(qlonglong windowId)
void windowRegistered(qlonglong windowId)
bool contains(const QString &path) const
void deleted(const QString &path)
void addDir(const QString &path, WatchModes watchModes=WatchDirOnly)
WatchSubDirs
WatchDirOnly
WatchFiles
void dirty(const QString &path)
void created(const QString &path)
static Result< KPluginFactory > loadFactory(const KPluginMetaData &data)
QString pluginId() const
bool value(QStringView key, bool defaultValue) const
QString fileName() const
static QList< KPluginMetaData > findPlugins(const QString &directory, std::function< bool(const KPluginMetaData &)> filter={}, KPluginMetaDataOptions options={})
bool isValid() const
QStringList allResourceDirs()
static KSycoca * self()
void ensureCacheValid()
KCRASH_EXPORT void setFlags(KCrash::CrashFlags flags)
AutoRestart
KCRASH_EXPORT void initialize()
QString path(const QString &relativePath)
KIOCORE_EXPORT QString dir(const QString &fileClass)
char * data()
bool isEmpty() const const
int toInt(bool *ok, int base) const const
QCommandLineOption addHelpOption()
bool addOption(const QCommandLineOption &option)
QCommandLineOption addVersionOption()
bool isSet(const QCommandLineOption &option) const const
void process(const QCoreApplication &app)
QDBusConnectionInterface * interface() const const
bool registerObject(const QString &path, QObject *object, RegisterOptions options)
bool send(const QDBusMessage &message) const const
QDBusConnection sessionBus()
QueueService
QDBusReply< QDBusConnectionInterface::RegisterServiceReply > registerService(const QString &serviceName, ServiceQueueOptions qoption, ServiceReplacementOptions roption)
QDBusMessage createSignal(const QString &path, const QString &interface, const QString &name)
WatchForUnregistration
void addWatchedService(const QString &newService)
bool removeWatchedService(const QString &service)
void serviceUnregistered(const QString &serviceName)
QString homePath()
const_iterator cbegin() const const
const_iterator cend() const const
void clear()
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
QList< Key > keys() const const
bool remove(const Key &key)
T value(const Key &key) const const
void append(QList< T > &&value)
bool isEmpty() const const
qsizetype removeAll(const AT &t)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * sender() const const
int execute(const QString &program, const QStringList &arguments)
iterator insert(const T &value)
bool remove(const T &value)
LocateDirectory
GenericDataLocation
QStringList locateAll(StandardLocation type, const QString &fileName, LocateOptions options)
QStringList standardLocations(StandardLocation type)
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
singleShot
void start()
void stop()
void timeout()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.