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()) | |
virtual | ~KNotifyDialog () |
virtual void | addApplicationEvents (const char *appName) |
virtual void | addApplicationEvents (const QString &path) |
virtual void | clearApplicationEvents () |
Static Public Member Functions | |
static int | configure (QWidget *parent=0, const char *name=0, const KAboutData *aboutData=KGlobal::instance()->aboutData()) |
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 52 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. KDE4.0 modal default will be false.
Definition at line 161 of file knotifydialog.cpp. References addApplicationEvents(), KDialogBase::applyClicked(), KAboutData::appName(), KDialogBase::makeVBoxMainWidget(), and KDialogBase::okClicked(). |
|
Destroys the KNotifyDialog.
Definition at line 177 of file knotifydialog.cpp. |
Member Function Documentation
|
Convenience method to create exec() a modal KNotifyDialog.
Definition at line 154 of file knotifydialog.cpp. References QDialog::exec(). |
|
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 181 of file knotifydialog.cpp. References QString::fromLatin1(), and QString::fromUtf8(). Referenced by 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 187 of file knotifydialog.cpp. References KNotify::KNotifyWidget::addApplicationEvents(), KNotify::KNotifyWidget::addVisibleApp(), and KNotify::KNotifyWidget::sort(). |
|
Removes all the events added with addApplicationEvents().
Definition at line 197 of file knotifydialog.cpp. References KNotify::KNotifyWidget::clear(). |
The documentation for this class was generated from the following files: