KNotifyConfig
#include <KNotifyConfig>
Public Member Functions | |
KNotifyConfig (const QString &appname, const QString &_eventid) | |
KNotifyConfig * | copy () const |
QString | readEntry (const QString &entry, bool path=false) const |
Static Public Member Functions | |
static void | reparseConfiguration () |
static void | reparseSingleConfiguration (const QString &app) |
Public Attributes | |
QString | appname |
KSharedConfig::Ptr | configfile |
QString | eventid |
KSharedConfig::Ptr | eventsfile |
KNotifyImage | image |
Detailed Description
Represent the configuration for an event
Definition at line 56 of file knotifyconfig.h.
Member Function Documentation
◆ readEntry()
- Returns
- entry from the knotifyrc file
This will return the configuration from the user for the given key. It first look into the user config file, and then in the global config file.
return a null string if the entry doesn't exist
Definition at line 72 of file knotifyconfig.cpp.
◆ reparseConfiguration()
|
static |
reparse the cached configs.
to be used when the config may have changed
Definition at line 33 of file knotifyconfig.cpp.
Member Data Documentation
◆ appname
QString KNotifyConfig::appname |
the name of the application that triggered the notification
Definition at line 82 of file knotifyconfig.h.
◆ eventid
QString KNotifyConfig::eventid |
the name of the notification
Definition at line 92 of file knotifyconfig.h.
◆ eventsfile
KSharedConfig::Ptr KNotifyConfig::eventsfile |
Definition at line 87 of file knotifyconfig.h.
◆ image
KNotifyImage KNotifyConfig::image |
the pixmap to put on the notification
Definition at line 77 of file knotifyconfig.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jun 9 2023 03:56:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.