korganizer

KOEventViewer Class Reference

#include <koeventviewer.h>

Inherits QTextBrowser.

List of all members.


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  ) 

Reimplemented from QTextBrowser to handle links.

Definition at line 106 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::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  ) 

Add given text to currently shown content.

Definition at line 140 of file koeventviewer.cpp.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys