korganizer
KOEventViewer Class Reference
#include <koeventviewer.h>
Inherits QTextBrowser.
Detailed Description
Viewer widget for events.Definition at line 40 of file koeventviewer.h.
Public Slots | |
void | setIncidence (Incidence *incidence, const QDate &date) |
void | changeIncidenceDisplay (Incidence *incidence, const QDate &date, int action) |
void | message (const QString &link) |
void | contentsContextMenuEvent (QContextMenuEvent *) |
Public Member Functions | |
KOEventViewer (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
void | setSource (const QString &) |
virtual bool | appendIncidence (Incidence *incidence, const QDate &date) |
void | setCalendar (Calendar *calendar) |
void | clearEvents (bool now=false) |
void | addText (const QString &text) |
void | setDefaultText (const QString &text) |
void | readSettings (KConfig *config) |
void | writeSettings (KConfig *config) |
Member Function Documentation
void KOEventViewer::setSource | ( | const QString & | n | ) |
void KOEventViewer::setCalendar | ( | Calendar * | calendar | ) |
void KOEventViewer::clearEvents | ( | bool | now = false |
) |
Clear viewer.
If now is set to true delete view immediately. If set to false delete it with next call to appendIncidence().
Definition at line 134 of file koeventviewer.cpp.
void KOEventViewer::addText | ( | const QString & | text | ) |
void KOEventViewer::setDefaultText | ( | const QString & | text | ) |
Set the default text that is showed when there aren't a incidence to show.
Definition at line 146 of file koeventviewer.cpp.
void KOEventViewer::setIncidence | ( | Incidence * | incidence, | |
const QDate & | date | |||
) | [slot] |
Show given incidence in viewer.
Clear all previously shown incidences.
Definition at line 122 of file koeventviewer.cpp.
The documentation for this class was generated from the following files: