korganizer Library API Documentation

CalPrinter Class Reference

CalPrinter is a class for printing Calendars. More...

#include <calprinter.h>

Inheritance diagram for CalPrinter:

KOrg::CalPrinterBase List of all members.

Public Types

enum  ePrintOrientation { eOrientPlugin = 0, eOrientPrinter, eOrientPortrait, eOrientLandscape }

Public Slots

void updateConfig ()

Public Member Functions

 CalPrinter (QWidget *par, Calendar *cal)
void init (KPrinter *printer, Calendar *calendar)
void setupPrinter ()
void setDateRange (const QDate &start, const QDate &end)
void preview (PrintType type, const QDate &fd, const QDate &td)
void print (PrintType type, const QDate &fd, const QDate &td)

Protected Attributes

QPtrList< CalPrintBasemPrintPlugins

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 55 of file calprinter.h.


Constructor & Destructor Documentation

CalPrinter::CalPrinter QWidget *  par,
Calendar *  cal
 

Parameters:
par parent widget for dialogs
cal calendar to be printed

Definition at line 48 of file calprinter.cpp.


Member Function Documentation

void CalPrinter::setDateRange const QDate &  start,
const QDate &  end
 

Set date range to be printed.

Parameters:
start Start date
end End date

Definition at line 110 of file calprinter.cpp.

References CalPrintBase::setDateRange().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Mar 6 17:18:33 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003