Sophie

Sophie

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

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: KODayMatrix 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>KODayMatrix Class Reference</h1><!-- doxytag: class="KODayMatrix" --><!-- doxytag: inherits="QFrame" --><code>#include &lt;<a class="el" href="kodaymatrix_8h-source.html">kodaymatrix.h</a>&gt;</code>
<p>
Inherits QFrame.
<p>

<p>
<a href="classKODayMatrix-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Replacement for kdpdatebuton.cpp that used 42 widgets for the day matrix to be displayed. 
<p>
Cornelius thought this was a waste of memory and a lot of overhead. In addition the selection was not very intuitive so I decided to rewrite it using a QFrame that draws the labels and allows for dragging selection while maintaining nearly full compatibility in behavior with its predecessor.<p>
The following functionality has been changed:<p>
o when shifting events in the agenda view from one day to another the day matrix is updated now o dragging an event to the matrix will MOVE not COPY the event to the new date. o no support for Ctrl+click to create groups of dates (This has not really been supported in the predecessor. It was not very intuitive nor was it user friendly.) This feature has been replaced with dragging a selection on the matrix. The matrix will automatically choose the appropriate selection (e.g. you are not any longer able to select two distinct groups of date selections as in the old class) o now that you can select more then a week it can happen that not all selected days are displayed in the matrix. However this is preferred to the alternative which would mean to adjust the selection and leave some days undisplayed while scrolling through the months<p>
day matrix widget of the KDateNavigator <dl class="author" compact><dt><b>Author:</b></dt><dd>Eitzenberger Thomas </dd></dl>

<p>Definition at line <a class="el" href="kodaymatrix_8h-source.html#l00104">104</a> of file <a class="el" href="kodaymatrix_8h-source.html">kodaymatrix.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#15cd90dbe04a3cd6f4a4e25aabe4e045">updateView</a> ()</td></tr>

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

<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#0a811e7eac9bfdbe3a41eb19ecbc433c">selected</a> (const <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#3e5daeebfd357711bf15f127f85635ad">KCal::DateList</a> &amp;daylist)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#9f24071ebee98c0a641b602366621ca4">incidenceDropped</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *incidence, const QDate &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#204b8ae97c08a2d901e25e4e0324ed2b">incidenceDroppedMove</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Incidence.html">Incidence</a> *oldincidence, const QDate &amp;dt)</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="classKODayMatrix.html#ff599a39c73930663d547d1bedcf066e">KODayMatrix</a> (QWidget *parent, const char *name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#5b08291b841f604f2d004d1ff8a2f06e">~KODayMatrix</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#2decab232c796f7c7d2a182a81ad6d79">setCalendar</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Calendar.html">Calendar</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#3604d8e9094f4a374810f23fced1de18">updateView</a> (const QDate &amp;actdate)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">const QDate &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#f3ef91c1c96150e0d8389c7967b0eaa4">getDate</a> (int offset)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#5404780d45bd8b408fb5c2e40985a601">getHolidayLabel</a> (int offset)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#b5a488a8b29dd05a328d145ae5e94d8c">addSelectedDaysTo</a> (<a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#3e5daeebfd357711bf15f127f85635ad">DateList</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#5087ef8d292886719dffb5c06fcbeb3e">setSelectedDaysFrom</a> (const QDate &amp;start, const QDate &amp;end)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#ae53b67946390b49bd6e6f37b6a081fa">isTodayVisible</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKODayMatrix.html#4be2e952b19a1b6496169e0408858507">isBeginningOfMonth</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e903ca5c8974a025d3ff23548c95cce3"></a><!-- doxytag: member="KODayMatrix::isEndOfMonth" ref="e903ca5c8974a025d3ff23548c95cce3" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isEndOfMonth</b> () const </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="430975134743f0ba1b360e0cba18ddb4"></a><!-- doxytag: member="KODayMatrix::paintEvent" ref="430975134743f0ba1b360e0cba18ddb4" args="(QPaintEvent *ev)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *ev)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afbbaa5cbb6672c73d27b049dcae6f42"></a><!-- doxytag: member="KODayMatrix::mousePressEvent" ref="afbbaa5cbb6672c73d27b049dcae6f42" args="(QMouseEvent *e)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="777fd23267550e1ac4ad5e03b6581a2c"></a><!-- doxytag: member="KODayMatrix::mouseReleaseEvent" ref="777fd23267550e1ac4ad5e03b6581a2c" args="(QMouseEvent *e)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0a7c0df5791a7baea60ae634d3ef269"></a><!-- doxytag: member="KODayMatrix::mouseMoveEvent" ref="d0a7c0df5791a7baea60ae634d3ef269" args="(QMouseEvent *e)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>mouseMoveEvent</b> (QMouseEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd7aef839495b82b4dbadfb874db01e5"></a><!-- doxytag: member="KODayMatrix::dragEnterEvent" ref="dd7aef839495b82b4dbadfb874db01e5" args="(QDragEnterEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>dragEnterEvent</b> (QDragEnterEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5266e28a82ada791b9196dcc24b4f6fd"></a><!-- doxytag: member="KODayMatrix::dragMoveEvent" ref="5266e28a82ada791b9196dcc24b4f6fd" args="(QDragMoveEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>dragMoveEvent</b> (QDragMoveEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fd743eb9c3ddb93739668d247e41146"></a><!-- doxytag: member="KODayMatrix::dragLeaveEvent" ref="1fd743eb9c3ddb93739668d247e41146" args="(QDragLeaveEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>dragLeaveEvent</b> (QDragLeaveEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ebf223e03b99cc43198acc1c70baa7c"></a><!-- doxytag: member="KODayMatrix::dropEvent" ref="5ebf223e03b99cc43198acc1c70baa7c" args="(QDropEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>dropEvent</b> (QDropEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f07b3088f2b12588558954be96f1b903"></a><!-- doxytag: member="KODayMatrix::resizeEvent" ref="f07b3088f2b12588558954be96f1b903" args="(QResizeEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ff599a39c73930663d547d1bedcf066e"></a><!-- doxytag: member="KODayMatrix::KODayMatrix" ref="ff599a39c73930663d547d1bedcf066e" args="(QWidget *parent, const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KODayMatrix::KODayMatrix           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</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>
constructor to create a day matrix widget. 
<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>parent</em>&nbsp;</td><td>widget that is the parent of the day matrix. Normally this should be a KDateNavigator </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>name of the widget </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00102">102</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

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

<p>
destructor that deallocates all dynamically allocated private members. 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00140">140</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2decab232c796f7c7d2a182a81ad6d79"></a><!-- doxytag: member="KODayMatrix::setCalendar" ref="2decab232c796f7c7d2a182a81ad6d79" args="(Calendar *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::setCalendar           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/classKCal_1_1Calendar.html">Calendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Associate a calendar with this day matrix. 
<p>
If there is a calendar, the day matrix will accept drops and days with events will be highlighted. 
<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00117">117</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3604d8e9094f4a374810f23fced1de18"></a><!-- doxytag: member="KODayMatrix::updateView" ref="3604d8e9094f4a374810f23fced1de18" args="(const QDate &amp;actdate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::updateView           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>actdate</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
updates the day matrix to start with the given date. 
<p>
Does all the necessary checks for holidays or events on a day and stores them for display later on. Does NOT update the view visually. Call repaint() for this.<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>actdate</em>&nbsp;</td><td>recalculates the day matrix to show NUMDAYS starting from this date. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00217">217</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="4d037fb47a9bf6303588dd4426f6d8c3"></a><!-- doxytag: member="KODayMatrix::updateEvents" ref="4d037fb47a9bf6303588dd4426f6d8c3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::updateEvents           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update event states of dates. 
<p>
Depending of the preferences days with events are highlighted in some way. 
<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00271">271</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f3ef91c1c96150e0d8389c7967b0eaa4"></a><!-- doxytag: member="KODayMatrix::getDate" ref="f3ef91c1c96150e0d8389c7967b0eaa4" args="(int offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QDate &amp; KODayMatrix::getDate           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>offset</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the QDate object associated with day indexed by the supplied offset. 
<p>

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

</div>
</div><p>
<a class="anchor" name="5404780d45bd8b408fb5c2e40985a601"></a><!-- doxytag: member="KODayMatrix::getHolidayLabel" ref="5404780d45bd8b408fb5c2e40985a601" args="(int offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString KODayMatrix::getHolidayLabel           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>offset</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the official name of this holy day or 0 if there is no label for this day. 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00303">303</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b5a488a8b29dd05a328d145ae5e94d8c"></a><!-- doxytag: member="KODayMatrix::addSelectedDaysTo" ref="b5a488a8b29dd05a328d145ae5e94d8c" args="(DateList &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::addSelectedDaysTo           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#3e5daeebfd357711bf15f127f85635ad">DateList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>selDays</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
adds all actual selected days from mSelStart to mSelEnd to the supplied DateList. 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00148">148</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5087ef8d292886719dffb5c06fcbeb3e"></a><!-- doxytag: member="KODayMatrix::setSelectedDaysFrom" ref="5087ef8d292886719dffb5c06fcbeb3e" args="(const QDate &amp;start, const QDate &amp;end)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::setSelectedDaysFrom           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>end</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>
sets the actual to be displayed selection in the day matrix starting from start and ending with end. 
<p>
Theview must be manually updated by calling repaint. (?) 
<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00181">181</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="edc61a492a26dbbbf6cdb94ff4c02159"></a><!-- doxytag: member="KODayMatrix::clearSelection" ref="edc61a492a26dbbbf6cdb94ff4c02159" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::clearSelection           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear all selections. 
<p>

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

</div>
</div><p>
<a class="anchor" name="ae53b67946390b49bd6e6f37b6a081fa"></a><!-- doxytag: member="KODayMatrix::isTodayVisible" ref="ae53b67946390b49bd6e6f37b6a081fa" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KODayMatrix::isTodayVisible           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Is today visible in the view? Keep this in sync with the values today (below) can take. 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8h-source.html#l00170">170</a> of file <a class="el" href="kodaymatrix_8h-source.html">kodaymatrix.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4be2e952b19a1b6496169e0408858507"></a><!-- doxytag: member="KODayMatrix::isBeginningOfMonth" ref="4be2e952b19a1b6496169e0408858507" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KODayMatrix::isBeginningOfMonth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If today is visible, then we can find out if today is near the beginning or the end of the month. 
<p>
This is dependent on today remaining the index in the array of visible dates and going from top left (0) to bottom right (41). 
<p>Definition at line <a class="el" href="kodaymatrix_8h-source.html#l00178">178</a> of file <a class="el" href="kodaymatrix_8h-source.html">kodaymatrix.h</a>.</p>

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

<p>
Recalculates all the flags of the days in the matrix like holidays or events on a day (Actually calls above method with the actual startdate). 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00212">212</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

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

<p>
Calculate which square in the matrix should be hilighted to indicate it's today. 
<p>

<p>Definition at line <a class="el" href="kodaymatrix_8cpp-source.html#l00194">194</a> of file <a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0a811e7eac9bfdbe3a41eb19ecbc433c"></a><!-- doxytag: member="KODayMatrix::selected" ref="0a811e7eac9bfdbe3a41eb19ecbc433c" args="(const KCal::DateList &amp;daylist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::selected           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libkcal.tag:../../libkcal/html/" href="../../libkcal/html/namespaceKCal.html#3e5daeebfd357711bf15f127f85635ad">KCal::DateList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>daylist</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
emitted if the user selects a block of days with the mouse by dragging a rectangle inside the matrix 
<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>daylist</em>&nbsp;</td><td>list of days that have been selected by the user </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="9f24071ebee98c0a641b602366621ca4"></a><!-- doxytag: member="KODayMatrix::incidenceDropped" ref="9f24071ebee98c0a641b602366621ca4" args="(Incidence *incidence, const QDate &amp;dt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::incidenceDropped           </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 QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
emitted if the user has dropped an incidence (event or todo) inside the matrix 
<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>incidence</em>&nbsp;</td><td>the dropped calendar incidence </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>QDate that has been selected </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="204b8ae97c08a2d901e25e4e0324ed2b"></a><!-- doxytag: member="KODayMatrix::incidenceDroppedMove" ref="204b8ae97c08a2d901e25e4e0324ed2b" args="(Incidence *oldincidence, const QDate &amp;dt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KODayMatrix::incidenceDroppedMove           </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>oldincidence</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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
emitted if the user has dropped an event inside the matrix and chose to move it instead of copy 
<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>oldincidence</em>&nbsp;</td><td>the new calendar incidence </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>QDate that has been selected </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kodaymatrix_8h-source.html">kodaymatrix.h</a><li><a class="el" href="kodaymatrix_8cpp-source.html">kodaymatrix.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>