CalPrinter Class Reference
CalPrinter is a class for printing Calendars. More...
#include <calprinter.h>
Inheritance diagram for CalPrinter:

Public Types | |
enum | ePrintOrientation { eOrientPlugin = 0, eOrientPrinter, eOrientPortrait, eOrientLandscape } |
Public Slots | |
void | updateConfig () |
Public Methods | |
CalPrinter (QWidget *par, Calendar *cal) | |
virtual | ~CalPrinter () |
void | init (KPrinter *printer, Calendar *calendar) |
void | setupPrinter () |
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) |
Protected Attributes | |
QPtrList< CalPrintBase > | mPrintPlugins |
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 55 of file calprinter.h.
Constructor & Destructor Documentation
|
Definition at line 48 of file calprinter.cpp. |
Member Function Documentation
|
Set date range to be printed.
Definition at line 110 of file calprinter.cpp. References QPtrList< CalPrintBase >::first(), QPtrList< CalPrintBase >::next(), and CalPrintBase::setDateRange(). |
The documentation for this class was generated from the following files: