korganizer
CalPrintYear Class Reference
Inheritance diagram for CalPrintYear:

Detailed Description
Definition at line 37 of file yearprint.h.
Public Member Functions | |
CalPrintYear () | |
virtual | ~CalPrintYear () |
virtual QString | description () |
virtual QString | info () |
virtual int | sortID () |
virtual bool | enabled () |
virtual QWidget * | createConfigWidget (QWidget *) |
virtual KPrinter::Orientation | defaultOrientation () |
virtual void | print (QPainter &p, int width, int height) |
virtual void | readSettingsWidget () |
virtual void | setSettingsWidget () |
virtual void | loadConfig () |
virtual void | saveConfig () |
virtual void | setDateRange (const QDate &from, const QDate &to) |
Protected Attributes | |
int | mYear |
int | mPages |
int | mSubDaysEvents |
int | mHolidaysEvents |
Member Function Documentation
|
Returns widget for configuring the print format.
Reimplemented from CalPrintPluginBase. Definition at line 54 of file yearprint.cpp. |
|
Orientation of printout. Default is Portrait. If your plugin wants to use some other orientation as default (e.g. depending on some config settings), implement this function in your subclass and return the desired orientation. Reimplemented from KOrg::PrintPlugin. Definition at line 122 of file yearprint.cpp. |
|
Returns short description of print format.
Implements KOrg::PrintPlugin. Definition at line 42 of file yearprint.h. |
|
Returns true if the plugin should be enabled; false otherwise.
Reimplemented from KOrg::PrintPlugin. Definition at line 45 of file yearprint.h. |
|
Returns long description of print format.
Implements KOrg::PrintPlugin. Definition at line 43 of file yearprint.h. |
|
Load print format configuration from config file.
Implements CalPrintPluginBase. Definition at line 97 of file yearprint.cpp. |
|
Actually do the printing.
Implements CalPrintPluginBase. Definition at line 138 of file yearprint.cpp. |
|
Read settings from configuration widget and apply them to current object.
Reimplemented from KOrg::PrintPlugin. Definition at line 59 of file yearprint.cpp. |
|
Write print format configuration to config file.
Implements CalPrintPluginBase. Definition at line 108 of file yearprint.cpp. |
|
Set date range which should be printed.
Reimplemented from KOrg::PrintPlugin. Definition at line 128 of file yearprint.cpp. |
|
Set configuration widget to reflect settings of current object.
Reimplemented from KOrg::PrintPlugin. Definition at line 71 of file yearprint.cpp. |
|
Returns the sort ID of the plugin. This value will be used to identify the config widget in the widget stack, and to sort the plugin name in the print style selection list. If another plugin uses the same ID or a value of -1 is returned, a unique (negative) ID will be automatically generated and thus the position of the plugin in the selection list is undefined. Reimplemented from KOrg::PrintPlugin. Definition at line 44 of file yearprint.h. |
The documentation for this class was generated from the following files: