Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 2991

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>korganizer: CalPrintPluginBase Class Reference (korganizer)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../">API Reference</a>
 / <a href=".">korganizer</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>korganizer</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>CalPrintPluginBase Class Reference</h1><!-- doxytag: class="CalPrintPluginBase" --><!-- doxytag: inherits="KOrg::PrintPlugin" --><code>#include &lt;<a class="el" href="calprintpluginbase_8h-source.html">calprintpluginbase.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for CalPrintPluginBase:</div>
<div class="dynsection">

<p><center><img src="classCalPrintPluginBase.png" usemap="#CalPrintPluginBase_map" border="0" alt=""></center>
<map name="CalPrintPluginBase_map">
<area href="classKOrg_1_1PrintPlugin.html" alt="KOrg::PrintPlugin" shape="rect" coords="0,0,120,24">
</map>
</div>

<p>
<a href="classCalPrintPluginBase-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for <a class="el" href="classKOrganizer.html" title="This is the main class for KOrganizer.">KOrganizer</a> printing classes. 
<p>
Each sub class represents one calendar print format. 
<p>Definition at line <a class="el" href="calprintpluginbase_8h-source.html#l00062">62</a> of file <a class="el" href="calprintpluginbase_8h-source.html">calprintpluginbase.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>DisplayFlags</b> { <b>Text</b> = 0x0001, 
<b>TimeBoxes</b> = 0x0002
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#4799bc036868a261e10de797e9942c56">CalPrintPluginBase</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QWidget *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#9fbb3f300c26eb790d29d052e9f5d603">createConfigWidget</a> (QWidget *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#9c53465e9cd907475f8e8bf2d032d63c">print</a> (QPainter &amp;p, int width, int height)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#66b008e6c17fe4f994c89dc1642f13ea">doPrint</a> (KPrinter *printer)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#0a250d60336645b574f4feb93906c60b">loadConfig</a> ()=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#def247ccef7ea033202d4e685349712d">saveConfig</a> ()=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#f284a5468f4dc25715547a19383f6f3c">doLoadConfig</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#0cf9a47ee76674bbb75fa9440da08cdc">doSaveConfig</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#cba15a0c6d4f0222ea7430a57db28229">setKOrgCoreHelper</a> (KOrg::CoreHelper *helper)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2c215a276aae4b0a6c2d121b3f43803"></a><!-- doxytag: member="CalPrintPluginBase::useColors" ref="b2c215a276aae4b0a6c2d121b3f43803" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>useColors</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="583907690e538c8fe4d6ee49445ef5d4"></a><!-- doxytag: member="CalPrintPluginBase::setUseColors" ref="583907690e538c8fe4d6ee49445ef5d4" args="(bool useColors)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setUseColors</b> (bool useColors)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QColor&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#00672996dadb4017b165fa76b42d01f4">categoryBgColor</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *incidence)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="433fa2d0e140c35ed2a740c25147220e"></a><!-- doxytag: member="CalPrintPluginBase::textColor" ref="433fa2d0e140c35ed2a740c25147220e" args="(const QColor &amp;color)" -->
QColor&nbsp;</td><td class="memItemRight" valign="bottom"><b>textColor</b> (const QColor &amp;color)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="350fa557c458139795968f0d3e9f1e68"></a><!-- doxytag: member="CalPrintPluginBase::dayStart" ref="350fa557c458139795968f0d3e9f1e68" args="()" -->
QTime&nbsp;</td><td class="memItemRight" valign="bottom"><b>dayStart</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a8e9cbf16be83491932779e0ab40f56"></a><!-- doxytag: member="CalPrintPluginBase::isWorkingDay" ref="8a8e9cbf16be83491932779e0ab40f56" args="(const QDate &amp;dt)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isWorkingDay</b> (const QDate &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a95b05155662bf1e9a0d01915b77d82e"></a><!-- doxytag: member="CalPrintPluginBase::holidayString" ref="a95b05155662bf1e9a0d01915b77d82e" args="(const QDate &amp;dt)" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>holidayString</b> (const QDate &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfb5d76f0ea379202bb4b4802d8d5c7f"></a><!-- doxytag: member="CalPrintPluginBase::holiday" ref="cfb5d76f0ea379202bb4b4802d8d5c7f" args="(const QDate &amp;dt)" -->
<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Event.html">Event</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>holiday</b> (const QDate &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27f58cd8b1967dae1d0c7d95c72a5085"></a><!-- doxytag: member="CalPrintPluginBase::setCategoryColors" ref="27f58cd8b1967dae1d0c7d95c72a5085" args="(QPainter &amp;p, Incidence *incidence)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setCategoryColors</b> (QPainter &amp;p, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *incidence)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23e7a14e122ddcdb038ea1f18ea3b51d"></a><!-- doxytag: member="CalPrintPluginBase::orientation" ref="23e7a14e122ddcdb038ea1f18ea3b51d" args="() const " -->
KPrinter::Orientation&nbsp;</td><td class="memItemRight" valign="bottom"><b>orientation</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#5f3bf3d94fedf4b34878a97fadb5aac7">headerHeight</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e44bb756a5791572d9eebe5e9be79d9"></a><!-- doxytag: member="CalPrintPluginBase::setHeaderHeight" ref="0e44bb756a5791572d9eebe5e9be79d9" args="(const int height)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setHeaderHeight</b> (const int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0822f21e9b4f20fc714a9431ccf99906"></a><!-- doxytag: member="CalPrintPluginBase::subHeaderHeight" ref="0822f21e9b4f20fc714a9431ccf99906" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>subHeaderHeight</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78687e53b58cac2701822e313bb7525d"></a><!-- doxytag: member="CalPrintPluginBase::setSubHeaderHeight" ref="78687e53b58cac2701822e313bb7525d" args="(const int height)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setSubHeaderHeight</b> (const int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="991293716bb77febeac897345831007e"></a><!-- doxytag: member="CalPrintPluginBase::margin" ref="991293716bb77febeac897345831007e" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>margin</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c34807f361f9152f02112d09392a684c"></a><!-- doxytag: member="CalPrintPluginBase::setMargin" ref="c34807f361f9152f02112d09392a684c" args="(const int margin)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setMargin</b> (const int margin)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="801c3d78ba7e07c74c0fa3691d0e1244"></a><!-- doxytag: member="CalPrintPluginBase::padding" ref="801c3d78ba7e07c74c0fa3691d0e1244" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>padding</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4268bf4fa88df51ba9807143234307d9"></a><!-- doxytag: member="CalPrintPluginBase::setPadding" ref="4268bf4fa88df51ba9807143234307d9" args="(const int margin)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setPadding</b> (const int margin)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16c7423ece9cd732c4143e08435555e0"></a><!-- doxytag: member="CalPrintPluginBase::borderWidth" ref="16c7423ece9cd732c4143e08435555e0" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>borderWidth</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c20e3a62e7e945bf5c5af45b1e18f640"></a><!-- doxytag: member="CalPrintPluginBase::setBorderWidth" ref="c20e3a62e7e945bf5c5af45b1e18f640" args="(const int border)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setBorderWidth</b> (const int border)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65920de78a20212b1135ae04ef6f81e7"></a><!-- doxytag: member="CalPrintPluginBase::calendarSystem" ref="65920de78a20212b1135ae04ef6f81e7" args="() const " -->
const KCalendarSystem *&nbsp;</td><td class="memItemRight" valign="bottom"><b>calendarSystem</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30a9bbdd0641e88a554bd4b5733369c6"></a><!-- doxytag: member="CalPrintPluginBase::setCalendarSystem" ref="30a9bbdd0641e88a554bd4b5733369c6" args="(const KCalendarSystem *calsys)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setCalendarSystem</b> (const KCalendarSystem *calsys)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#6011cc2444a1e06966a0928e0b8b8ebd">printEventString</a> (QPainter &amp;p, const QRect &amp;box, const QString &amp;str, int flags=-1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#35be14f3ed5f5d84d62d9033b60d5cad">showEventBox</a> (QPainter &amp;p, const QRect &amp;box, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *incidence, const QString &amp;str, int flags=-1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#79806358f99eba12252ecd612d1fb548">drawSubHeaderBox</a> (QPainter &amp;p, const QString &amp;str, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#ee2b9ea421ec9d6e59b89b2a818d147f">drawVerticalBox</a> (QPainter &amp;p, const QRect &amp;box, const QString &amp;str)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#e2c8a56c082c7c207ea4bd19fade53f9">drawBoxWithCaption</a> (QPainter &amp;p, const QRect &amp;box, const QString &amp;caption, const QString &amp;contents, bool sameLine, bool expand, const QFont &amp;captionFont, const QFont &amp;textFont)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#4f3ff2a6d65929062fd556cef653c0a8">drawHeader</a> (QPainter &amp;p, QString title, const QDate &amp;month1, const QDate &amp;month2, const QRect &amp;box, bool expand=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#47fd5b1c102fd591a88c723e93c1a6a0">drawSmallMonth</a> (QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#954d7b274b3d45bca9104ea716cc8360">drawDaysOfWeek</a> (QPainter &amp;p, const QDate &amp;fromDate, const QDate &amp;toDate, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#64bfbfcb367400d045e86a9438db9840">drawDaysOfWeekBox</a> (QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#b334ee08dbc37d94c6536c1c2d7a3fe1">drawTimeLine</a> (QPainter &amp;p, const QTime &amp;fromTime, const QTime &amp;toTime, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#d1a405409d493b157449d75fbe346813">drawAllDayBox</a> (QPainter &amp;p, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Event::List</a> &amp;eventList, const QDate &amp;qd, bool expandable, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#91afccefa90ad72a682808b805045495">drawAgendaDayBox</a> (QPainter &amp;p, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Event::List</a> &amp;eventList, const QDate &amp;qd, bool expandable, QTime &amp;fromTime, QTime &amp;toTime, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d6868e01a378e72011b6f82fb191304"></a><!-- doxytag: member="CalPrintPluginBase::drawAgendaItem" ref="9d6868e01a378e72011b6f82fb191304" args="(PrintCellItem *item, QPainter &amp;p, const QDateTime &amp;startPrintDate, const QDateTime &amp;endPrintDate, float minlen, const QRect &amp;box)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawAgendaItem</b> (PrintCellItem *item, QPainter &amp;p, const QDateTime &amp;startPrintDate, const QDateTime &amp;endPrintDate, float minlen, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#99c475090521c5cf7cfaca187d746383">drawDayBox</a> (QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box, bool fullDate=false, bool printRecurDaily=true, bool printRecurWeekly=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#35537ab6dafe4b93a211a44ec4d79163">drawWeek</a> (QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#d54bf2d3280a1de1cba7ca5ceade5500">drawTimeTable</a> (QPainter &amp;p, const QDate &amp;fromDate, const QDate &amp;toDate, QTime &amp;fromTime, QTime &amp;toTime, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#8c3a430b0014f04bbbbae9edeb13cc21">drawMonthTable</a> (QPainter &amp;p, const QDate &amp;qd, bool weeknumbers, bool recurDaily, bool recurWeekly, const QRect &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#977baa2d73417dce32e1f27d3e7ef482">drawMonth</a> (QPainter &amp;p, const QDate &amp;dt, const QRect &amp;box, int maxdays=-1, int subDailyFlags=TimeBoxes, int holidaysFlags=Text)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#f80552a0e3daf988a32459564628a8ec">drawTodo</a> (int &amp;count, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Todo.html">Todo</a> *todo, QPainter &amp;p, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#055336d90bea8a2c86fde0d94a082162">TodoSortField</a> sortField, <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a> sortDir, bool connectSubTodos, bool strikeoutCompleted, bool desc, int posPriority, int posSummary, int posDueDt, int posPercentComplete, int level, int x, int &amp;y, int width, int pageHeight, const <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Todo::List</a> &amp;todoList, TodoParentStart *r=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#0ad3a02035bb81867fc4dca349f5b770">drawJournal</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Journal.html">Journal</a> *journal, QPainter &amp;p, int x, int &amp;y, int width, int pageHeight)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b93a90f973f26de5eb5b9ee42525e402"></a><!-- doxytag: member="CalPrintPluginBase::drawJournalField" ref="b93a90f973f26de5eb5b9ee42525e402" args="(QPainter &amp;p, QString field, QString text, int x, int &amp;y, int width, int pageHeight)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawJournalField</b> (QPainter &amp;p, QString field, QString text, int x, int &amp;y, int width, int pageHeight)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7ec808e9d427fbad1b8912a06c9590d"></a><!-- doxytag: member="CalPrintPluginBase::drawSplitHeaderRight" ref="c7ec808e9d427fbad1b8912a06c9590d" args="(QPainter &amp;p, const QDate &amp;fd, const QDate &amp;td, const QDate &amp;cd, int width, int height)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawSplitHeaderRight</b> (QPainter &amp;p, const QDate &amp;fd, const QDate &amp;td, const QDate &amp;cd, int width, int height)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#8f72b52330caa8dc9afbe1d97bcf98b8">weekdayColumn</a> (int weekday)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#bbe07855a40097aca4706f2498f879be">drawBox</a> (QPainter &amp;p, int linewidth, const QRect &amp;rect)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalPrintPluginBase.html#619168a1dfa69059568dedaac2559056">drawShadedBox</a> (QPainter &amp;p, int linewidth, const QBrush &amp;brush, const QRect &amp;rect)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="61256bd1da11f85de2ec458737110d29"></a><!-- doxytag: member="CalPrintPluginBase::drawIncidence" ref="61256bd1da11f85de2ec458737110d29" args="(QPainter &amp;p, const QRect &amp;dayBox, const QString &amp;time, const QString &amp;summary, int &amp;textY)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>drawIncidence</b> (QPainter &amp;p, const QRect &amp;dayBox, const QString &amp;time, const QString &amp;summary, int &amp;textY)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24b3991c599b52ae8dcc03f04fa8355c"></a><!-- doxytag: member="CalPrintPluginBase::mUseColors" ref="24b3991c599b52ae8dcc03f04fa8355c" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>mUseColors</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f8f2fc9f16f9b66fa47bb24ade7255f"></a><!-- doxytag: member="CalPrintPluginBase::mHeaderHeight" ref="2f8f2fc9f16f9b66fa47bb24ade7255f" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>mHeaderHeight</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab88983225aff7792464e53ec4028cae"></a><!-- doxytag: member="CalPrintPluginBase::mSubHeaderHeight" ref="ab88983225aff7792464e53ec4028cae" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>mSubHeaderHeight</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="077d4c9c78305fa5dc5e647a99be59ff"></a><!-- doxytag: member="CalPrintPluginBase::mMargin" ref="077d4c9c78305fa5dc5e647a99be59ff" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>mMargin</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="185a6f0d1323925ad3f1e4048d471055"></a><!-- doxytag: member="CalPrintPluginBase::mPadding" ref="185a6f0d1323925ad3f1e4048d471055" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>mPadding</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ea59d8c38205e0209c8c53bbb53c059"></a><!-- doxytag: member="CalPrintPluginBase::mBorder" ref="7ea59d8c38205e0209c8c53bbb53c059" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>mBorder</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="469ed876dcbfae4094ec720512ecdeb5"></a><!-- doxytag: member="CalPrintPluginBase::mCalSys" ref="469ed876dcbfae4094ec720512ecdeb5" args="" -->
const KCalendarSystem *&nbsp;</td><td class="memItemRight" valign="bottom"><b>mCalSys</b></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="4799bc036868a261e10de797e9942c56"></a><!-- doxytag: member="CalPrintPluginBase::CalPrintPluginBase" ref="4799bc036868a261e10de797e9942c56" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CalPrintPluginBase::CalPrintPluginBase           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00110">110</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9fbb3f300c26eb790d29d052e9f5d603"></a><!-- doxytag: member="CalPrintPluginBase::createConfigWidget" ref="9fbb3f300c26eb790d29d052e9f5d603" args="(QWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * CalPrintPluginBase::createConfigWidget           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>w</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns widget for configuring the print format. 
<p>

<p>Implements <a class="el" href="classKOrg_1_1PrintPlugin.html">KOrg::PrintPlugin</a>.</p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00121">121</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="9c53465e9cd907475f8e8bf2d032d63c"></a><!-- doxytag: member="CalPrintPluginBase::print" ref="9c53465e9cd907475f8e8bf2d032d63c" args="(QPainter &amp;p, int width, int height)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CalPrintPluginBase::print           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Actually do the printing. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter the print result is painted to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>Width of printable area </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>Height of printable area </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="66b008e6c17fe4f994c89dc1642f13ea"></a><!-- doxytag: member="CalPrintPluginBase::doPrint" ref="66b008e6c17fe4f994c89dc1642f13ea" args="(KPrinter *printer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::doPrint           </td>
          <td>(</td>
          <td class="paramtype">KPrinter *&nbsp;</td>
          <td class="paramname"> <em>printer</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Start printing. 
<p>

<p>Implements <a class="el" href="classKOrg_1_1PrintPlugin.html#2230464211e856313abbe3044b7483c8">KOrg::PrintPlugin</a>.</p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00142">142</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0a250d60336645b574f4feb93906c60b"></a><!-- doxytag: member="CalPrintPluginBase::loadConfig" ref="0a250d60336645b574f4feb93906c60b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CalPrintPluginBase::loadConfig           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Load print format configuration from config file. 
<p>

</div>
</div><p>
<a class="anchor" name="def247ccef7ea033202d4e685349712d"></a><!-- doxytag: member="CalPrintPluginBase::saveConfig" ref="def247ccef7ea033202d4e685349712d" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CalPrintPluginBase::saveConfig           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write print format configuration to config file. 
<p>

</div>
</div><p>
<a class="anchor" name="f284a5468f4dc25715547a19383f6f3c"></a><!-- doxytag: member="CalPrintPluginBase::doLoadConfig" ref="f284a5468f4dc25715547a19383f6f3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::doLoadConfig           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Load complete config. 
<p>
This also calls <a class="el" href="classCalPrintPluginBase.html#0a250d60336645b574f4feb93906c60b" title="Load print format configuration from config file.">loadConfig()</a> of the derived class. 
<p>Reimplemented from <a class="el" href="classKOrg_1_1PrintPlugin.html#64d43682de76c9801cc09ebd2150801a">KOrg::PrintPlugin</a>.</p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00173">173</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0cf9a47ee76674bbb75fa9440da08cdc"></a><!-- doxytag: member="CalPrintPluginBase::doSaveConfig" ref="0cf9a47ee76674bbb75fa9440da08cdc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::doSaveConfig           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save complete config. 
<p>
This also calls <a class="el" href="classCalPrintPluginBase.html#def247ccef7ea033202d4e685349712d" title="Write print format configuration to config file.">saveConfig()</a> of the derived class. 
<p>Reimplemented from <a class="el" href="classKOrg_1_1PrintPlugin.html#d05b8c9bde542277a6a48fd68a49be8d">KOrg::PrintPlugin</a>.</p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00189">189</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="cba15a0c6d4f0222ea7430a57db28229"></a><!-- doxytag: member="CalPrintPluginBase::setKOrgCoreHelper" ref="cba15a0c6d4f0222ea7430a57db28229" args="(KOrg::CoreHelper *helper)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::setKOrgCoreHelper           </td>
          <td>(</td>
          <td class="paramtype">KOrg::CoreHelper *&nbsp;</td>
          <td class="paramname"> <em>helper</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
HELPER FUNCTIONS. 
<p>

<p>Reimplemented from <a class="el" href="classKOrg_1_1PrintPlugin.html">KOrg::PrintPlugin</a>.</p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00206">206</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="00672996dadb4017b165fa76b42d01f4"></a><!-- doxytag: member="CalPrintPluginBase::categoryBgColor" ref="00672996dadb4017b165fa76b42d01f4" args="(Incidence *incidence)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor CalPrintPluginBase::categoryBgColor           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *&nbsp;</td>
          <td class="paramname"> <em>incidence</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Helper functions to hide the KOrg::CoreHelper. 
<p>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00246">246</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8f72b52330caa8dc9afbe1d97bcf98b8"></a><!-- doxytag: member="CalPrintPluginBase::weekdayColumn" ref="8f72b52330caa8dc9afbe1d97bcf98b8" args="(int weekday)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CalPrintPluginBase::weekdayColumn           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>weekday</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines the column of the given weekday ( 1=Monday, 7=Sunday ), taking the start of the week setting into account as given in kcontrol. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>weekday</em>&nbsp;</td><td>Index of the weekday </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01561">1561</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5f3bf3d94fedf4b34878a97fadb5aac7"></a><!-- doxytag: member="CalPrintPluginBase::headerHeight" ref="5f3bf3d94fedf4b34878a97fadb5aac7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CalPrintPluginBase::headerHeight           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the height of the page header. 
<p>
If the height was explicitly set using setHeaderHeight, that value is returned, otherwise a default value based on the printer orientation. <dl class="return" compact><dt><b>Returns:</b></dt><dd>height of the page header of the printout </dd></dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00294">294</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="bbe07855a40097aca4706f2498f879be"></a><!-- doxytag: member="CalPrintPluginBase::drawBox" ref="bbe07855a40097aca4706f2498f879be" args="(QPainter &amp;p, int linewidth, const QRect &amp;rect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>linewidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>rect</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a box with given width at the given coordinates. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>The printer to be used </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>linewidth</em>&nbsp;</td><td>The border width of the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>The rectangle of the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00347">347</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="619168a1dfa69059568dedaac2559056"></a><!-- doxytag: member="CalPrintPluginBase::drawShadedBox" ref="619168a1dfa69059568dedaac2559056" args="(QPainter &amp;p, int linewidth, const QBrush &amp;brush, const QRect &amp;rect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawShadedBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>linewidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QBrush &amp;&nbsp;</td>
          <td class="paramname"> <em>brush</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>rect</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a shaded box with given width at the given coordinates. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>The printer to be used </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>linewidth</em>&nbsp;</td><td>The border width of the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>The brush to fill the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>The rectangle of the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00357">357</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="6011cc2444a1e06966a0928e0b8b8ebd"></a><!-- doxytag: member="CalPrintPluginBase::printEventString" ref="6011cc2444a1e06966a0928e0b8b8ebd" args="(QPainter &amp;p, const QRect &amp;box, const QString &amp;str, int flags=-1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::printEventString           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>flags</em> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print the given string (event summary) in the given rectangle. 
<p>
Margins and justification (centered or not) are automatically adjusted. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>Coordinates of the surrounding event box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>The text to be printed in the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00365">365</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="35be14f3ed5f5d84d62d9033b60d5cad"></a><!-- doxytag: member="CalPrintPluginBase::showEventBox" ref="35be14f3ed5f5d84d62d9033b60d5cad" args="(QPainter &amp;p, const QRect &amp;box, Incidence *incidence, const QString &amp;str, int flags=-1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::showEventBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *&nbsp;</td>
          <td class="paramname"> <em>incidence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>flags</em> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print the box for the given event with the given string. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainer of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>Coordinates of the event's box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>incidence</em>&nbsp;</td><td>The incidence (if available), from which the category color will be deduced, if applicable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>The string to print inside the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00373">373</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="79806358f99eba12252ecd612d1fb548"></a><!-- doxytag: member="CalPrintPluginBase::drawSubHeaderBox" ref="79806358f99eba12252ecd612d1fb548" args="(QPainter &amp;p, const QString &amp;str, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawSubHeaderBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a subheader box with a shaded background and the given string. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>Text to be printed inside the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>Coordinates of the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00394">394</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee2b9ea421ec9d6e59b89b2a818d147f"></a><!-- doxytag: member="CalPrintPluginBase::drawVerticalBox" ref="ee2b9ea421ec9d6e59b89b2a818d147f" args="(QPainter &amp;p, const QRect &amp;box, const QString &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawVerticalBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw an event box with vertical text. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>Coordinates of the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>ext to be printed inside the box </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00404">404</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e2c8a56c082c7c207ea4bd19fade53f9"></a><!-- doxytag: member="CalPrintPluginBase::drawBoxWithCaption" ref="e2c8a56c082c7c207ea4bd19fade53f9" args="(QPainter &amp;p, const QRect &amp;box, const QString &amp;caption, const QString &amp;contents, bool sameLine, bool expand, const QFont &amp;captionFont, const QFont &amp;textFont)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CalPrintPluginBase::drawBoxWithCaption           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>contents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>sameLine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>expand</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QFont &amp;&nbsp;</td>
          <td class="paramname"> <em>captionFont</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QFont &amp;&nbsp;</td>
          <td class="paramname"> <em>textFont</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a component box with a heading (printed in bold). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>Coordinates of the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>caption</em>&nbsp;</td><td>Caption string to be printed inside the box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>contents</em>&nbsp;</td><td>Normal text contents of the box. If contents.isNull(), then no text will be printed, only the caption. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>sameLine</em>&nbsp;</td><td>Whether the contents should start on the same line as the caption (the space below the caption text will be used as indentation in the subsequent lines) or on the next line (no indentation of the contents) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expand</em>&nbsp;</td><td>Whether to expand the box vertically to fit the whole text in it. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The bottom of the printed box. If expand==true, the bottom of the drawn box is returned, if expand==false, the vertical end of the printed contents inside the box is returned. If you want to print some custom graphics or text below the contents, use the return value as the top-value of your custom contents in that case. </dd></dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00420">420</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f3ff2a6d65929062fd556cef653c0a8"></a><!-- doxytag: member="CalPrintPluginBase::drawHeader" ref="4f3ff2a6d65929062fd556cef653c0a8" args="(QPainter &amp;p, QString title, const QDate &amp;month1, const QDate &amp;month2, const QRect &amp;box, bool expand=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CalPrintPluginBase::drawHeader           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>month1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>month2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>expand</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the gray header bar of the printout to the QPainter. 
<p>
It prints the given text and optionally one or two small month views, as specified by the two QDate. The printed text can also contain a line feed. If month2 is invalid, only the month that contains month1 is printed. E.g. the filofax week view draws just the current month, while the month view draws the previous and the next month. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>The string printed as the title of the page (e.g. the date, date range or todo list title) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month1</em>&nbsp;</td><td>Date specifying the month for the left one of the small month views in the title bar. If left empty, only month2 will be printed (or none, it that is invalid as well). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month2</em>&nbsp;</td><td>Date specifying the month for the right one of the small month views in the title bar. If left empty, only month1 will be printed (or none, it that is invalid as well). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the title bar </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expand</em>&nbsp;</td><td>Whether to expand the box vertically to fit the whole title in it. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The bottom of the printed box. If expand==false, this is box.bottom, otherwise it is larger than box.bottom and matches the y-coordinate of the surrounding rectangle. </dd></dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00483">483</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="47fd5b1c102fd591a88c723e93c1a6a0"></a><!-- doxytag: member="CalPrintPluginBase::drawSmallMonth" ref="47fd5b1c102fd591a88c723e93c1a6a0" args="(QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawSmallMonth           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a small calendar with the days of a month into the given area. 
<p>
Used for example in the title bar of the sheet. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>Arbitrary Date within the month to be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the small calendar </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00533">533</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="954d7b274b3d45bca9104ea716cc8360"></a><!-- doxytag: member="CalPrintPluginBase::drawDaysOfWeek" ref="954d7b274b3d45bca9104ea716cc8360" args="(QPainter &amp;p, const QDate &amp;fromDate, const QDate &amp;toDate, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawDaysOfWeek           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>fromDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>toDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a horizontal bar with the weekday names of the given date range in the given area of the painter. 
<p>
This is used for the weekday-bar on top of the timetable view and the month view. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fromDate</em>&nbsp;</td><td>First date of the printed dates </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toDate</em>&nbsp;</td><td>Last date of the printed dates </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the box for the days of the week </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00601">601</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="64bfbfcb367400d045e86a9438db9840"></a><!-- doxytag: member="CalPrintPluginBase::drawDaysOfWeekBox" ref="64bfbfcb367400d045e86a9438db9840" args="(QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawDaysOfWeekBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a single weekday name in a box inside the given area of the painter. 
<p>
This is called in a loop by drawDaysOfWeek. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>Date of the printed day </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the weekbox </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00619">619</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b334ee08dbc37d94c6536c1c2d7a3fe1"></a><!-- doxytag: member="CalPrintPluginBase::drawTimeLine" ref="b334ee08dbc37d94c6536c1c2d7a3fe1" args="(QPainter &amp;p, const QTime &amp;fromTime, const QTime &amp;toTime, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawTimeLine           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>fromTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>toTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a (vertical) time scale from time fromTime to toTime inside the given area of the painter. 
<p>
Every hour will have a one-pixel line over the whole width, every half-hour the line will only span the left half of the width. This is used in the day and timetable print styles <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fromTime</em>&nbsp;</td><td>Start time of the time range to display </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toTime</em>&nbsp;</td><td>End time of the time range to display </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the timeline </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00626">626</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d1a405409d493b157449d75fbe346813"></a><!-- doxytag: member="CalPrintPluginBase::drawAllDayBox" ref="d1a405409d493b157449d75fbe346813" args="(QPainter &amp;p, Event::List &amp;eventList, const QDate &amp;qd, bool expandable, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CalPrintPluginBase::drawAllDayBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Event::List</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>eventList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>expandable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the all-day box for the agenda print view (the box on top which doesn't have a time on the time scale associated). 
<p>
prints the all-day box for the agenda print view.<p>
If expandable is set, height is the cell height of a single cell, and the returned height will be the total height used for the all-day events. If !expandable, only one cell will be used, and multiple events are concatenated using ", ". <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eventList</em>&nbsp;</td><td>The list of all-day events that are supposed to be printed inside this box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>The date of the currently printed day </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expandable</em>&nbsp;</td><td>If true, height is the height of one single cell, the printout will use as many cells as events in the list and return the total height needed for all of them. If false, height specifies the total height allowed for all events, and the events are displayed in one cell, with their summaries concatenated by ", ". </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the all day box. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The height used for the all-day box.</dd></dl>
if expandable is set, height is the cell height of a single cell, and the returned height will be the total height used for the all-day events. If !expandable, only one cell will be used, and multiple events are concatenated using ", ". 
<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00700">700</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="91afccefa90ad72a682808b805045495"></a><!-- doxytag: member="CalPrintPluginBase::drawAgendaDayBox" ref="91afccefa90ad72a682808b805045495" args="(QPainter &amp;p, Event::List &amp;eventList, const QDate &amp;qd, bool expandable, QTime &amp;fromTime, QTime &amp;toTime, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawAgendaDayBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Event::List</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>eventList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>expandable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>fromTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>toTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the agenda box for the day print style (the box showing all events of that day). 
<p>
Also draws a grid with half-hour spacing of the grid lines. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eventList</em>&nbsp;</td><td>The list of the events that are supposed to be printed inside this box </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>The date of the currently printed day </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>expandable</em>&nbsp;</td><td>If true, the start and end times are adjusted to include the whole range of all events of that day, not just of the given time range. The height of the box will not be affected by this (but the height of one hour will be scaled down so that the whole range fits into the box. fromTime and toTime receive the actual time range printed by this function). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fromTime</em>&nbsp;</td><td>Start of the time range to be printed. Might be adjusted to include all events if expandable==true </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toTime</em>&nbsp;</td><td>End of the time range to be printed. Might be adjusted to include all events if expandable==true </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the agenda day box. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00753">753</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="99c475090521c5cf7cfaca187d746383"></a><!-- doxytag: member="CalPrintPluginBase::drawDayBox" ref="99c475090521c5cf7cfaca187d746383" args="(QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box, bool fullDate=false, bool printRecurDaily=true, bool printRecurWeekly=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawDayBox           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>fullDate</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>printRecurDaily</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>printRecurWeekly</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the box containing a list of all events of the given day (with their times, of course). 
<p>
Used in the Filofax and the month print style. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>The date of the currently printed day. All events of the calendar that appear on that day will be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the day box. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fullDate</em>&nbsp;</td><td>Whether the title bar of the box should contain the full date string or just a short. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>printRecurDaily</em>&nbsp;</td><td>Whether daily recurring incidences should be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>printRecurWeekly</em>&nbsp;</td><td>Whether weekly recurring incidences should be printed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00875">875</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="35537ab6dafe4b93a211a44ec4d79163"></a><!-- doxytag: member="CalPrintPluginBase::drawWeek" ref="35537ab6dafe4b93a211a44ec4d79163" args="(QPainter &amp;p, const QDate &amp;qd, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawWeek           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the week (filofax) table of the week containing the date qd. 
<p>
The first three days of the week will be shown in the first column (using drawDayBox), the remaining four in the second column, where the last two days of the week (typically Saturday and Sunday) only get half the height of the other day boxes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>Arbitrary date within the week to be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the week box. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l00983">983</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d54bf2d3280a1de1cba7ca5ceade5500"></a><!-- doxytag: member="CalPrintPluginBase::drawTimeTable" ref="d54bf2d3280a1de1cba7ca5ceade5500" args="(QPainter &amp;p, const QDate &amp;fromDate, const QDate &amp;toDate, QTime &amp;fromTime, QTime &amp;toTime, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawTimeTable           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>fromDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>toDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>fromTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>toTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the timetable view of the given time range from fromDate to toDate. 
<p>
On the left side the time scale is printed (using drawTimeLine), then each day gets one column (printed using drawAgendaDayBox), and the events are displayed as boxes (like in korganizer's day/week view). The first cell of each column contains the all-day events (using drawAllDayBox with expandable=false). The given time range cannot be expanded to include all events. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fromDate</em>&nbsp;</td><td>First day to be included in the page </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toDate</em>&nbsp;</td><td>Last day to be included in the page </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fromTime</em>&nbsp;</td><td>Start time of the displayed time range </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toTime</em>&nbsp;</td><td>End time of the displayed time range </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the time table. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01013">1013</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8c3a430b0014f04bbbbae9edeb13cc21"></a><!-- doxytag: member="CalPrintPluginBase::drawMonthTable" ref="8c3a430b0014f04bbbbae9edeb13cc21" args="(QPainter &amp;p, const QDate &amp;qd, bool weeknumbers, bool recurDaily, bool recurWeekly, const QRect &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawMonthTable           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>qd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>weeknumbers</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>recurDaily</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>recurWeekly</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw the month table of the month containing the date qd. 
<p>
Each day gets one box (using drawDayBox) that contains a list of all events on that day. They are arranged in a matrix, with the first column being the first day of the week (so it might display some days of the previous and the next month). Above the matrix there is a bar showing the weekdays (drawn using drawDaysOfWeek). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qd</em>&nbsp;</td><td>Arbitrary date within the month to be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>recurDaily</em>&nbsp;</td><td>Whether daily recurring incidences should be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>recurWeekly</em>&nbsp;</td><td>Whether weekly recurring incidences should be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>weeknumbers</em>&nbsp;</td><td>Whether the week numbers are printed left of each row of the matrix </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the month. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01263">1263</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="977baa2d73417dce32e1f27d3e7ef482"></a><!-- doxytag: member="CalPrintPluginBase::drawMonth" ref="977baa2d73417dce32e1f27d3e7ef482" args="(QPainter &amp;p, const QDate &amp;dt, const QRect &amp;box, int maxdays=-1, int subDailyFlags=TimeBoxes, int holidaysFlags=Text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawMonth           </td>
          <td>(</td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>maxdays</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>subDailyFlags</em> = <code>TimeBoxes</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>holidaysFlags</em> = <code>Text</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a vertical representation of the month containing the date dt. 
<p>
Each day gets one line. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>Arbitrary date within the month to be printed </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>coordinates of the box reserved for the month </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>maxdays</em>&nbsp;</td><td>Days to print. If a value of -1 is given, the number of days is deduced from the month. If maxdays is larger than the number of days in the month, the remaining boxes are shaded to indicate they are not days of the month. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>subDailyFlags</em>&nbsp;</td><td>Bitfield consisting of DisplayFlags flags to determine how events that do not cross midnight should be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>holidaysFlags</em>&nbsp;</td><td>Bitfield consisting of DisplayFlags flags to determine how holidays should be printed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01076">1076</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f80552a0e3daf988a32459564628a8ec"></a><!-- doxytag: member="CalPrintPluginBase::drawTodo" ref="f80552a0e3daf988a32459564628a8ec" args="(int &amp;count, Todo *todo, QPainter &amp;p, TodoSortField sortField, SortDirection sortDir, bool connectSubTodos, bool strikeoutCompleted, bool desc, int posPriority, int posSummary, int posDueDt, int posPercentComplete, int level, int x, int &amp;y, int width, int pageHeight, const Todo::List &amp;todoList, TodoParentStart *r=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawTodo           </td>
          <td>(</td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Todo.html">Todo</a> *&nbsp;</td>
          <td class="paramname"> <em>todo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#055336d90bea8a2c86fde0d94a082162">TodoSortField</a>&nbsp;</td>
          <td class="paramname"> <em>sortField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#b79dc8179fdc021ae82c321b08fb6765">SortDirection</a>&nbsp;</td>
          <td class="paramname"> <em>sortDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>connectSubTodos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>strikeoutCompleted</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>posPriority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>posSummary</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>posDueDt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>posPercentComplete</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>pageHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1ListBase.html">Todo::List</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>todoList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TodoParentStart *&nbsp;</td>
          <td class="paramname"> <em>r</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws single to-do and its (intented) sub-to-dos, optionally connects them by a tree-like line, and optionally shows due date, summary, description and priority. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of the currently printed to-do (count will be incremented for each to-do drawn) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>todo</em>&nbsp;</td><td>The to-do to be printed. It's sub-to-dos are recursively drawn, so drawTodo should only be called on the to-dos of the highest level. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>sortField</em>&nbsp;</td><td>Specifies on which attribute of the todo you want to sort. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>sortDir</em>&nbsp;</td><td>Specifies if you want to sort ascending or descending. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>connectSubTodos</em>&nbsp;</td><td>Whether sub-to-dos shall be connected with their parent by a line (tree-like). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>strikeoutCompleted</em>&nbsp;</td><td>Whether completed to-dos should be printed with strike-out summaries. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>desc</em>&nbsp;</td><td>Whether to print the whole description of the to-do (the summary is always printed). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posPriority</em>&nbsp;</td><td>x-coordinate where the priority is supposed to be printed. If &lt;0, no priority will be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posSummary</em>&nbsp;</td><td>x-coordinate where the summary of the to-do is supposed to be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posDueDt</em>&nbsp;</td><td>x-coordinate where the due date is supposed to the be printed. If &lt;0, no due date will be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>posPercentComplete</em>&nbsp;</td><td>x-coordinate where the percentage complete is supposed to be printed. If &lt;0, percentage complete will not be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>Level of the current to-do in the to-do hierarchy (0 means highest level of printed to-dos, 1 are their sub-to-dos, etc.) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>x-coordinate of the upper left coordinate of the first to-do. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>y-coordinate of the upper left coordinate of the first to-do. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>width of the whole to-do list. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pageHeight</em>&nbsp;</td><td>Total height allowed for the to-do list on a page. If an to-do would be below that line, a new page is started. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>todoList</em>&nbsp;</td><td>Contains a list of sub-todos for the specified <code>todo</code> . </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>Internal (used when printing sub-to-dos to give information about its parent) </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01336">1336</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0ad3a02035bb81867fc4dca349f5b770"></a><!-- doxytag: member="CalPrintPluginBase::drawJournal" ref="0ad3a02035bb81867fc4dca349f5b770" args="(Journal *journal, QPainter &amp;p, int x, int &amp;y, int width, int pageHeight)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CalPrintPluginBase::drawJournal           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Journal.html">Journal</a> *&nbsp;</td>
          <td class="paramname"> <em>journal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QPainter &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>pageHeight</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws single journal item. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>journal</em>&nbsp;</td><td>The item to be printed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>QPainter of the printout </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>x-coordinate of the upper left coordinate of the first item </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>y-coordinate of the upper left coordinate of the first item </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>width of the whole list </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pageHeight</em>&nbsp;</td><td>Total height allowed for the list on a page. If an item would be below that line, a new page is started. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="calprintpluginbase_8cpp-source.html#l01587">1587</a> of file <a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="calprintpluginbase_8h-source.html">calprintpluginbase.h</a><li><a class="el" href="calprintpluginbase_8cpp-source.html">calprintpluginbase.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>korganizer</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classActionManager.html">actionmanager</option>,  <option value="classCalendarView.html">calendarview</option>,  <option value="classCalPrinter.html">calprinter</option>,  <option value="classCalPrintPluginBase.html">calprintpluginbase</option>,  <option value="classConfigDialog.html">configdialog</option>,  <option value="classConverter.html">converter</option>,  <option value="classDateNavigator.html">datenavigator</option>,  <option value="classDynamicTip.html">dynamictip</option>,  <option value="classEventArchiver.html">eventarchiver</option>,  <option value="classExportWebDialog.html">exportwebdialog</option>,  <option value="classFilterEditDialog.html">filtereditdialog</option>,  <option value="classFreeBusyDownloadJob.html">freebusydownloadjob</option>,  <option value="classHoliday.html">holiday</option>,  <option value="classKCalendarIface.html">kcalendariface</option>,  <option value="classKOAgendaView.html">koagendaview</option>,  <option value="classKOAttendeeEditor.html">koattendeeeditor</option>,  <option value="classKOAttendeeListView.html">koattendeelistview</option>,  <option value="classKOCounterDialog.html">kocounterdialog</option>,  <option value="classKODayMatrix.html">kodaymatrix</option>,  <option value="classKODialogManager.html">kodialogmanager</option>,  <option value="classKOEventEditor.html">koeventeditor</option>,  <option value="classKOEventView.html">koeventview</option>,  <option value="classKOEventViewer.html">koeventviewer</option>,  <option value="classKOEventViewerDialog.html">koeventviewerdialog</option>,  <option value="classKOIncidenceEditor.html">koincidenceeditor</option>,  <option value="classKOIncidenceToolTip.html">koincidencetooltip</option>,  <option value="classKOJournalEditor.html">kojournaleditor</option>,  <option value="classKOJournalView.html">kojournalview</option>,  <option value="classKOListView.html">kolistview</option>,  <option value="classKOMonthView.html">komonthview</option>,  <option value="classKOProjectView.html">koprojectview</option>,  <option value="classKOProjectViewItem.html">koprojectviewitem</option>,  <option value="classKOrg_1_1AgendaView.html">korg::agendaview</option>,  <option value="classKOrg_1_1BaseView.html">korg::baseview</option>,  <option value="classKOrg_1_1CalendarDecoration.html">korg::calendardecoration</option>,  <option value="classKOrg_1_1CalendarViewBase.html">korg::calendarviewbase</option>,  <option value="classKOrg_1_1CalPrinterBase.html">korg::calprinterbase</option>,  <option value="classKOrg_1_1MainWindow.html">korg::mainwindow</option>,  <option value="classKOrg_1_1MultiAgendaView.html">korg::multiagendaview</option>,  <option value="classKOrg_1_1PrintPlugin.html">korg::printplugin</option>,  <option value="classKOrganizer.html">korganizer</option>,  <option value="classKOTimelineView.html">kotimelineview</option>,  <option value="classKOTodoEditor.html">kotodoeditor</option>,  <option value="classKOTodoView.html">kotodoview</option>,  <option value="classKOTodoViewItem.html">kotodoviewitem</option>,  <option value="classKOViewManager.html">koviewmanager</option>,  <option value="classKOWhatsNextView.html">kowhatsnextview</option>,  <option value="classKOWindowList.html">kowindowlist</option>,  <option value="classMonthViewCell.html">monthviewcell</option>,  <option value="classParsha.html">parsha</option>,  <option value="classResourceView.html">resourceview</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>