kio
KNotify::KNotifyWidget Class Reference
#include <knotifydialog.h>
Public Slots | |
virtual void | clear () |
virtual void | clearVisible () |
virtual void | save () |
virtual void | showAdvanced (bool show) |
void | toggleAdvanced () |
Signals | |
void | changed (bool hasChanges) |
Public Member Functions | |
Application * | addApplicationEvents (const QString &path) |
void | addVisibleApp (Application *app) |
ApplicationList & | allApps () |
KListView * | eventsView () |
KNotifyWidget (QWidget *parent=0, const char *name=0, bool handleAllApps=false) | |
void | resetDefaults (bool ask) |
void | sort (bool ascending=true) |
ApplicationList & | visibleApps () |
~KNotifyWidget () | |
Protected Slots | |
void | playSound () |
Protected Member Functions | |
Event * | currentEvent () |
virtual void | enableAll (int what, bool enable) |
void | reload (bool revertToDefaults=false) |
virtual void | showEvent (QShowEvent *) |
Detailed Description
For internal use only.
Definition at line 189 of file knotifydialog.h.
Constructor & Destructor Documentation
KNotifyWidget::KNotifyWidget | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
bool | handleAllApps = false | |||
) |
Definition at line 220 of file knotifydialog.cpp.
KNotifyWidget::~KNotifyWidget | ( | ) |
Definition at line 324 of file knotifydialog.cpp.
Member Function Documentation
Application * KNotifyWidget::addApplicationEvents | ( | const QString & | path | ) |
Returns 0L if no application events could be found The returned pointer must be freed by the caller (easiest done by putting it into an ApplicationList with setAutoDelete( true )).
Definition at line 372 of file knotifydialog.cpp.
void KNotifyWidget::addVisibleApp | ( | Application * | app | ) |
Definition at line 515 of file knotifydialog.cpp.
ApplicationList& KNotify::KNotifyWidget::allApps | ( | ) | [inline] |
Definition at line 204 of file knotifydialog.h.
void KNotify::KNotifyWidget::changed | ( | bool | hasChanges | ) | [signal] |
void KNotifyWidget::clear | ( | ) | [virtual, slot] |
void KNotifyWidget::clearVisible | ( | ) | [virtual, slot] |
Clears only the view and the visible Application events.
E.g. useful if you want to set new visible events with addVisibleApp()
Definition at line 396 of file knotifydialog.cpp.
Event * KNotifyWidget::currentEvent | ( | ) | [protected] |
May return 0L, if there is no current event selected.
Definition at line 842 of file knotifydialog.cpp.
void KNotifyWidget::enableAll | ( | int | what, | |
bool | enable | |||
) | [protected, virtual] |
Definition at line 956 of file knotifydialog.cpp.
KListView* KNotify::KNotifyWidget::eventsView | ( | ) | [inline] |
Definition at line 198 of file knotifydialog.h.
void KNotifyWidget::playSound | ( | ) | [protected, slot] |
Definition at line 915 of file knotifydialog.cpp.
void KNotifyWidget::reload | ( | bool | revertToDefaults = false |
) | [protected] |
Definition at line 794 of file knotifydialog.cpp.
void KNotifyWidget::resetDefaults | ( | bool | ask | ) |
Definition at line 777 of file knotifydialog.cpp.
void KNotifyWidget::save | ( | ) | [virtual, slot] |
Definition at line 808 of file knotifydialog.cpp.
void KNotifyWidget::showAdvanced | ( | bool | show | ) | [virtual, slot] |
Definition at line 335 of file knotifydialog.cpp.
void KNotifyWidget::showEvent | ( | QShowEvent * | e | ) | [protected, virtual] |
Definition at line 403 of file knotifydialog.cpp.
void KNotifyWidget::sort | ( | bool | ascending = true |
) |
Definition at line 761 of file knotifydialog.cpp.
void KNotifyWidget::toggleAdvanced | ( | ) | [slot] |
Definition at line 330 of file knotifydialog.cpp.
ApplicationList& KNotify::KNotifyWidget::visibleApps | ( | ) | [inline] |
Definition at line 203 of file knotifydialog.h.
The documentation for this class was generated from the following files: