korganizer
CalPrinter Class Reference
#include <calprinter.h>
Inheritance diagram for CalPrinter:

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 56 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 (KPrinter *printer, Calendar *calendar) |
void | setDateRange (const QDate &start, const QDate &end) |
void | preview (PrintType type, const QDate &fd, const QDate &td) |
void | print (PrintType type, const QDate &fd, const QDate &td) |
KPrinter * | printer () const |
Calendar * | calendar () 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 51 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 106 of file calprinter.cpp.
The documentation for this class was generated from the following files: