CalendarSupport::CalPrinter
CalendarSupport::CalPrinter Class Reference
#include <calprinter.h>
Inheritance diagram for CalendarSupport::CalPrinter:
Public Types | |
enum | ePrintOrientation { eOrientPlugin = 0 , eOrientPrinter , eOrientPortrait , eOrientLandscape } |
Public Types inherited from CalendarSupport::CalPrinterBase | |
enum | PrintType { Incidence = 100 , Day = 200 , Week = 300 , Month = 400 , Year = 900 , Todolist = 1000 , Journallist = 2000 , WhatsNext = 2100 , ItemList = 2200 } |
Public Slots | |
void | updateConfig () |
Protected Attributes | |
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 25 of file calprinter.h.
Member Enumeration Documentation
◆ ePrintOrientation
enum CalendarSupport::CalPrinter::ePrintOrientation |
Definition at line 29 of file calprinter.h.
Constructor & Destructor Documentation
◆ CalPrinter()
CalPrinter::CalPrinter | ( | QWidget * | par, |
const KCalendarCore::Calendar::Ptr & | calendar, | ||
bool | uniqItem = false ) |
- Parameters
-
par parent widget for dialogs cal calendar to be printed uniqItem if true, indicates the calendar print dialog will only provide the option to print an single incidence; else, all possible types of print types will be shown
Definition at line 30 of file calprinter.cpp.
◆ ~CalPrinter()
|
override |
Definition at line 39 of file calprinter.cpp.
Member Function Documentation
◆ init()
void CalPrinter::init | ( | const KCalendarCore::Calendar::Ptr & | calendar | ) |
Definition at line 45 of file calprinter.cpp.
◆ print()
void CalPrinter::print | ( | int | type, |
QDate | fd, | ||
QDate | td, | ||
const KCalendarCore::Incidence::List & | selectedIncidences = KCalendarCore::Incidence::List(), | ||
bool | preview = false ) |
Definition at line 80 of file calprinter.cpp.
◆ setDateRange()
Set date range to be printed.
- Parameters
-
start Start date end End date
Definition at line 73 of file calprinter.cpp.
◆ updateConfig
|
slot |
Definition at line 149 of file calprinter.cpp.
Member Data Documentation
◆ mPrintPlugins
|
protected |
Definition at line 65 of file calprinter.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.