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

korganizer

  • KOrg
  • HtmlExportJob
Public Member Functions | Protected Member Functions | List of all members
KOrg::HtmlExportJob Class Reference

#include <htmlexportjob.h>

Inheritance diagram for KOrg::HtmlExportJob:
Inheritance graph
[legend]

Public Member Functions

 HtmlExportJob (const Akonadi::ETMCalendar::Ptr &calendar, HTMLExportSettings *settings, bool autoMode, KOrg::MainWindow *mainWindow, QWidget *parent=0)
 
virtual ~HtmlExportJob ()
 
void addHoliday (const QDate &date, const QString &name)
 
HTMLExportSettings * settings () const
 
virtual void start ()
 

Protected Member Functions

QString breakString (const QString &text)
 
bool checkSecrecy (const KCalCore::Incidence::Ptr &incidence)
 
void createEvent (QTextStream *ts, const KCalCore::Event::Ptr &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, 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 42 of file htmlexportjob.h.

Constructor & Destructor Documentation

HtmlExportJob::HtmlExportJob ( const Akonadi::ETMCalendar::Ptr &  calendar,
HTMLExportSettings *  settings,
bool  autoMode,
KOrg::MainWindow *  mainWindow,
QWidget *  parent = 0 
)

Create new HTML exporter for calendar.

Parameters
calendaris a pointer to a Akonadi::ETMCalendar instance.
settingsis a pointer to an HTMLExportSettings instance.
autoModeif true, indicates that this export is for an autosave; if false, then the export is explicitly user invoked.
mainWindowis a pointer to KOrganizer MainWindow.
parentis a pointer to the parent CalendarView.

Definition at line 76 of file htmlexportjob.cpp.

HtmlExportJob::~HtmlExportJob ( )
virtual

Definition at line 83 of file htmlexportjob.cpp.

Member Function Documentation

void HtmlExportJob::addHoliday ( const QDate &  date,
const QString &  name 
)

Definition at line 884 of file htmlexportjob.cpp.

QString HtmlExportJob::breakString ( const QString &  text)
protected

Definition at line 772 of file htmlexportjob.cpp.

bool HtmlExportJob::checkSecrecy ( const KCalCore::Incidence::Ptr &  incidence)
protected

Definition at line 709 of file htmlexportjob.cpp.

void HtmlExportJob::createEvent ( QTextStream *  ts,
const KCalCore::Event::Ptr &  event,
QDate  date,
bool  withDescription = true 
)
protected

Definition at line 431 of file htmlexportjob.cpp.

void HtmlExportJob::createEventList ( QTextStream *  ts)
protected

Definition at line 379 of file htmlexportjob.cpp.

void HtmlExportJob::createFooter ( QTextStream *  ts)
protected

Definition at line 791 of file htmlexportjob.cpp.

void HtmlExportJob::createFreeBusyView ( QTextStream *  ts)
protected

Definition at line 703 of file htmlexportjob.cpp.

void HtmlExportJob::createJournalView ( QTextStream *  ts)
protected

Definition at line 696 of file htmlexportjob.cpp.

void HtmlExportJob::createMonthView ( QTextStream *  ts)
protected

Definition at line 290 of file htmlexportjob.cpp.

void HtmlExportJob::createTodo ( QTextStream *  ts,
const KCalCore::Todo::Ptr &  todo 
)
protected

Definition at line 600 of file htmlexportjob.cpp.

void HtmlExportJob::createTodoList ( QTextStream *  ts)
protected

Definition at line 486 of file htmlexportjob.cpp.

void HtmlExportJob::createWeekView ( QTextStream *  ts)
protected

Definition at line 690 of file htmlexportjob.cpp.

void HtmlExportJob::formatAttendees ( QTextStream *  ts,
const KCalCore::Incidence::Ptr &  incidence 
)
protected

Definition at line 743 of file htmlexportjob.cpp.

void HtmlExportJob::formatCategories ( QTextStream *  ts,
const KCalCore::Incidence::Ptr &  incidence 
)
protected

Definition at line 734 of file htmlexportjob.cpp.

void HtmlExportJob::formatLocation ( QTextStream *  ts,
const KCalCore::Incidence::Ptr &  incidence 
)
protected

Definition at line 725 of file htmlexportjob.cpp.

QDate HtmlExportJob::fromDate ( ) const
protected

Definition at line 894 of file htmlexportjob.cpp.

HTMLExportSettings * HtmlExportJob::settings ( ) const

Definition at line 904 of file htmlexportjob.cpp.

void HtmlExportJob::start ( )
virtual

Definition at line 89 of file htmlexportjob.cpp.

QString HtmlExportJob::styleSheet ( ) const
protected

Definition at line 849 of file htmlexportjob.cpp.

QDate HtmlExportJob::toDate ( ) const
protected

Definition at line 899 of file htmlexportjob.cpp.


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

KDE's Doxygen guidelines are available online.

korganizer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

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