Sophie

Sophie

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

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>kalarm/lib: TimePeriod Class Reference (kalarm/lib)</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="../../html/index.html">kalarm</a> / <a href=".">lib</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>kalarm/lib</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>TimePeriod Class Reference</h1><!-- doxytag: class="TimePeriod" --><!-- doxytag: inherits="QHBox" --><code>#include &lt;<a class="el" href="timeperiod_8h-source.html">timeperiod.h</a>&gt;</code>
<p>
Inherits QHBox.
<p>

<p>
<a href="classTimePeriod-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Time period entry widget. 
<p>
The <a class="el" href="classTimePeriod.html" title="Time period entry widget.">TimePeriod</a> class provides a widget for entering a time period as a number of weeks, days, hours and minutes, or minutes.<p>
It displays a combo box to select the time units (weeks, days, hours and minutes, or minutes) alongside a spin box to enter the number of units. The type of spin box displayed alters according to the units selection: day, week and minute values are entered in a normal spin box, while hours and minutes are entered in a time spin box (with two pairs of spin buttons, one for hours and one for minutes).<p>
The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>David Jarvie &lt;<a href="mailto:software@astrojar.org.uk">software@astrojar.org.uk</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="timeperiod_8h-source.html#l00050">50</a> of file <a class="el" href="timeperiod_8h-source.html">timeperiod.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"><a class="el" href="classTimePeriod.html#44a896a1505900788d5c0c8161ddb520">Units</a> { <b>MINUTES</b>, 
<b>HOURS_MINUTES</b>, 
<b>DAYS</b>, 
<b>WEEKS</b>
 }</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="classTimePeriod.html#2dfbba65af9876427efe5f098218da89">valueChanged</a> (int minutes)</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="classTimePeriod.html#5b150e851ae6520209665792675ca0b4">TimePeriod</a> (bool allowMinute, QWidget *parent, const char *name=0)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#3b6d7d1c4773b106bbddbf8b205156aa">setReadOnly</a> (bool readOnly)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#042e76a0aeda106482ecf28323fe5b2e">setMinutes</a> (int minutes, bool dateOnly, <a class="el" href="classTimePeriod.html#44a896a1505900788d5c0c8161ddb520">Units</a> defaultUnits)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#a392a25d78895e74948aec414c7cc9cf">setDateOnly</a> (bool dateOnly)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#674d769519ab562a78b4793cdd8d08b8">setMaximum</a> (int hourmin, int days)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#1bf220c41f6282d2581ce480e1a99d9d">setSelectOnStep</a> (bool select)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTimePeriod.html#baeb3f429e845765b4cf303261baf08d">setWhatsThis</a> (const QString &amp;units, const QString &amp;dayWeek, const QString &amp;hourMin=QString::null)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1992d74a8207ff2bbc017191dc171712"></a><!-- doxytag: member="TimePeriod::i18n_minutes" ref="1992d74a8207ff2bbc017191dc171712" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_minutes</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa0fc7fc1f83e54c32b610879ff0b54f"></a><!-- doxytag: member="TimePeriod::i18n_Minutes" ref="aa0fc7fc1f83e54c32b610879ff0b54f" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_Minutes</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="312e0411759464812f55b6e39cbd7506"></a><!-- doxytag: member="TimePeriod::i18n_hours_mins" ref="312e0411759464812f55b6e39cbd7506" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_hours_mins</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93d1e7c6b206bdd61b33be0801c00b8f"></a><!-- doxytag: member="TimePeriod::i18n_Hours_Mins" ref="93d1e7c6b206bdd61b33be0801c00b8f" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_Hours_Mins</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32f125181e811420e528c5f53ffcc007"></a><!-- doxytag: member="TimePeriod::i18n_days" ref="32f125181e811420e528c5f53ffcc007" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_days</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="511a97a3fc8946b7799c41a025899d62"></a><!-- doxytag: member="TimePeriod::i18n_Days" ref="511a97a3fc8946b7799c41a025899d62" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_Days</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d45501f565603ff733c741949cdfd37b"></a><!-- doxytag: member="TimePeriod::i18n_weeks" ref="d45501f565603ff733c741949cdfd37b" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_weeks</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea3daa46ad82bede9e71fa19ea70a38"></a><!-- doxytag: member="TimePeriod::i18n_Weeks" ref="eea3daa46ad82bede9e71fa19ea70a38" args="()" -->
static QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>i18n_Weeks</b> ()</td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="44a896a1505900788d5c0c8161ddb520"></a><!-- doxytag: member="TimePeriod::Units" ref="44a896a1505900788d5c0c8161ddb520" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classTimePeriod.html#44a896a1505900788d5c0c8161ddb520">TimePeriod::Units</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Units for the time period. 
<p>
<ul>
<li>MINUTES - the time period is entered as a number of minutes. </li>
<li>HOURS_MINUTES - the time period is entered as an hours/minutes value. </li>
<li>DAYS - the time period is entered as a number of days. </li>
<li>WEEKS - the time period is entered as a number of weeks. </li>
</ul>

<p>Definition at line <a class="el" href="timeperiod_8h-source.html#l00060">60</a> of file <a class="el" href="timeperiod_8h-source.html">timeperiod.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5b150e851ae6520209665792675ca0b4"></a><!-- doxytag: member="TimePeriod::TimePeriod" ref="5b150e851ae6520209665792675ca0b4" args="(bool allowMinute, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TimePeriod::TimePeriod           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>allowMinute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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> = <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>
Constructor. 
<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>allowMinute</em>&nbsp;</td><td>Set false to prevent hours/minutes or minutes from being allowed as units; only days and weeks can ever be used, regardless of other method calls. Set true to allow minutes, hours/minutes, days or weeks as units. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The parent object of this widget. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of this widget. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00053">53</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7ece51cc936d36f71d7004c5ca6e1505"></a><!-- doxytag: member="TimePeriod::isReadOnly" ref="7ece51cc936d36f71d7004c5ca6e1505" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TimePeriod::isReadOnly           </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>
Returns true if the widget is read only. 
<p>

<p>Definition at line <a class="el" href="timeperiod_8h-source.html#l00072">72</a> of file <a class="el" href="timeperiod_8h-source.html">timeperiod.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3b6d7d1c4773b106bbddbf8b205156aa"></a><!-- doxytag: member="TimePeriod::setReadOnly" ref="3b6d7d1c4773b106bbddbf8b205156aa" args="(bool readOnly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setReadOnly           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>readOnly</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets whether the widget is read-only for the user. 
<p>
If read-only, the time period cannot be edited and the units combo box is inactive. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>readOnly</em>&nbsp;</td><td>True to set the widget read-only, false to set it read-write. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00097">97</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

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

<p>
Gets the entered time period expressed in minutes. 
<p>

<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00151">151</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="042e76a0aeda106482ecf28323fe5b2e"></a><!-- doxytag: member="TimePeriod::setMinutes" ref="042e76a0aeda106482ecf28323fe5b2e" args="(int minutes, bool dateOnly, Units defaultUnits)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setMinutes           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>minutes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dateOnly</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classTimePeriod.html#44a896a1505900788d5c0c8161ddb520">TimePeriod::Units</a>&nbsp;</td>
          <td class="paramname"> <em>defaultUnits</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>
Initialises the time period value. 
<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>minutes</em>&nbsp;</td><td>The value of the time period to set, expressed as a number of minutes. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dateOnly</em>&nbsp;</td><td>True to restrict the units available in the combo box to days or weeks. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>defaultUnits</em>&nbsp;</td><td>The units to display initially in the combo box. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00170">170</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="a392a25d78895e74948aec414c7cc9cf"></a><!-- doxytag: member="TimePeriod::setDateOnly" ref="a392a25d78895e74948aec414c7cc9cf" args="(bool dateOnly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setDateOnly           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dateOnly</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables or disables minutes and hours/minutes units in the combo box. 
<p>
To disable minutes and hours/minutes, set <code>dateOnly</code> true; to enable minutes and hours/minutes, set <code>dateOnly</code> false. But note that minutes and hours/minutes cannot be enabled if it was disallowed in the constructor. 
<p>Definition at line <a class="el" href="timeperiod_8h-source.html#l00091">91</a> of file <a class="el" href="timeperiod_8h-source.html">timeperiod.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="674d769519ab562a78b4793cdd8d08b8"></a><!-- doxytag: member="TimePeriod::setMaximum" ref="674d769519ab562a78b4793cdd8d08b8" args="(int hourmin, int days)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setMaximum           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>hourmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>days</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 maximum values for the minutes and hours/minutes, and days/weeks spin boxes. 
<p>
Set <code>hourmin</code> = 0 to leave the minutes and hours/minutes maximum unchanged. 
<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00130">130</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="1bf220c41f6282d2581ce480e1a99d9d"></a><!-- doxytag: member="TimePeriod::setSelectOnStep" ref="1bf220c41f6282d2581ce480e1a99d9d" args="(bool select)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setSelectOnStep           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>select</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets whether the editor text is to be selected whenever spin buttons are clicked. 
<p>
The default is to select it. 
<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00112">112</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

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

<p>
Sets the input focus to the count field. 
<p>

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

</div>
</div><p>
<a class="anchor" name="baeb3f429e845765b4cf303261baf08d"></a><!-- doxytag: member="TimePeriod::setWhatsThis" ref="baeb3f429e845765b4cf303261baf08d" args="(const QString &amp;units, const QString &amp;dayWeek, const QString &amp;hourMin=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::setWhatsThis           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>units</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>dayWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>hourMin</em> = <code>QString::null</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>
Sets separate WhatsThis texts for the count spin boxes and the units combo box. 
<p>
If <code>hourMin</code> is omitted, both spin boxes are set to the same WhatsThis text. 
<p>Definition at line <a class="el" href="timeperiod_8cpp-source.html#l00379">379</a> of file <a class="el" href="timeperiod_8cpp-source.html">timeperiod.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2dfbba65af9876427efe5f098218da89"></a><!-- doxytag: member="TimePeriod::valueChanged" ref="2dfbba65af9876427efe5f098218da89" args="(int minutes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TimePeriod::valueChanged           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>minutes</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This signal is emitted whenever the value held in the widget changes. 
<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>minutes</em>&nbsp;</td><td>The current value of the time period, expressed in minutes. </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="timeperiod_8h-source.html">timeperiod.h</a><li><a class="el" href="timeperiod_8cpp-source.html">timeperiod.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>kalarm/lib</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="classButtonGroup.html">buttongroup</option>,  <option value="classCheckBox.html">checkbox</option>,  <option value="classColourCombo.html">colourcombo</option>,  <option value="classColourList.html">colourlist</option>,  <option value="classComboBox.html">combobox</option>,  <option value="classDailyTimer.html">dailytimer</option>,  <option value="classDateEdit.html">dateedit</option>,  <option value="classDateTime.html">datetime</option>,  <option value="classLabel.html">label</option>,  <option value="classLineEdit.html">lineedit</option>,  <option value="classMessageBox.html">messagebox</option>,  <option value="classMidnightTimer.html">midnighttimer</option>,  <option value="classMinuteTimer.html">minutetimer</option>,  <option value="classPushButton.html">pushbutton</option>,  <option value="classRadioButton.html">radiobutton</option>,  <option value="classShellProcess.html">shellprocess</option>,  <option value="classSlider.html">slider</option>,  <option value="classSpinBox.html">spinbox</option>,  <option value="classSpinBox2.html">spinbox2</option>,  <option value="classSynchTimer.html">synchtimer</option>,  <option value="classTimeEdit.html">timeedit</option>,  <option value="classTimePeriod.html">timeperiod</option>,  <option value="classTimeSpinBox.html">timespinbox</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>