Sophie

Sophie

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

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>kaddressbook: CardViewItem Class Reference (kaddressbook)</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=".">kaddressbook</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>kaddressbook</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>CardViewItem Class Reference</h1><!-- doxytag: class="CardViewItem" --><code>#include &lt;<a class="el" href="cardview_8h-source.html">cardview.h</a>&gt;</code>
<p>
Inherited by AddresseeCardViewItem.
<p>

<p>
<a href="classCardViewItem-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Represents a single card (item) in the card view. 
<p>
A card has a caption and a list of fields. A Field is a label&lt;-&gt;value pair. The labels in a card should be unique, since they will be used to index the values. 
<p>Definition at line <a class="el" href="cardview_8h-source.html#l00049">49</a> of file <a class="el" href="cardview_8h-source.html">cardview.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">typedef QPair&lt; QString, QString &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#64edc13a210195015b47cc0a75d952a3">Field</a></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="classCardViewItem.html#398692c20979732eb1bff3727d5dce18">CardViewItem</a> (<a class="el" href="classCardView.html">CardView</a> *parent, const QString &amp;caption=QString())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const QString &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#0371565b6a017b095de97c647a6395f3">caption</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="classCardViewItem.html#028494c622b5ea9c313fc23aded286c3">setCaption</a> (const QString &amp;caption)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#29cdded8fac77fe6e05fcd1414ed1806">paintCard</a> (QPainter *p, QColorGroup &amp;cg)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#aba1c512f7d37344837853eebc148d9b">insertField</a> (const QString &amp;label, const QString &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#432b161dc06ef6c8a070ace5cb942bdd">removeField</a> (const QString &amp;label)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#95d836dca6fe2f67801ff99742edd5f3">fieldValue</a> (const QString &amp;label) const </td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html">CardViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#0f7608325b216600e73665da5c54bae1">nextItem</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="classCardViewItem.html#25e672791e143a906955fdb41726e41d">isSelected</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="classCardViewItem.html#c4014dce8e9f1d6214c79248d4ccc33e">showFullString</a> (const QPoint &amp;pos, CardViewTip *tip)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCardViewItem.html#64edc13a210195015b47cc0a75d952a3">Field</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#9f238dd80f7e449e2ab532bf2ee67a33">fieldAt</a> (const QPoint &amp;itempos) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d59af63d7e56eee4f374924a2f5cc21e"></a><!-- doxytag: member="CardViewItem::cardView" ref="d59af63d7e56eee4f374924a2f5cc21e" args="() const " -->
<a class="el" href="classCardView.html">CardView</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>cardView</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#9b09c9e28c08daaef572e43cc3f3aa82">height</a> (bool allowCache=true) const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#7ced93bc42ccd33d38560a9c84ff32a1">setSelected</a> (bool selected)</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffcf84b19290a67c37257b3c476e857e"></a><!-- doxytag: member="CardViewItem::CardView" ref="ffcf84b19290a67c37257b3c476e857e" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCardViewItem.html#ffcf84b19290a67c37257b3c476e857e">CardView</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="64edc13a210195015b47cc0a75d952a3"></a><!-- doxytag: member="CardViewItem::Field" ref="64edc13a210195015b47cc0a75d952a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QPair&lt;QString, QString&gt; <a class="el" href="classCardViewItem.html#64edc13a210195015b47cc0a75d952a3">CardViewItem::Field</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A single field in the card view. 
<p>
The first item is the label and the second item is the value. 
<p>Definition at line <a class="el" href="cardview_8h-source.html#l00058">58</a> of file <a class="el" href="cardview_8h-source.html">cardview.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="398692c20979732eb1bff3727d5dce18"></a><!-- doxytag: member="CardViewItem::CardViewItem" ref="398692c20979732eb1bff3727d5dce18" args="(CardView *parent, const QString &amp;caption=QString())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CardViewItem::CardViewItem           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCardView.html">CardView</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>caption</em> = <code>QString()</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>parent</em>&nbsp;</td><td>The <a class="el" href="classCardView.html" title="The CardView is a method of displaying data in cards.">CardView</a> that this card should be displayed on. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>caption</em>&nbsp;</td><td>The caption of the card. This is the text that will appear at the top of the card. This is also the string that will be used to sort the cards in the view. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00195">195</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0371565b6a017b095de97c647a6395f3"></a><!-- doxytag: member="CardViewItem::caption" ref="0371565b6a017b095de97c647a6395f3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QString &amp; CardViewItem::caption           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The caption of the card, or QString::null if none was ever set. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00326">326</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="028494c622b5ea9c313fc23aded286c3"></a><!-- doxytag: member="CardViewItem::setCaption" ref="028494c622b5ea9c313fc23aded286c3" args="(const QString &amp;caption)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::setCaption           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>caption</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the caption of the card. 
<p>
This is the text that will appear at the top of the card. This is also the string that will be used to sort the cards in the view. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00457">457</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="29cdded8fac77fe6e05fcd1414ed1806"></a><!-- doxytag: member="CardViewItem::paintCard" ref="29cdded8fac77fe6e05fcd1414ed1806" args="(QPainter *p, QColorGroup &amp;cg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::paintCard           </td>
          <td>(</td>
          <td class="paramtype">QPainter *&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QColorGroup &amp;&nbsp;</td>
          <td class="paramname"> <em>cg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Paints the card using the given painter and color group. 
<p>
The card will handle painting itself selected if it is selected. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00225">225</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

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

<p>
Repaints the card. 
<p>
This is done by sending a repaint event to the view with the clip rect defined as this card. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00451">451</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="aba1c512f7d37344837853eebc148d9b"></a><!-- doxytag: member="CardViewItem::insertField" ref="aba1c512f7d37344837853eebc148d9b" args="(const QString &amp;label, const QString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::insertField           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>value</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>
Adds a field to the card. 
<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>label</em>&nbsp;</td><td>The label of the field. The field labels must be unique within a card. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value of the field. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00378">378</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="432b161dc06ef6c8a070ace5cb942bdd"></a><!-- doxytag: member="CardViewItem::removeField" ref="432b161dc06ef6c8a070ace5cb942bdd" args="(const QString &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::removeField           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Removes the field with label <em>label</em> from the card. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00390">390</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="95d836dca6fe2f67801ff99742edd5f3"></a><!-- doxytag: member="CardViewItem::fieldValue" ref="95d836dca6fe2f67801ff99742edd5f3" args="(const QString &amp;label) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CardViewItem::fieldValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>label</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of the field with label <em>label</em>. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00463">463</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

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

<p>
Removes all the fields from this card. 
<p>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00409">409</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0f7608325b216600e73665da5c54bae1"></a><!-- doxytag: member="CardViewItem::nextItem" ref="0f7608325b216600e73665da5c54bae1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html">CardViewItem</a> * CardViewItem::nextItem           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The next card item. The order of the items will be the same as the display order in the view. 0 will be returned if this is the last card. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00441">441</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="25e672791e143a906955fdb41726e41d"></a><!-- doxytag: member="CardViewItem::isSelected" ref="25e672791e143a906955fdb41726e41d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CardViewItem::isSelected           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if this card is currently selected, false otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00368">368</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c4014dce8e9f1d6214c79248d4ccc33e"></a><!-- doxytag: member="CardViewItem::showFullString" ref="c4014dce8e9f1d6214c79248d4ccc33e" args="(const QPoint &amp;pos, CardViewTip *tip)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::showFullString           </td>
          <td>(</td>
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CardViewTip *&nbsp;</td>
          <td class="paramname"> <em>tip</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>
Called by the parent card view when the mouse has been resting for a certain amount of time. 
<p>
If the label or value at pos is obscured (trimmed) make the label display the full text. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00474">474</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="9f238dd80f7e449e2ab532bf2ee67a33"></a><!-- doxytag: member="CardViewItem::fieldAt" ref="9f238dd80f7e449e2ab532bf2ee67a33" args="(const QPoint &amp;itempos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCardViewItem.html#64edc13a210195015b47cc0a75d952a3">CardViewItem::Field</a> * CardViewItem::fieldAt           </td>
          <td>(</td>
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
          <td class="paramname"> <em>itempos</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to the Field at the position itempos in this item. 0 is returned if itempos is in the caption. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>itempos</em>&nbsp;</td><td>the position in item coordinates </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00549">549</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="9b09c9e28c08daaef572e43cc3f3aa82"></a><!-- doxytag: member="CardViewItem::height" ref="9b09c9e28c08daaef572e43cc3f3aa82" args="(bool allowCache=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CardViewItem::height           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>allowCache</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The height of this item as rendered, in pixels.</dd></dl>
if <code>allowCache</code> is true, the item may use an internally cached value rather than recalculating from scratch. The argument is mainly to allow the cardView to change global settings (like maxFieldLines) that might influence the items heights 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00332">332</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ced93bc42ccd33d38560a9c84ff32a1"></a><!-- doxytag: member="CardViewItem::setSelected" ref="7ced93bc42ccd33d38560a9c84ff32a1" args="(bool selected)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CardViewItem::setSelected           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>selected</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the card as selected. 
<p>
This is usually only called from the card view. 
<p>Definition at line <a class="el" href="cardview_8cpp-source.html#l00373">373</a> of file <a class="el" href="cardview_8cpp-source.html">cardview.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="cardview_8h-source.html">cardview.h</a><li><a class="el" href="cardview_8cpp-source.html">cardview.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>kaddressbook</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><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="classAddressEditDialog.html">addresseditdialog</option>,  <option value="classAddressEditWidget.html">addresseditwidget</option>,  <option value="classAddresseeUtil.html">addresseeutil</option>,  <option value="classAddressTypeDialog.html">addresstypedialog</option>,  <option value="classAddViewDialog.html">addviewdialog</option>,  <option value="classCardView.html">cardview</option>,  <option value="classCardViewItem.html">cardviewitem</option>,  <option value="classCardViewLookNFeelPage.html">cardviewlooknfeelpage</option>,  <option value="classConfigureCardViewWidget.html">configurecardviewwidget</option>,  <option value="classConfigureTableViewWidget.html">configuretableviewwidget</option>,  <option value="classDateParser.html">dateparser</option>,  <option value="classDistributionListView.html">distributionlistview</option>,  <option value="classDynamicTip.html">dynamictip</option>,  <option value="classEmailEditWidget.html">emaileditwidget</option>,  <option value="classEmailSelector.html">emailselector</option>,  <option value="classFilter.html">filter</option>,  <option value="classFilterSelectionWidget.html">filterselectionwidget</option>,  <option value="classIMAddressLVI.html">imaddresslvi</option>,  <option value="classIMAddressWidget.html">imaddresswidget</option>,  <option value="classImageButton.html">imagebutton</option>,  <option value="classImageLoader.html">imageloader</option>,  <option value="classIMEditorWidget.html">imeditorwidget</option>,  <option value="classIMEditWidget.html">imeditwidget</option>,  <option value="classJumpButtonBar.html">jumpbuttonbar</option>,  <option value="classKABPrinting_1_1PrintingWizard.html">kabprinting::printingwizard</option>,  <option value="classKABPrinting_1_1PrintProgress.html">kabprinting::printprogress</option>,  <option value="classKABPrinting_1_1PrintStyle.html">kabprinting::printstyle</option>,  <option value="classKABPrinting_1_1PrintStyleFactory.html">kabprinting::printstylefactory</option>,  <option value="classKAddressBookCardView.html">kaddressbookcardview</option>,  <option value="classKAddressBookIconView.html">kaddressbookiconview</option>,  <option value="classKAddressBookMain.html">kaddressbookmain</option>,  <option value="classKAddressBookTableView.html">kaddressbooktableview</option>,  <option value="classKAddressBookView.html">kaddressbookview</option>,  <option value="classLookAndFeelPage.html">lookandfeelpage</option>,  <option value="classNameEditDialog.html">nameeditdialog</option>,  <option value="classPhoneEditWidget.html">phoneeditwidget</option>,  <option value="classPhoneTypeDialog.html">phonetypedialog</option>,  <option value="classTypeCombo.html">typecombo</option>,  <option value="classViewConfigureWidget.html">viewconfigurewidget</option>,  <option value="classViewManager.html">viewmanager</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>