korganizer
KOrg::PrintPlugin Class Reference
#include <printplugin.h>
Inheritance diagram for KOrg::PrintPlugin:

Detailed Description
Base class for KOrganizer printing classes.Each sub class represents one calendar print format.
Definition at line 43 of file printplugin.h.
Public Types | |
typedef QPtrList< PrintPlugin > | List |
Public Member Functions | |
virtual void | setCalPrintHelper (CalPrintHelper *helper) |
virtual void | setKOrgCoreHelper (KOrg::CoreHelper *helper) |
virtual void | setConfig (KConfig *cfg) |
virtual void | setCalendar (KCal::Calendar *cal) |
virtual void | setPrinter (KPrinter *pr) |
virtual QString | description ()=0 |
virtual QString | info ()=0 |
QWidget * | configWidget (QWidget *w) |
virtual QWidget * | createConfigWidget (QWidget *)=0 |
virtual void | doPrint ()=0 |
virtual KPrinter::Orientation | orientation () |
void | doLoadConfig () |
void | doSaveConfig () |
virtual void | readSettingsWidget () |
virtual void | setSettingsWidget () |
virtual void | setDateRange (const QDate &from, const QDate &to) |
Static Public Member Functions | |
static int | interfaceVersion () |
static QString | serviceType () |
Protected Attributes | |
QDate | mFromDate |
QDate | mToDate |
QWidget * | mConfigWidget |
KOrg::CoreHelper * | mCoreHelper |
KPrinter * | mPrinter |
KCal::Calendar * | mCalendar |
KConfig * | mConfig |
CalPrintHelper * | mHelper |
Member Function Documentation
|
Returns short description of print format.
|
|
Load complete config.
Reimplemented in CalPrintPluginBase. Definition at line 95 of file printplugin.h. |
|
Actually do the printing.
Implemented in CalPrintPluginBase. |
|
Save complete config.
Reimplemented in CalPrintPluginBase. Definition at line 99 of file printplugin.h. |
|
Returns long description of print format.
|
|
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. Definition at line 90 of file printplugin.h. |
|
Read settings from configuration widget and apply them to current object.
Definition at line 106 of file printplugin.h. |
|
Set date range which should be printed.
Definition at line 115 of file printplugin.h. |
|
Set configuration widget to reflect settings of current object.
Definition at line 110 of file printplugin.h. |
The documentation for this class was generated from the following file: