CalPrinter Class Reference
#include <calprinter.h>
Inheritance diagram for CalPrinter:
Public Types | |
enum | ePrintOrientation { eOrientPlugin =0 , eOrientPrinter , eOrientPortrait , eOrientLandscape } |
Public Types inherited from KOrg::CalPrinterBase | |
enum | PrintType { Incidence = 100 , Day =200 , Week =300 , Month =400 , Todolist =1000 , Journallist =2000 } |
Public Slots | |
void | updateConfig () |
Public Member Functions | |
CalPrinter (TQWidget *par, Calendar *cal, KOrg::CoreHelper *helper) | |
void | init (Calendar *calendar) |
void | setDateRange (const TQDate &start, const TQDate &end) |
void | print (int type, const TQDate &fd, const TQDate &td, Incidence::List selectedIncidences=Incidence::List(), bool preview=false) |
Calendar * | calendar () const |
TDEConfig * | config () const |
Protected Attributes | |
KOrg::PrintPlugin::List | 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 53 of file calprinter.h.
Constructor & Destructor Documentation
◆ CalPrinter()
CalPrinter::CalPrinter | ( | TQWidget * | par, |
Calendar * | cal, | ||
KOrg::CoreHelper * | helper | ||
) |
- Parameters
-
par parent widget for dialogs 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
◆ setDateRange()
void CalPrinter::setDateRange | ( | const TQDate & | start, |
const TQDate & | 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: