korganizer
#include <htmlexportjob.h>
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, |
KOrg::HTMLExportSettings * | settings, | ||
bool | autoMode, | ||
KOrg::MainWindow * | mainWindow, | ||
QWidget * | parent = 0 |
||
) |
Create new HTML exporter for calendar.
- Parameters
-
calendar is a pointer to a Akonadi::ETMCalendar instance. settings is a pointer to an HTMLExportSettings instance. autoMode if true, indicates that this export is for an autosave; if false, then the export is explicitly user invoked. mainWindow is a pointer to KOrganizer MainWindow. parent is a pointer to the parent CalendarView.
Definition at line 76 of file htmlexportjob.cpp.
|
virtual |
Definition at line 83 of file htmlexportjob.cpp.
Member Function Documentation
void HtmlExportJob::addHoliday | ( | const QDate & | date, |
const QString & | name | ||
) |
Definition at line 879 of file htmlexportjob.cpp.
|
protected |
Definition at line 767 of file htmlexportjob.cpp.
|
protected |
Definition at line 704 of file htmlexportjob.cpp.
|
protected |
Definition at line 426 of file htmlexportjob.cpp.
|
protected |
Definition at line 374 of file htmlexportjob.cpp.
|
protected |
Definition at line 786 of file htmlexportjob.cpp.
|
protected |
Definition at line 698 of file htmlexportjob.cpp.
|
protected |
Definition at line 691 of file htmlexportjob.cpp.
|
protected |
Definition at line 285 of file htmlexportjob.cpp.
|
protected |
Definition at line 595 of file htmlexportjob.cpp.
|
protected |
Definition at line 481 of file htmlexportjob.cpp.
|
protected |
Definition at line 685 of file htmlexportjob.cpp.
|
protected |
Definition at line 738 of file htmlexportjob.cpp.
|
protected |
Definition at line 729 of file htmlexportjob.cpp.
|
protected |
Definition at line 720 of file htmlexportjob.cpp.
|
protected |
Definition at line 889 of file htmlexportjob.cpp.
HTMLExportSettings * HtmlExportJob::settings | ( | ) | const |
Definition at line 899 of file htmlexportjob.cpp.
|
virtual |
Definition at line 89 of file htmlexportjob.cpp.
|
protected |
Definition at line 844 of file htmlexportjob.cpp.
|
protected |
Definition at line 894 of file htmlexportjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.