KNotifications
knotifyconfig.cpp
31QString KNotifyConfigPrivate::readEntry(const QString &group, const QString &key, bool path) const
52static KSharedConfig::Ptr retrieve_from_cache(const QString &filename, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation)
93 d->eventsFile = retrieve_from_cache(QLatin1String("knotifications6/") + applicationName + QLatin1String(".notifyrc"), QStandardPaths::GenericDataLocation);
NoGlobals
QString applicationName() const
the name of the application that triggered the notification
Definition knotifyconfig.cpp:110
QString readGlobalEntry(const QString &key) const
Definition knotifyconfig.cpp:126
QString readPathEntry(const QString &key) const
Definition knotifyconfig.cpp:137
KNotifyConfig(const QString &applicationName, const QString &eventId)
Creates a notify config for the given application name and event id.
Definition knotifyconfig.cpp:87
bool isValid() const
Whether there exists an event with the given id under the given application name.
Definition knotifyconfig.cpp:120
QString path(const QString &relativePath)
bool contains(const Key &key) const const
bool insert(const Key &key, T *object, qsizetype cost)
QList< Key > keys() const const
StandardLocation
bool isNull() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:47:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:47:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.