Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 110492f5122731329f0db69a1df590c3 > files > 2256

kdepimlibs-apidocs-4.10.5-1.fc18.noarch.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" xml:lang="en">
<head>
  <title>KAlarmCal::Repetition Class Reference</title>
<style type="text/css">
  .cp-doNotDisplay { display: none; }
  @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }}
  .cp-edit { text-align: right; }
  @media print, embossed { .cp-edit { display: none; }}
</style>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <link rel="meta" href="http://www.kde.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
  <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" />
  <meta name="no-email-collection" content="http://www.unspam.com/noemailcollection" />
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="dynsections.js"></script>
  <link rel="shortcut icon" href="../../favicon.ico" /><link rel="icon" href="../../favicon.ico" />
  <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../../kde.css" />
  <link rel="stylesheet" media="print, embossed" type="text/css" href="../../print.css" />
  <link rel="stylesheet" media="screen, aural, handheld, tty, braille" type="text/css" title="Flat" href="../../flat.css" />
  <link rel="stylesheet" type="text/css" href="../../doxygen.css" />
  <link rel="stylesheet" type="text/css" href="../../tabs.css" />
</head>
<body>
<ul class="cp-doNotDisplay">
  <li><a href="#cp-content" accesskey="2">Skip to content</a></li>
  <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li>
</ul>
<div id="container">
<div id="header">
  <div id="header_top"><div><div>
    <img alt ="" src="../../top-kde.jpg"/>
    </div></div></div>
  <div id="header_bottom">
    <div id="location">
      <ul>
        <li><a href="http://api.kde.org">KDE API Reference</a></li>
        <li><a href="../../index.html">kdepimlibs-4.10.5 API Reference</a></li>
      </ul>
    </div>
    <div id="menu">
<ul>
<li><a href="http://www.kde.org/">KDE Home</a></li>
<li><a href="http://kde.org/contact/">Contact Us</a></li>
</ul>
</div>
</div>
</div>
<!-- End page header -->
    <div id="body_wrapper">
      <div id="body">
        <!-- begin main content -->
        <div id="right">
          <div class="content">
          <div id="main">
            <div class="clearer">&nbsp;</div>
<h2><a name="content"></a>KAlarm Library</h2>
<!-- BC -->
<div id="top">
<!-- Generated by Doxygen 1.8.3.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>KAlarmCal</b></li><li class="navelem"><a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classKAlarmCal_1_1Repetition-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">KAlarmCal::Repetition Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="repetition_8h_source.html">repetition.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a19bbde0b44b9f16b655e0d08b5a5855e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a19bbde0b44b9f16b655e0d08b5a5855e">Repetition</a> ()</td></tr>
<tr class="separator:a19bbde0b44b9f16b655e0d08b5a5855e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9738d93ed327839abaa7321fe59fe2f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a9738d93ed327839abaa7321fe59fe2f3">Repetition</a> (const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;<a class="el" href="classKAlarmCal_1_1Repetition.html#adf8a06f30238e8fe740f58f73abfd796">interval</a>, int <a class="el" href="classKAlarmCal_1_1Repetition.html#a204d698bc8ecb3148d13ff69f4dfe0f7">count</a>)</td></tr>
<tr class="separator:a9738d93ed327839abaa7321fe59fe2f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3b5557e41252b5d398e91e4458bb6cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3b5557e41252b5d398e91e4458bb6cc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Repetition</b> (const <a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a> &amp;other)</td></tr>
<tr class="separator:aa3b5557e41252b5d398e91e4458bb6cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204d698bc8ecb3148d13ff69f4dfe0f7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a204d698bc8ecb3148d13ff69f4dfe0f7">count</a> () const </td></tr>
<tr class="separator:a204d698bc8ecb3148d13ff69f4dfe0f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacb2d0a6838a7451bbcdcf2c6e91b88e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#aacb2d0a6838a7451bbcdcf2c6e91b88e">duration</a> () const </td></tr>
<tr class="separator:aacb2d0a6838a7451bbcdcf2c6e91b88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36ac912022b38bb8e35bd618081e028"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#af36ac912022b38bb8e35bd618081e028">duration</a> (int <a class="el" href="classKAlarmCal_1_1Repetition.html#a204d698bc8ecb3148d13ff69f4dfe0f7">count</a>) const </td></tr>
<tr class="separator:af36ac912022b38bb8e35bd618081e028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8a06f30238e8fe740f58f73abfd796"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#adf8a06f30238e8fe740f58f73abfd796">interval</a> () const </td></tr>
<tr class="separator:adf8a06f30238e8fe740f58f73abfd796"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a236870c5cc3963c8f15ed7c60dd65f0d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a236870c5cc3963c8f15ed7c60dd65f0d">intervalDays</a> () const </td></tr>
<tr class="separator:a236870c5cc3963c8f15ed7c60dd65f0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c6271efc10e6fc5c13207d47e5beb69"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a6c6271efc10e6fc5c13207d47e5beb69">intervalMinutes</a> () const </td></tr>
<tr class="separator:a6c6271efc10e6fc5c13207d47e5beb69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07c0cfad3b9fbe73203eb43a0dba1ad9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a07c0cfad3b9fbe73203eb43a0dba1ad9">intervalSeconds</a> () const </td></tr>
<tr class="separator:a07c0cfad3b9fbe73203eb43a0dba1ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc55309792b90ab9cb68050891a494b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#acc55309792b90ab9cb68050891a494b9">isDaily</a> () const </td></tr>
<tr class="separator:acc55309792b90ab9cb68050891a494b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e4ac6424bdb0bfa4d6eab26b8ef4ec"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#ab4e4ac6424bdb0bfa4d6eab26b8ef4ec">nextRepeatCount</a> (const KDateTime &amp;from, const KDateTime &amp;preDateTime) const </td></tr>
<tr class="separator:ab4e4ac6424bdb0bfa4d6eab26b8ef4ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a113dc3ff209c4463abe47550acc492cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a113dc3ff209c4463abe47550acc492cd">operator bool</a> () const </td></tr>
<tr class="separator:a113dc3ff209c4463abe47550acc492cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12c9e9f7a47f3fd509284499bb825054"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a12c9e9f7a47f3fd509284499bb825054">operator!</a> () const </td></tr>
<tr class="separator:a12c9e9f7a47f3fd509284499bb825054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dff768c33635c343a5bec15b874e69a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0dff768c33635c343a5bec15b874e69a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a> &amp;r) const </td></tr>
<tr class="separator:a0dff768c33635c343a5bec15b874e69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088dca5c9c3a40aaca98981319a8c0aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a088dca5c9c3a40aaca98981319a8c0aa"></a>
<a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a> &amp;other)</td></tr>
<tr class="separator:a088dca5c9c3a40aaca98981319a8c0aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb533160b0da0b6303ef75ef7b6ebf4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aabb533160b0da0b6303ef75ef7b6ebf4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classKAlarmCal_1_1Repetition.html">Repetition</a> &amp;r) const </td></tr>
<tr class="separator:aabb533160b0da0b6303ef75ef7b6ebf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b479aa9adbebc69589c3601ef886c0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a71b479aa9adbebc69589c3601ef886c0">previousRepeatCount</a> (const KDateTime &amp;from, const KDateTime &amp;afterDateTime) const </td></tr>
<tr class="separator:a71b479aa9adbebc69589c3601ef886c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0438409782ff83b7082c194479fcfd26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a0438409782ff83b7082c194479fcfd26">set</a> (const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;<a class="el" href="classKAlarmCal_1_1Repetition.html#adf8a06f30238e8fe740f58f73abfd796">interval</a>, int <a class="el" href="classKAlarmCal_1_1Repetition.html#a204d698bc8ecb3148d13ff69f4dfe0f7">count</a>)</td></tr>
<tr class="separator:a0438409782ff83b7082c194479fcfd26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ef9c1257d978595386fa35d887b6d98"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKAlarmCal_1_1Repetition.html#a6ef9c1257d978595386fa35d887b6d98">set</a> (const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;<a class="el" href="classKAlarmCal_1_1Repetition.html#adf8a06f30238e8fe740f58f73abfd796">interval</a>)</td></tr>
<tr class="separator:a6ef9c1257d978595386fa35d887b6d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a sub-repetition, defined by interval and repeat count. </p>
<p>The <a class="el" href="classKAlarmCal_1_1Repetition.html" title="Represents a sub-repetition, defined by interval and repeat count.">Repetition</a> class represents a sub-repetition, storing its interval and repeat count. The repeat count is the number of repetitions after the first occurrence.</p>
<dl class="section author"><dt>Author</dt><dd>David Jarvie <a href="#" onclick="location.href='mai'+'lto:'+'dja'+'rv'+'ie@'+'kd'+'e.o'+'rg'; return false;">djarv<span style="display: none;">.nosp@m.</span>ie@k<span style="display: none;">.nosp@m.</span>de.or<span style="display: none;">.nosp@m.</span>g</a> </dd></dl>

<p>Definition at line <a class="el" href="repetition_8h_source.html#l00047">47</a> of file <a class="el" href="repetition_8h_source.html">repetition.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a19bbde0b44b9f16b655e0d08b5a5855e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KAlarmCal::Repetition::Repetition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>Initialises to no repetition. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00054">54</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9738d93ed327839abaa7321fe59fe2f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KAlarmCal::Repetition::Repetition </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;&#160;</td>
          <td class="paramname"><em>interval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Initialises with the specified <code>interval</code> and <code>count</code>. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00059">59</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a204d698bc8ecb3148d13ff69f4dfe0f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the number of repetitions. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00115">115</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aacb2d0a6838a7451bbcdcf2c6e91b88e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">Duration</a> KAlarmCal::Repetition::duration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the overall duration of the repetition. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00125">125</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af36ac912022b38bb8e35bd618081e028"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">Duration</a> KAlarmCal::Repetition::duration </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the overall duration of a specified number of repetitions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>the number of repetitions to find the duration of. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00130">130</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adf8a06f30238e8fe740f58f73abfd796"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">Duration</a> KAlarmCal::Repetition::interval </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the interval between repetitions. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00120">120</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a236870c5cc3963c8f15ed7c60dd65f0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::intervalDays </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the repetition interval in terms of days. </p>
<p>If necessary, the interval is rounded down to a whole number of days. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00140">140</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6c6271efc10e6fc5c13207d47e5beb69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::intervalMinutes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the repetition interval in terms of minutes. </p>
<p>If necessary, the interval is rounded down to a whole number of minutes. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00145">145</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a07c0cfad3b9fbe73203eb43a0dba1ad9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::intervalSeconds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the repetition interval in terms of seconds. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00150">150</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acc55309792b90ab9cb68050891a494b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KAlarmCal::Repetition::isDaily </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check whether the repetition interval is in terms of days (as opposed to minutes). </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00135">135</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab4e4ac6424bdb0bfa4d6eab26b8ef4ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::nextRepeatCount </td>
          <td>(</td>
          <td class="paramtype">const KDateTime &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KDateTime &amp;&#160;</td>
          <td class="paramname"><em>preDateTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find the repetition count for the next repetition after a specified time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td>repetition start time, which should not be a date-only value </td></tr>
    <tr><td class="paramname">preDateTime</td><td>time after which the desired repetition occurs </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00155">155</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a113dc3ff209c4463abe47550acc492cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KAlarmCal::Repetition::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether a repetition is defined. </p>
<dl class="section return"><dt>Returns</dt><dd>true if a repetition is defined, false if not. </dd></dl>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00105">105</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a12c9e9f7a47f3fd509284499bb825054"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool KAlarmCal::Repetition::operator! </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns whether no repetition is defined. </p>
<dl class="section return"><dt>Returns</dt><dd>false if a repetition is defined, true if not. </dd></dl>

<p>Definition at line <a class="el" href="repetition_8h_source.html#l00103">103</a> of file <a class="el" href="repetition_8h_source.html">repetition.h</a>.</p>

</div>
</div>
<a class="anchor" id="a71b479aa9adbebc69589c3601ef886c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KAlarmCal::Repetition::previousRepeatCount </td>
          <td>(</td>
          <td class="paramtype">const KDateTime &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KDateTime &amp;&#160;</td>
          <td class="paramname"><em>afterDateTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find the repetition count for the last repetition before a specified time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td>repetition start time, which should not be a date-only value </td></tr>
    <tr><td class="paramname">afterDateTime</td><td>time after which the desired repetition occurs </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00162">162</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0438409782ff83b7082c194479fcfd26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KAlarmCal::Repetition::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;&#160;</td>
          <td class="paramname"><em>interval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialises the instance with the specified <code>interval</code> and <code>count</code>. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00081">81</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6ef9c1257d978595386fa35d887b6d98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KAlarmCal::Repetition::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="kcalcore.tag:../../kcalcore/html/" href="../../kcalcore/html/classKCalCore_1_1Duration.html">KCalCore::Duration</a> &amp;&#160;</td>
          <td class="paramname"><em>interval</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the <code>interval</code>. </p>
<p>The repetition count is unchanged unless The repetition count is set to zero if <code>interval</code> is zero; otherwise the repetition count is unchanged. </p>

<p>Definition at line <a class="el" href="repetition_8cpp_source.html#l00095">95</a> of file <a class="el" href="repetition_8cpp_source.html">repetition.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="repetition_8h_source.html">repetition.h</a></li>
<li><a class="el" href="repetition_8cpp_source.html">repetition.cpp</a></li>
</ul>
</div><!-- contents -->
<div class="copyrights">
This file is part of the KDE documentation.<br/>
Documentation copyright &copy; 1996-2013 The KDE developers.<br/>
Generated on Fri Jul 12 2013 16:49:52 by
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.3.1 written
by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2006
<p>
KDE's <a href="http://techbase.kde.org/Policies/Library_Documentation_Policy">Doxygen guidelines</a> are available online.
</p>
</div>
            </div>
          </div>
        </div>
        <div id="left">
          <div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">KAlarm Library</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KAlarm Library"</a>
</div></div>
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li><li><a href="pages.html">Related Pages</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="classKAlarmCal_1_1AlarmText.html">kalarmcal::alarmtext</option>,  <option value="classKAlarmCal_1_1CollectionAttribute.html">kalarmcal::collectionattribute</option>,  <option value="classKAlarmCal_1_1CompatibilityAttribute.html">kalarmcal::compatibilityattribute</option>,  <option value="classKAlarmCal_1_1DateTime.html">kalarmcal::datetime</option>,  <option value="classKAlarmCal_1_1EventAttribute.html">kalarmcal::eventattribute</option>,  <option value="classKAlarmCal_1_1KAAlarm.html">kalarmcal::kaalarm</option>,  <option value="classKAlarmCal_1_1KAEvent.html">kalarmcal::kaevent</option>,  <option value="classKAlarmCal_1_1KARecurrence.html">kalarmcal::karecurrence</option>,  <option value="classKAlarmCal_1_1Repetition.html">kalarmcal::repetition</option>,
</select>
</form>
</div>
-->
<div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">kdepimlibs-4.10.5 API Reference</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kdepimlibs-4.10.5 API Reference"</a>
</div></div>
<div class="nav_list">
<ul>
<li><a href="../../akonadi/html/index.html">akonadi</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/contact/html/index.html">contact</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/kmime/html/index.html">kmime</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/socialutils/html/index.html">socialutils</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kalarmcal/html/index.html">kalarmcal</a></li><li><a href="../../kblog/html/index.html">kblog</a></li><li><a href="../../kcal/html/index.html">kcal</a></li><li><a href="../../kcalcore/html/index.html">kcalcore</a></li><li><a href="../../kcalutils/html/index.html">kcalutils</a></li><li><a href="../../kholidays/html/index.html">kholidays</a></li><li><a href="../../kimap/html/index.html">kimap</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/mbox/html/index.html">mbox</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/nntp/html/index.html">nntp</a></li><li><a href="../../kldap/html/index.html">kldap</a></li><li><a href="../../kmbox/html/index.html">kmbox</a></li><li><a href="../../kmime/html/index.html">kmime</a></li><li><a href="../../kontactinterface/html/index.html">kontactinterface</a></li><li><a href="../../kpimidentities/html/index.html">kpimidentities</a></li><li><a href="../../kpimtextedit/html/index.html">kpimtextedit</a></li><li><a href="../../kpimutils/html/index.html">kpimutils</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../ktnef/html/index.html">ktnef</a></li><li><a href="../../kxmlrpcclient/html/index.html">kxmlrpcclient</a></li><li><a href="../../mailtransport/html/index.html">mailtransport</a></li><li><a href="../../microblog/html/index.html">microblog</a></li><li><a href="../../qgpgme/html/index.html">qgpgme</a></li><li><a href="../../syndication/html/index.html">syndication</a></li><li>&nbsp;&nbsp;<a href="../../syndication/atom/html/index.html">atom</a></li><li>&nbsp;&nbsp;<a href="../../syndication/rdf/html/index.html">rdf</a></li><li>&nbsp;&nbsp;<a href="../../syndication/rss2/html/index.html">rss2</a></li>
</ul></div></div>
<!-- api_searchbox -->
          </div>
        </div>
        <div class="clearer"></div>
      </div>
      <div class="clearer"></div>
    </div>
    <div id="end_body"></div>
    <div id="footer"><div id="footer_text">
    Report problems with this website to <a href="https://bugs.kde.org/enter_sysadmin_request.cgi?component=api.kde.org">our bug tracking system</a>.<br>
    Contact the specific authors with questions and comments about the page contents.<p>
    KDE<sup>&#174;</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
        <a href="http://www.kde.org/contact/impressum.php">Legal</a></p>
    </div></div>
  </div>
<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-45abe0e0c3bebc77@kde.org">Block me</a>
WARNING END
-->
</body>
</html>