korganizer

CalPrinter Class Reference

#include <calprinter.h>

Inheritance diagram for CalPrinter:

KOrg::CalPrinterBase List of all members.

Detailed Description

CalPrinter is a class for printing Calendars.

It can print in several different formats (day, week, month). It also provides a way for setting up the printer and remembering these preferences.

Definition at line 53 of file calprinter.h.


Public Types

enum  ePrintOrientation { eOrientPlugin = 0, eOrientPrinter, eOrientPortrait, eOrientLandscape }

Public Slots

void updateConfig ()

Public Member Functions

 CalPrinter (QWidget *par, Calendar *cal, KOrg::CoreHelper *helper)
virtual ~CalPrinter ()
void init (Calendar *calendar)
void setDateRange (const QDate &start, const QDate &end)
void print (int type, const QDate &fd, const QDate &td, Incidence::List selectedIncidences=Incidence::List(), bool preview=false)
Calendarcalendar () const
KConfig * config () const

Protected Attributes

KOrg::PrintPlugin::List mPrintPlugins

Constructor & Destructor Documentation

CalPrinter::CalPrinter ( QWidget *  par,
Calendar cal,
KOrg::CoreHelper helper 
)

Parameters:
par parent widget for dialogs

Parameters:
cal calendar to be printed
helper is a pointer to the KOrg::CoreHelper object

Definition at line 49 of file calprinter.cpp.


Member Function Documentation

void CalPrinter::setDateRange ( const QDate &  start,
const QDate &  end 
)

Set date range to be printed.

Parameters:
start Start date
end End date

Definition at line 93 of file calprinter.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys