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 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.

References setSource().

Referenced by setSource().

void KOEventViewer::setEvent Event *  event  ) 
 

Show given event in viewer.

Clear all previously shown incidences.

Definition at line 308 of file koeventviewer.cpp.

References appendEvent(), clearEvents(), and setEvent().

Referenced by setEvent().

void KOEventViewer::setTodo Todo *  event  ) 
 

Show given todo in viewer.

Clear all previously shown incidences.

Definition at line 302 of file koeventviewer.cpp.

References appendTodo(), clearEvents(), and setTodo().

Referenced by setTodo().

void KOEventViewer::setJournal Journal *  journal  ) 
 

Show given journal in viewer.

Clear all previously shown incidences.

Definition at line 314 of file koeventviewer.cpp.

References appendJournal(), clearEvents(), and setJournal().

Referenced by setJournal().

void KOEventViewer::appendEvent Event *  event  ) 
 

Show given event by appending it to already shown incidences.

Definition at line 83 of file koeventviewer.cpp.

References appendEvent().

Referenced by appendEvent(), and setEvent().

void KOEventViewer::appendTodo Todo *  event  ) 
 

Show given todo by appending it to already shown incidences.

Definition at line 131 of file koeventviewer.cpp.

References appendTodo().

Referenced by appendTodo(), and setTodo().

void KOEventViewer::appendJournal Journal *  journal  ) 
 

Show given journal by appending it to already shown incidences.

Definition at line 167 of file koeventviewer.cpp.

References appendJournal().

Referenced by appendJournal(), and 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 320 of file koeventviewer.cpp.

References clearEvents().

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

void KOEventViewer::addText const QString text  ) 
 

Add given text to currently shown content.

Definition at line 326 of file koeventviewer.cpp.

References addText().

Referenced by addText().


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 Thu Oct 21 19:46:58 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003