KOrg::PrintPlugin Class Reference
Base class for KOrganizer printing classes. More...
#include <printplugin.h>
Inherits KOrg::Plugin.
Inherited by CalPrintPluginBase.
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
Protected Attributes
- QDate mFromDate
- QDate mToDate
- QWidget * mConfigWidget
- KOrg::CoreHelper * mCoreHelper
- KPrinter * mPrinter
- KCal::Calendar * mCalendar
- KConfig * mConfig
- CalPrintHelper * mHelper
Detailed Description
Base class for KOrganizer printing classes.Each sub class represents one calendar print format.
Member Function Documentation
|
Returns short description of print format.
|
|
Returns long description of print format.
|
|
Actually do the printing.
Implemented in CalPrintPluginBase. |
|
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. |
|
Load complete config.
Reimplemented in CalPrintPluginBase. |
|
Save complete config.
Reimplemented in CalPrintPluginBase. |
|
Read settings from configuration widget and apply them to current object.
|
|
Set configuration widget to reflect settings of current object.
|
|
Set date range which should be printed.
|
The documentation for this class was generated from the following file:
- printplugin.h