• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCalUtils Library

  • KCalUtils
  • HtmlExport
Public Member Functions | Protected Member Functions | List of all members
KCalUtils::HtmlExport Class Reference

#include <htmlexport.h>

Public Member Functions

 HtmlExport (KCalCore::MemoryCalendar *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 (const KCalCore::Incidence::Ptr &incidence)
 
void createEvent (QTextStream *ts, const KCalCore::Event::Ptr &event, const 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, const KCalCore::Todo::Ptr &todo)
 
void createTodoList (QTextStream *ts)
 
void createWeekView (QTextStream *ts)
 
void formatAttendees (QTextStream *ts, const KCalCore::Incidence::Ptr &incidence)
 
void formatCategories (QTextStream *ts, const KCalCore::Incidence::Ptr &incidence)
 
void formatLocation (QTextStream *ts, const KCalCore::Incidence::Ptr &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 47 of file htmlexport.h.

Constructor & Destructor Documentation

HtmlExport::HtmlExport ( KCalCore::MemoryCalendar *  calendar,
HTMLExportSettings *  settings 
)

Create new HTML exporter for calendar.

Definition at line 57 of file htmlexport.cpp.

Member Function Documentation

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

Writes out the calendar in HTML format.

Definition at line 67 of file htmlexport.cpp.

bool HtmlExport::save ( QTextStream *  ts)

Writes out calendar to text stream.

Definition at line 86 of file htmlexport.cpp.


The documentation for this class was generated from the following files:
  • htmlexport.h
  • htmlexport.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCalUtils Library

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal