korganizer
CalPrintWhatsNext Class Reference
Inheritance diagram for CalPrintWhatsNext:

Detailed Description
Definition at line 37 of file whatsnextprint.h.
Public Member Functions | |
CalPrintWhatsNext () | |
virtual | ~CalPrintWhatsNext () |
virtual QString | description () |
virtual QString | info () |
virtual int | sortID () |
virtual QWidget * | createConfigWidget (QWidget *) |
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 | |
bool | mUseDateRange |
Member Function Documentation
virtual QString CalPrintWhatsNext::description | ( | ) | [inline, virtual] |
Returns short description of print format.
Implements KOrg::PrintPlugin.
Definition at line 42 of file whatsnextprint.h.
virtual QString CalPrintWhatsNext::info | ( | ) | [inline, virtual] |
Returns long description of print format.
Implements KOrg::PrintPlugin.
Definition at line 43 of file whatsnextprint.h.
virtual int CalPrintWhatsNext::sortID | ( | ) | [inline, virtual] |
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 whatsnextprint.h.
QWidget * CalPrintWhatsNext::createConfigWidget | ( | QWidget * | ) | [virtual] |
Returns widget for configuring the print format.
Reimplemented from CalPrintPluginBase.
Definition at line 54 of file whatsnextprint.cpp.
void CalPrintWhatsNext::print | ( | QPainter & | p, | |
int | width, | |||
int | height | |||
) | [virtual] |
Actually do the printing.
- Parameters:
-
p QPainter the print result is painted to width Width of printable area height Height of printable area
Implements CalPrintPluginBase.
Definition at line 111 of file whatsnextprint.cpp.
void CalPrintWhatsNext::readSettingsWidget | ( | ) | [virtual] |
Read settings from configuration widget and apply them to current object.
Reimplemented from KOrg::PrintPlugin.
Definition at line 59 of file whatsnextprint.cpp.
void CalPrintWhatsNext::setSettingsWidget | ( | ) | [virtual] |
Set configuration widget to reflect settings of current object.
Reimplemented from KOrg::PrintPlugin.
Definition at line 70 of file whatsnextprint.cpp.
void CalPrintWhatsNext::loadConfig | ( | ) | [virtual] |
Load print format configuration from config file.
Implements CalPrintPluginBase.
Definition at line 82 of file whatsnextprint.cpp.
void CalPrintWhatsNext::saveConfig | ( | ) | [virtual] |
Write print format configuration to config file.
Implements CalPrintPluginBase.
Definition at line 90 of file whatsnextprint.cpp.
void CalPrintWhatsNext::setDateRange | ( | const QDate & | from, | |
const QDate & | to | |||
) | [virtual] |
Set date range which should be printed.
Reimplemented from KOrg::PrintPlugin.
Definition at line 100 of file whatsnextprint.cpp.
The documentation for this class was generated from the following files: