KCal Library
KCal::HtmlExport Class Reference
#include <htmlexport.h>
Public Member Functions | |
HtmlExport (Calendar *calendar, HTMLExportSettings *settings) | |
void | addHoliday (const QDate &date, const QString &name) |
bool | save (const QString &fileName=QString()) |
bool | save (QTextStream *ts) |
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
Writes out the calendar in HTML format.
Definition at line 74 of file htmlexport.cpp.
bool HtmlExport::save | ( | QTextStream * | ts | ) |
Writes out calendar to text stream.
Definition at line 93 of file htmlexport.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.