KNotifyDialog Class Reference
KNotifyDialog presents an interface for configuring an application's KNotify events. More...
#include <knotifydialog.h>
Inheritance diagram for KNotifyDialog:


Public Member Functions | |
KNotifyDialog (QWidget *parent=0, const char *name=0, bool modal=true, const KAboutData *aboutData=KGlobal::instance()->aboutData()) | |
If you want a non-modal dialog, you need to instantiate KNotifyDialog yourself instead of using the configure() method. | |
virtual | ~KNotifyDialog () |
Destroys the KNotifyDialog. | |
virtual void | addApplicationEvents (const char *appName) |
With this method, you can add the KNotify events of one eventsrc files to the view. | |
virtual void | addApplicationEvents (const QString &path) |
With this method, you can add the KNotify events of one eventsrc files to the view. | |
virtual void | clearApplicationEvents () |
Removes all the events added with addApplicationEvents(). | |
Static Public Member Functions | |
int | configure (QWidget *parent=0, const char *name=0, const KAboutData *aboutData=KGlobal::instance()->aboutData()) |
Convenience method to create exec() a modal KNotifyDialog. |
Detailed Description
KNotifyDialog presents an interface for configuring an application's KNotify events.Rather than requiring the user to wade through the entire list of applications' events in KControl, your application can make the list of its own notifications available here.
Typical usage is calling the static configure() method:
(void) KNotifyDialog::configure( someParentWidget );
- Since:
- 3.1
- Author:
- Carsten Pfeiffer <pfeiffer@kde.org>
Definition at line 53 of file knotifydialog.h.
Constructor & Destructor Documentation
|
If you want a non-modal dialog, you need to instantiate KNotifyDialog yourself instead of using the configure() method.
|
|
Destroys the KNotifyDialog.
Definition at line 123 of file knotifydialog.cpp. |
Member Function Documentation
|
Convenience method to create exec() a modal KNotifyDialog.
|
|
With this method, you can add the KNotify events of one eventsrc files to the view.
KNotifyDialog can handle events for multiple applications (i.e. eventsrc files). Successive calls with a different
Definition at line 127 of file knotifydialog.cpp. References QString::fromLatin1(), and QString::fromUtf8(). |
|
With this method, you can add the KNotify events of one eventsrc files to the view.
KNotifyDialog can handle events for multiple applications (i.e. eventsrc files). Successive calls with a different
Definition at line 133 of file knotifydialog.cpp. |
|
Removes all the events added with addApplicationEvents().
Definition at line 143 of file knotifydialog.cpp. |
The documentation for this class was generated from the following files: