korganizer Library API Documentation

KOEventViewer Class Reference

Viewer widget for events. More...

#include <koeventviewer.h>

Inheritance diagram for KOEventViewer:

QTextBrowser List of all members.

Public Member Functions

 KOEventViewer (QWidget *parent=0, const char *name=0)
void setSource (const QString &)
void setEvent (Event *event)
void setTodo (Todo *event)
void setJournal (Journal *journal)
void appendEvent (Event *event)
void appendTodo (Todo *event)
void appendJournal (Journal *journal)
void clearEvents (bool now=false)
void addText (const QString &text)

Protected Member Functions

void addTag (const QString &tag, const QString &text)
void addLink (const QString &ref, const QString &text, bool newline=true)
void formatCategories (Incidence *)
void formatAttendees (Incidence *)
void formatReadOnly (Incidence *)
void formatAttachments (Incidence *)

Detailed Description

Viewer widget for events.

Definition at line 41 of file koeventviewer.h.


Member Function Documentation

void KOEventViewer::setSource const QString  ) 
 

Reimplemented from QTextBrowser to handle links.

Definition at line 50 of file koeventviewer.cpp.

void KOEventViewer::setEvent Event *  event  ) 
 

Show given event in viewer.

Clear all previously shown incidences. Definition at line 284 of file koeventviewer.cpp.

References appendEvent(), and clearEvents().

void KOEventViewer::setTodo Todo *  event  ) 
 

Show given todo in viewer.

Clear all previously shown incidences. Definition at line 278 of file koeventviewer.cpp.

References appendTodo(), and clearEvents().

void KOEventViewer::setJournal Journal *  journal  ) 
 

Show given journal in viewer.

Clear all previously shown incidences. Definition at line 290 of file koeventviewer.cpp.

References appendJournal(), and clearEvents().

void KOEventViewer::appendEvent Event *  event  ) 
 

Show given event by appending it to already shown incidences.

Definition at line 82 of file koeventviewer.cpp.

Referenced by setEvent().

void KOEventViewer::appendTodo Todo *  event  ) 
 

Show given todo by appending it to already shown incidences.

Definition at line 130 of file koeventviewer.cpp.

Referenced by setTodo().

void KOEventViewer::appendJournal Journal *  journal  ) 
 

Show given journal by appending it to already shown incidences.

Definition at line 166 of file koeventviewer.cpp.

Referenced by setJournal().

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 296 of file koeventviewer.cpp.

Referenced by setEvent(), setJournal(), and setTodo().

void KOEventViewer::addText const QString text  ) 
 

Add given text to currently shown content.

Definition at line 302 of file koeventviewer.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:53:31 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003