korganizer Library API Documentation

KOEventViewer Class Reference

Viewer widget for events. More...

#include <koeventviewer.h>

Inheritance diagram for KOEventViewer:

Inheritance graph
[legend]
Collaboration diagram for KOEventViewer:

Collaboration graph
[legend]
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 linkPerson (const QString &email, QString name, QString uid, const QString &iconPath)
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 51 of file koeventviewer.cpp.

void KOEventViewer::setEvent Event *  event  ) 
 

Show given event in viewer.

Clear all previously shown incidences.

Definition at line 293 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 287 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 299 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 83 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 131 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 167 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 305 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 311 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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:49:47 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003