Sophie

Sophie

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

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>kpilot/kpilot: ListCategorizer Class Reference (kpilot/kpilot)</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">kpilot</a> / <a href=".">kpilot</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>kpilot/kpilot</h2>


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

<p>
<a href="classListCategorizer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This Widget extends KListView for a particular purpose: sorting some items into some bins. 
<p>
This can be useful for putting items in an enabled / disabled state, or into categories, or configuring toolbars (putting icons onto toolbars).<p>
You can use all of the standard KListView signals and slots. You may in particular want to change the names of the columns, for example: <div class="fragment"><pre class="fragment"> <a class="code" href="classListCategorizer.html" title="This Widget extends KListView for a particular purpose: sorting some items into some...">ListCategorizer</a> *lc = <span class="keyword">new</span> <a class="code" href="classListCategorizer.html#21e25cb4cb87b7ace520d7729deca722" title="Constructor.">ListCategorizer</a>(<span class="keyword">this</span>,colors);
 lc-&gt;setColumnText(0,i18n(<span class="stringliteral">"Color"</span>));
 lc-&gt;setColumnText(1,i18n(<span class="stringliteral">"HTML"</span>));
 QListViewItem *stdKDE = lc-&gt;<a class="code" href="classListCategorizer.html#af052e8978eb7dee132701461bbc8e2a" title="Add a category with name name and optional description.">addCategory</a>(i18n(<span class="stringliteral">"Standard KDE"</span>));
 (void) <span class="keyword">new</span> QListViewItem(stdKDE,i18n(<span class="stringliteral">"red"</span>),<span class="stringliteral">"#FF0000"</span>);
</pre></div> to set sensible column headers for a list of colors and their HTML equivalents (although why you would want to categorize colors is beyond me).<p>
<dl class="version" compact><dt><b>Version:</b></dt><dd></dd></dl>
<dl class="rcs" compact><dt><b>Id</b></dt><dd><a class="el" href="listCat_8h.html" title="This is a specialization of KListView to allow the user to DnD a fixed set of objects...">listCat.h</a> 437980 2005-07-23 19:53:57Z kainhofe </dd></dl>

<p>Definition at line <a class="el" href="listCat_8h-source.html#l00064">64</a> of file <a class="el" href="listCat_8h-source.html">listCat.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="classListCategorizer.html#21e25cb4cb87b7ace520d7729deca722">ListCategorizer</a> (QWidget *parent, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#99da153c966c5c090cf888af5b88a845">ListCategorizer</a> (const QStringList &amp;categories, bool startOpen, QWidget *parent, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#484ee2ca0c1f3705a4dee1f859e99800">addCategories</a> (const QStringList &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QListViewItem *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#af052e8978eb7dee132701461bbc8e2a">addCategory</a> (const QString &amp;name, const QString &amp;description=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#3220ebb259d0a8a6127477151b4b2d05">categories</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QListViewItem *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#1de9c2b57c98f057bcfdeec354fbf5ef">addItem</a> (const QString &amp;category, const QString &amp;name, const QString &amp;description=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#ae08ad3fdee766d6e8225c1153f99fca">items</a> (const QString &amp;category, int column=0) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QListViewItem *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#262937f36794286900a6043d5a6f6126">findCategory</a> (const QString &amp;categoryName) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#e359ecd994f43b206209618c7fa0d777">listSiblings</a> (const QListViewItem *p, int column=0) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#96c28dc362fcd9648458069c07722092">startOpen</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="classListCategorizer.html#852b19629679ce8a626e7733a3c90301">setStartOpen</a> (bool b)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#9cd28f9f0e6d8fccef06cb0b64204a4b">acceptDrag</a> (QDropEvent *event) 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="classListCategorizer.html#2bbab08b8623844b2a388b2ab1d3432b">startDrag</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListCategorizer.html#b1dcf7332fa662f10400e825772fcd57">contentsDropEvent</a> (QDropEvent *)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="21e25cb4cb87b7ace520d7729deca722"></a><!-- doxytag: member="ListCategorizer::ListCategorizer" ref="21e25cb4cb87b7ace520d7729deca722" args="(QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ListCategorizer::ListCategorizer           </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>
This creates a new empty <a class="el" href="classListCategorizer.html" title="This Widget extends KListView for a particular purpose: sorting some items into some...">ListCategorizer</a> with startOpen set to false. The parameters <code>parent</code> and <code>name</code> are the usual Qt ones. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00039">39</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="99da153c966c5c090cf888af5b88a845"></a><!-- doxytag: member="ListCategorizer::ListCategorizer" ref="99da153c966c5c090cf888af5b88a845" args="(const QStringList &amp;categories, bool startOpen, QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ListCategorizer::ListCategorizer           </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>categories</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>startOpen</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>
This creates a <a class="el" href="classListCategorizer.html" title="This Widget extends KListView for a particular purpose: sorting some items into some...">ListCategorizer</a> with the given <code>categories</code> already inserted. In addition, this constructor lets you specify whether or not startOpen is set. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00048">48</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="484ee2ca0c1f3705a4dee1f859e99800"></a><!-- doxytag: member="ListCategorizer::addCategories" ref="484ee2ca0c1f3705a4dee1f859e99800" args="(const QStringList &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ListCategorizer::addCategories           </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a list of categories to the <a class="el" href="classListCategorizer.html" title="This Widget extends KListView for a particular purpose: sorting some items into some...">ListCategorizer</a>. 
<p>
All the categories are added without descriptions; use addCategory on a per-category basis for that. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00059">59</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="af052e8978eb7dee132701461bbc8e2a"></a><!-- doxytag: member="ListCategorizer::addCategory" ref="af052e8978eb7dee132701461bbc8e2a" args="(const QString &amp;name, const QString &amp;description=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QListViewItem * ListCategorizer::addCategory           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>description</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>
Add a category with name <code>name</code> and optional <code>description</code>. 
<p>
This can be useful if you want either a description for the category or want to refer to this category in the future without using <a class="el" href="classListCategorizer.html#262937f36794286900a6043d5a6f6126" title="Given a category categoryName return the QListViewItem that represents that category...">findCategory()</a>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the QListViewItem created for the category </dd></dl>

<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00070">70</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="3220ebb259d0a8a6127477151b4b2d05"></a><!-- doxytag: member="ListCategorizer::categories" ref="3220ebb259d0a8a6127477151b4b2d05" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList ListCategorizer::categories           </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 the list of names of the categories in the <a class="el" href="classListCategorizer.html" title="This Widget extends KListView for a particular purpose: sorting some items into some...">ListCategorizer</a>. 
<p>

<p>Definition at line <a class="el" href="listCat_8h-source.html#l00111">111</a> of file <a class="el" href="listCat_8h-source.html">listCat.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1de9c2b57c98f057bcfdeec354fbf5ef"></a><!-- doxytag: member="ListCategorizer::addItem" ref="1de9c2b57c98f057bcfdeec354fbf5ef" args="(const QString &amp;category, const QString &amp;name, const QString &amp;description=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QListViewItem * ListCategorizer::addItem           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>category</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>description</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>
Add a single item to the category named <code>category</code>, with name <code>name</code> and description set to <code>description</code>. 
<p>
This might be a convenience function, but it's probably more convenient to just use QListViewItem's constructor. That way you can also hide more data in the remaining columns. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00174">174</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="ae08ad3fdee766d6e8225c1153f99fca"></a><!-- doxytag: member="ListCategorizer::items" ref="ae08ad3fdee766d6e8225c1153f99fca" args="(const QString &amp;category, int column=0) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList ListCategorizer::items           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>category</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>column</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the list of strings in column <code>column</code> under category <code>category</code>. 
<p>
You can do this to get, for example the names of all the items categorized under a given category, or, more usefully, set <code>column</code> to something other that 0 (name) or 1 (description) to return the QStringList hidden in the non-visible columns. 
<p>Definition at line <a class="el" href="listCat_8h-source.html#l00135">135</a> of file <a class="el" href="listCat_8h-source.html">listCat.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="262937f36794286900a6043d5a6f6126"></a><!-- doxytag: member="ListCategorizer::findCategory" ref="262937f36794286900a6043d5a6f6126" args="(const QString &amp;categoryName) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QListViewItem * ListCategorizer::findCategory           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>categoryName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a category categoryName return the QListViewItem that represents that category. 
<p>
Probably a useless function, since just remembering the pointer addCategory gives you is faster and uses hardly any memory. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00159">159</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="e359ecd994f43b206209618c7fa0d777"></a><!-- doxytag: member="ListCategorizer::listSiblings" ref="e359ecd994f43b206209618c7fa0d777" args="(const QListViewItem *p, int column=0) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList ListCategorizer::listSiblings           </td>
          <td>(</td>
          <td class="paramtype">const QListViewItem *&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>column</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the list of strings in column <code>column</code> of all siblings of the given item <code>p</code>. 
<p>
If you remembered a pointer to a category, you can use <div class="fragment"><pre class="fragment"> QStringList l = lc-&gt;<a class="code" href="classListCategorizer.html#e359ecd994f43b206209618c7fa0d777" title="Return the list of strings in column column of all siblings of the given item p.">listSiblings</a>(stdKDE-&gt;firstChild(),2);
</pre></div> to get the list of strings in hidden column 2 under the category you remembered. 
<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00145">145</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="96c28dc362fcd9648458069c07722092"></a><!-- doxytag: member="ListCategorizer::startOpen" ref="96c28dc362fcd9648458069c07722092" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ListCategorizer::startOpen           </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>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>whether new categories are inserted in an open state or not.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classListCategorizer.html#852b19629679ce8a626e7733a3c90301" title="Enable categories being inserted in an open state.">setStartOpen</a> </dd></dl>

<p>Definition at line <a class="el" href="listCat_8h-source.html#l00165">165</a> of file <a class="el" href="listCat_8h-source.html">listCat.h</a>.</p>

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

<p>
Enable categories being inserted in an open state. 
<p>
It is disabled by default but may be set from the constructor. 
<p>Definition at line <a class="el" href="listCat_8h-source.html#l00171">171</a> of file <a class="el" href="listCat_8h-source.html">listCat.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="9cd28f9f0e6d8fccef06cb0b64204a4b"></a><!-- doxytag: member="ListCategorizer::acceptDrag" ref="9cd28f9f0e6d8fccef06cb0b64204a4b" args="(QDropEvent *event) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ListCategorizer::acceptDrag           </td>
          <td>(</td>
          <td class="paramtype">QDropEvent *&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reimplemented to prevent categories from being dragged. 
<p>

<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00093">93</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

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

<p>
Reimplemented to prevent categories from being dragged. 
<p>

<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00134">134</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="b1dcf7332fa662f10400e825772fcd57"></a><!-- doxytag: member="ListCategorizer::contentsDropEvent" ref="b1dcf7332fa662f10400e825772fcd57" args="(QDropEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ListCategorizer::contentsDropEvent           </td>
          <td>(</td>
          <td class="paramtype">QDropEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reimplemented to prevent categories from being dragged. 
<p>

<p>Definition at line <a class="el" href="listCat_8cc-source.html#l00106">106</a> of file <a class="el" href="listCat_8cc-source.html">listCat.cc</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="listCat_8h-source.html">listCat.h</a><li><a class="el" href="listCat_8cc-source.html">listCat.cc</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kpilot/kpilot</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</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="classDBFlagsEditor.html">dbflagseditor</option>,  <option value="classDBRecordEditor.html">dbrecordeditor</option>,  <option value="classListCategorizer.html">listcategorizer</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>