#include <koeventviewer.h>
Inherits TQTextBrowser.
Public Slots | |
void | setIncidence (Incidence *incidence, const TQDate &date) |
void | changeIncidenceDisplay (Incidence *incidence, const TQDate &date, int action) |
void | message (const TQString &link) |
void | contentsContextMenuEvent (TQContextMenuEvent *) |
Public Member Functions | |
KOEventViewer (Calendar *calendar, TQWidget *parent=0, const char *name=0) | |
void | setSource (const TQString &) |
virtual bool | appendIncidence (Incidence *incidence, const TQDate &date) |
void | setCalendar (Calendar *calendar) |
void | clearEvents (bool now=false) |
void | addText (const TQString &text) |
void | setDefaultText (const TQString &text) |
void | readSettings (KConfig *config) |
void | writeSettings (KConfig *config) |
Detailed Description
Viewer widget for events.
Definition at line 40 of file koeventviewer.h.
Member Function Documentation
void KOEventViewer::addText | ( | const TQString & | text | ) |
Add given text to currently shown content.
Definition at line 140 of file koeventviewer.cpp.
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::setCalendar | ( | Calendar * | calendar | ) |
Set the Calendar associated with this viewer.
Definition at line 117 of file koeventviewer.cpp.
void KOEventViewer::setDefaultText | ( | const TQString & | 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 TQDate & | date | ||
) | [slot] |
Show given incidence in viewer.
Clear all previously shown incidences.
Definition at line 122 of file koeventviewer.cpp.
void KOEventViewer::setSource | ( | const TQString & | n | ) |
Reimplemented from TQTextBrowser to handle links.
Definition at line 106 of file koeventviewer.cpp.
The documentation for this class was generated from the following files: