• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::HtmlExport

KCal::HtmlExport Class Reference

This class provides the functions to export a calendar as a HTML page. More...

#include <htmlexport.h>

List of all members.

Public Member Functions

void addHoliday (const QDate &date, const QString &name)
 HtmlExport (Calendar *calendar, HTMLExportSettings *settings)
bool save (QTextStream *ts)
bool save (const QString &fileName=QString())

Protected Member Functions

QString breakString (const QString &text)
bool checkSecrecy (Incidence *incidence)
void createEvent (QTextStream *ts, Event *event, QDate date, bool withDescription=true)
void createEventList (QTextStream *ts)
void createFooter (QTextStream *ts)
void createFreeBusyView (QTextStream *ts)
void createJournalView (QTextStream *ts)
void createMonthView (QTextStream *ts)
void createTodo (QTextStream *ts, Todo *todo)
void createTodoList (QTextStream *ts)
void createWeekView (QTextStream *ts)
void formatAttendees (QTextStream *ts, Incidence *incidence)
void formatCategories (QTextStream *ts, Incidence *incidence)
void formatLocation (QTextStream *ts, Incidence *incidence)
QDate fromDate () const
QString styleSheet () const
QDate toDate () const

Detailed Description

This class provides the functions to export a calendar as a HTML page.

Definition at line 44 of file htmlexport.h.


Constructor & Destructor Documentation

HtmlExport::HtmlExport ( Calendar *  calendar,
HTMLExportSettings *  settings 
)

Create new HTML exporter for calendar.

Definition at line 64 of file htmlexport.cpp.


Member Function Documentation

bool HtmlExport::save ( QTextStream *  ts  ) 

Writes out calendar to text stream.

Definition at line 93 of file htmlexport.cpp.

bool HtmlExport::save ( const QString &  fileName = QString()  ) 

Writes out the calendar in HTML format.

Definition at line 74 of file htmlexport.cpp.


The documentation for this class was generated from the following files:
  • htmlexport.h
  • htmlexport.cpp

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal