KNotify
KNotifyConfig Class Reference
Represent the configuration for an event. More...
#include <knotifyconfig.h>
Public Member Functions | |
KNotifyConfig (const QString &appname, const ContextList &_contexts, const QString &_eventid) | |
QString | readEntry (const QString &entry, bool path=false) |
~KNotifyConfig () | |
Static Public Member Functions | |
static void | clearCache () |
Public Attributes | |
QStringList | actions |
QString | appname |
KSharedConfig::Ptr | configfile |
ContextList | contexts |
QString | eventid |
KSharedConfig::Ptr | eventsfile |
QPixmap | pix |
QString | text |
WId | winId |
Detailed Description
Represent the configuration for an event.
Definition at line 36 of file knotifyconfig.h.
Constructor & Destructor Documentation
KNotifyConfig::KNotifyConfig | ( | const QString & | appname, | |
const ContextList & | _contexts, | |||
const QString & | _eventid | |||
) |
Definition at line 48 of file knotifyconfig.cpp.
KNotifyConfig::~KNotifyConfig | ( | ) |
Definition at line 57 of file knotifyconfig.cpp.
Member Function Documentation
void KNotifyConfig::clearCache | ( | ) | [static] |
clear the config cache.
to be used when the config may have changed
Definition at line 42 of file knotifyconfig.cpp.
- Returns:
- entry from the knotifyrc file
return a null string if the entry doesn't exist
Definition at line 61 of file knotifyconfig.cpp.
Member Data Documentation
the name of the application that triggered the notification
Definition at line 73 of file knotifyconfig.h.
KSharedConfig::Ptr KNotifyConfig::configfile |
Definition at line 78 of file knotifyconfig.h.
Definition at line 79 of file knotifyconfig.h.
KSharedConfig::Ptr KNotifyConfig::eventsfile |
The windowsID of the window that initiated the notification (it is a window in the client).
Definition at line 64 of file knotifyconfig.h.
The documentation for this class was generated from the following files: