Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1521

wt-doc-3.2.3-1.fc18.noarch.rpm

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::WAbstractItemModel Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1WAbstractItemModel.html">WAbstractItemModel</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WAbstractItemModel Class Reference<div class="ingroups"><a class="el" href="group__modelview.html">Model/view system</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WAbstractItemModel" --><!-- doxytag: inherits="Wt::WObject" -->
<p>An abstract model for use with Wt's view classes.  
 <a href="classWt_1_1WAbstractItemModel.html#details">More...</a></p>

<p><code>#include &lt;Wt/WAbstractItemModel&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WAbstractItemModel:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WAbstractItemModel__inherit__graph.png" border="0" usemap="#Wt_1_1WAbstractItemModel_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WAbstractItemModel_inherit__map" id="Wt_1_1WAbstractItemModel_inherit__map">
<area shape="rect" href="classWt_1_1WAbstractListModel.html" title="An abstract list model for use with Wt&#39;s view classes." alt="" coords="376,31,539,57"/><area shape="rect" href="classWt_1_1WAbstractProxyModel.html" title="An abstract proxy model for Wt&#39;s item models." alt="" coords="369,132,545,159"/><area shape="rect" href="classWt_1_1WAbstractTableModel.html" title="An abstract table model for use with Wt&#39;s view classes." alt="" coords="371,183,544,209"/><area shape="rect" href="classWt_1_1WStandardItemModel.html" title="A standard data model, which stores its data in memory." alt="" coords="372,233,543,260"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="7,157,103,184"/><area shape="rect" href="classWt_1_1WStringListModel.html" title="An model that manages a list of strings." alt="" coords="624,5,773,32"/><area shape="rect" href="classWt_1_1WAggregateProxyModel.html" title="A proxy model for Wt&#39;s item models that provides column aggregation." alt="" coords="605,56,792,83"/><area shape="rect" href="classWt_1_1WBatchEditProxyModel.html" title="A proxy model for Wt&#39;s item models that provides batch editing." alt="" coords="607,107,791,133"/><area shape="rect" href="classWt_1_1WReadOnlyProxyModel.html" title="A read&#45;only wrapper for a source model." alt="" coords="607,157,791,184"/><area shape="rect" href="classWt_1_1WSortFilterProxyModel.html" title="A proxy model for Wt&#39;s item models that provides filtering and/or sorting." alt="" coords="608,208,789,235"/><area shape="rect" href="classWt_1_1Dbo_1_1QueryModel.html" title="A Wt MVC Model to view/edit query results." alt="" coords="595,259,803,285"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WAbstractItemModel-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, boost::any &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">DataMap</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data map.  <a href="#a2e3827f2fab4fb171077dcfced9078b2"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aceb39c2027dc4dc464ac5942798e62e6"></a><!-- doxytag: member="Wt::WAbstractItemModel::WAbstractItemModel" ref="aceb39c2027dc4dc464ac5942798e62e6" args="(WObject *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#aceb39c2027dc4dc464ac5942798e62e6">WAbstractItemModel</a> (<a class="el" href="classWt_1_1WObject.html">WObject</a> *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new data model. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383">columnCount</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of columns.  <a href="#abcf7912a95a0a60f8e9b1c37d30b8383"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0">rowCount</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of rows.  <a href="#ab0709a8f71fd5df882f29bb29fd055f0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WFlags&lt; <a class="el" href="group__modelview.html#ga1d77c4de293aebfacbdde124de06b8b0">ItemFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ab5e60f81be797c0553a010eff5b9a592">flags</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the flags for an item.  <a href="#ab5e60f81be797c0553a010eff5b9a592"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WFlags&lt; <a class="el" href="group__modelview.html#gafb18b4339442f1327c2a65850f3d8a53">HeaderFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a6bb2a7e70f816606351be4a23c453a49">headerFlags</a> (int section, <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Horizontal) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the flags for a header.  <a href="#a6bb2a7e70f816606351be4a23c453a49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#af26d7dc00f8c1bc15fe3d5d4b64bb371">hasChildren</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns if there are children at an index.  <a href="#af26d7dc00f8c1bc15fe3d5d4b64bb371"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ada454d45706ca0c1a0921dedd351c48c">parent</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the parent for a model index.  <a href="#ada454d45706ca0c1a0921dedd351c48c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual boost::any&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe">data</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index, int role=DisplayRole) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns data at a specific model index.  <a href="#a9112b74d160f916ef75fb6c1c09dd8fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">DataMap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a74055362d502d80375c6599f6f8ea1cf">itemData</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all data at a specific index.  <a href="#a74055362d502d80375c6599f6f8ea1cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual boost::any&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a86bbab7c809fce4de9b5cb543b2fb124">headerData</a> (int section, <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Horizontal, int role=DisplayRole) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the row or column header data.  <a href="#a86bbab7c809fce4de9b5cb543b2fb124"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb">index</a> (int row, int column, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the child index for the given row and column.  <a href="#a83f37bf04b8574b328c139b02523b8cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WModelIndexList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a3da35dbccda1599067d1358458f2d48c">match</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;start, int role, const boost::any &amp;value, int hits=-1, WFlags&lt; <a class="el" href="group__modelview.html#gaad8dd5072a40c11a34ee548bfb20b2ba">MatchFlag</a> &gt; flags=WFlags&lt; <a class="el" href="group__modelview.html#gaad8dd5072a40c11a34ee548bfb20b2ba">MatchFlag</a> &gt;(MatchStartsWith|MatchWrap)) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an index list for data items that match.  <a href="#a3da35dbccda1599067d1358458f2d48c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boost::any&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a0301a303654b113f7f11686dff277228">data</a> (int row, int column, int role=DisplayRole, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the data item at the given column and row.  <a href="#a0301a303654b113f7f11686dff277228"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#af8453f8f06427e598a35000723c5b86c">hasIndex</a> (int row, int column, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns if an index at the given position is valid (i.e. falls within the column-row bounds).  <a href="#af8453f8f06427e598a35000723c5b86c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2">insertColumns</a> (int column, int count, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts one or more columns.  <a href="#a1eded9eb68b9247ae2ff371f74a5e5f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d">insertRows</a> (int row, int count, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts one or more rows.  <a href="#abcafc38dc24fd9edf70eafe834ca411d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762">removeColumns</a> (int column, int count, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes columns.  <a href="#a27428d1a02830336ec9db69c6d0b0762"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a">removeRows</a> (int row, int count, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes rows.  <a href="#a29cf3003ee8f97b2b5de9c52af27361a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943">setData</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index, const boost::any &amp;value, int role=EditRole)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets data at the given model index.  <a href="#a70856db8c322be8c7f397a932165a943"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ac60d1042bf1bcea9c262d3de30c520fd">setItemData</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index, const <a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">DataMap</a> &amp;values)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets data at the given model index.  <a href="#ac60d1042bf1bcea9c262d3de30c520fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a57f5d417f933440db0d38ece7dd370f4">setHeaderData</a> (int section, <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation, const boost::any &amp;value, int role=EditRole)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets header data for a column or row.  <a href="#a57f5d417f933440db0d38ece7dd370f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#afad1dffa150e21c73f71802d9784279f">setHeaderData</a> (int section, const boost::any &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets column header data.  <a href="#afad1dffa150e21c73f71802d9784279f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a133931424d4daa8422bcdea911cda713">sort</a> (int column, <a class="el" href="group__modelview.html#ga4173856040cf108a9c7360927a43ebac">SortOrder</a> order=AscendingOrder)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts the model according to a particular column.  <a href="#a133931424d4daa8422bcdea911cda713"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ad7da483e201a6a0d717438049ce1f1d1">expandColumn</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Expands a column.  <a href="#ad7da483e201a6a0d717438049ce1f1d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#accd1f651c0b01ae897a52b9ad4b0f553">collapseColumn</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Collapses a column.  <a href="#accd1f651c0b01ae897a52b9ad4b0f553"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a5c4db8b3265c914f77efead35450f6dc">toRawIndex</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a model index to a raw pointer that remains valid while the model's layout is changed.  <a href="#a5c4db8b3265c914f77efead35450f6dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a85beaaea2e8609556543019618fd2a89">fromRawIndex</a> (void *rawIndex) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a raw pointer to a model index.  <a href="#a85beaaea2e8609556543019618fd2a89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a4c62d2cc18d133d7926a91b4f2eebe62">mimeType</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a mime-type for dragging a set of indexes.  <a href="#a4c62d2cc18d133d7926a91b4f2eebe62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a9e92a29b30e3d4de1f6df9f505e952c2">acceptDropMimeTypes</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of mime-types that could be accepted for a drop event.  <a href="#a9e92a29b30e3d4de1f6df9f505e952c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#af9142a0328922a1b6872f0186164b066">dropEvent</a> (const <a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a> &amp;e, <a class="el" href="group__modelview.html#gaca801bdfb957c360c5f8709cc46949aa">DropAction</a> action, int row, int column, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles a drop event.  <a href="#af9142a0328922a1b6872f0186164b066"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ad0e634e9fb1276703e41438e8aa50cca">insertColumn</a> (int column, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts one column.  <a href="#ad0e634e9fb1276703e41438e8aa50cca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#af4a389e8544fc887a24099c506c8bd7b">insertRow</a> (int row, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts one row.  <a href="#af4a389e8544fc887a24099c506c8bd7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a7b46c63a32eb9ca9838a1a7cd5853552">removeColumn</a> (int column, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes one column.  <a href="#a7b46c63a32eb9ca9838a1a7cd5853552"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ada64c5f4d4eba6cecab2c1e443372cb3">removeRow</a> (int row, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes one row.  <a href="#ada64c5f4d4eba6cecab2c1e443372cb3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#adf3aee29503da7f4a78bafeb96956195">setData</a> (int row, int column, const boost::any &amp;value, int role=EditRole, const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent=<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets data at the given row and column.  <a href="#adf3aee29503da7f4a78bafeb96956195"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a750a7bcd42edf3475de6dc5bf7f1ef03">columnsAboutToBeInserted</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted before a number of columns will be inserted.  <a href="#a750a7bcd42edf3475de6dc5bf7f1ef03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ab7c59263c680974b9b226cacb612b107">columnsAboutToBeRemoved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted before a number of columns will be removed.  <a href="#ab7c59263c680974b9b226cacb612b107"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ac56221d07f5ef246f10dccc93756cb3c">columnsInserted</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted after a number of columns were inserted.  <a href="#ac56221d07f5ef246f10dccc93756cb3c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a2aecbfc4363903aed6d3ce4d176c82d0">columnsRemoved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted after a number of columns were removed.  <a href="#a2aecbfc4363903aed6d3ce4d176c82d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a8c0a94560a23519cac3e7cfb983af525">rowsAboutToBeInserted</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted before a number of rows will be inserted.  <a href="#a8c0a94560a23519cac3e7cfb983af525"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a530ab7bb31240fafe0a3c88c9f4efc4f">rowsAboutToBeRemoved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted before a number of rows will be removed.  <a href="#a530ab7bb31240fafe0a3c88c9f4efc4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a54c971088bb9b424f97fe31c17f8f12f">rowsInserted</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted after a number of rows were inserted.  <a href="#a54c971088bb9b424f97fe31c17f8f12f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a0f73bbfb08f2739ac12881f62a61bc7f">rowsRemoved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted after a number of rows were removed.  <a href="#a0f73bbfb08f2739ac12881f62a61bc7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <br class="typebreak"/>
<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#aa074e5bc55394252a609ef17d071b563">dataChanged</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when some data was changed.  <a href="#aa074e5bc55394252a609ef17d071b563"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>, <br class="typebreak"/>
int, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ade8f3edbd36f170c6e1199222802de0d">headerDataChanged</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when some header data was changed.  <a href="#ade8f3edbd36f170c6e1199222802de0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ab377ac2fcb9de9d191bd1353665d1389">layoutAboutToBeChanged</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the layout is about to be changed.  <a href="#ab377ac2fcb9de9d191bd1353665d1389"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#afe7cb1d5186881f83aa8f0e452aaef66">layoutChanged</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the layout is changed.  <a href="#afe7cb1d5186881f83aa8f0e452aaef66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ae28a4ba2ce1dd93e7479dfa152a65efc">modelReset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the model was reset.  <a href="#ae28a4ba2ce1dd93e7479dfa152a65efc"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ae5ef6b96132d87e8310dcb22deedcd48">reset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the model and invalidate any data.  <a href="#ae5ef6b96132d87e8310dcb22deedcd48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ac837a73fe423255035ffb076946de122">createIndex</a> (int row, int column, void *ptr) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a model index for the given row and column.  <a href="#ac837a73fe423255035ffb076946de122"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a3202723691a65252add937768c326361">createIndex</a> (int row, int column,::uint64_t id) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a model index for the given row and column.  <a href="#a3202723691a65252add937768c326361"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a1b0c2b404763032e48637a2a3615b2b6">beginInsertColumns</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent, int first, int last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called before inserting columns.  <a href="#a1b0c2b404763032e48637a2a3615b2b6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a91e52898a805996aee496877cd090eb4">beginInsertRows</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent, int first, int last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called before inserting rows.  <a href="#a91e52898a805996aee496877cd090eb4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a8dbef6f3633812d2df7289cb7cfb192b">beginRemoveColumns</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent, int first, int last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called before removing columns.  <a href="#a8dbef6f3633812d2df7289cb7cfb192b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a5286cc70219c8d8d720abc255b0183f5">beginRemoveRows</a> (const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;parent, int first, int last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called before removing rows.  <a href="#a5286cc70219c8d8d720abc255b0183f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422">endInsertColumns</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called after inserting columns.  <a href="#a2422779ff8af9d19c6bfd3e169c84422"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f">endInsertRows</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called after inserting rows.  <a href="#ace03c0bc5b0b57b6add882aaf444b62f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3">endRemoveColumns</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called after removing columns.  <a href="#a840b32221ade669cb4e987f86203d1d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262">endRemoveRows</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Method to be called after removing rows.  <a href="#afceaf639f2a5088f45c00f03d550f262"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An abstract model for use with Wt's view classes. </p>
<p>This abstract model is used by several Wt view widgets as data models.</p>
<p>It may model data for both tree-like and table-like view widgets. Data is therefore organized in a hierarchical structure of tables, where every item stores data and items in column 0 can be the parent of a nested table of data. Every data item is uniquely identified by their row, column and parent index, and items may be referenced using the helper class <a class="el" href="classWt_1_1WModelIndex.html" title="A value class that describes an index to an item in a data model.">WModelIndex</a>.</p>
<p>Each item may provide data for one or more <a class="el" href="group__modelview.html#ga0ae864e12320f9f89172735e075ed068">roles</a>, and indicate options using <a class="el" href="group__modelview.html#ga1d77c4de293aebfacbdde124de06b8b0">flags</a>. The different roles can be used to model different aspects of an item (its text value, an icon, style class), or to hold auxiliary custom information. The flags provide information to the View on possible interactivity.</p>
<p>Top level data have an <a class="el" href="classWt_1_1WModelIndex.html#a1d4b05ee51c5c6961d6123565fd77c82">invalid</a> parent <a class="el" href="classWt_1_1WModelIndex.html" title="A value class that describes an index to an item in a data model.">WModelIndex</a>.</p>
<p>The data itself is of type <b>boost::any</b>, which can either be empty, or hold any type of data. Depending on the role however, view classes may expect certain types of data (e.g. a string for <a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068a776934b313f273b8e5e602e7eee9f73b" title="Role for the style class.">Wt::StyleClassRole</a>).</p>
<p>Wt's standard view classes can display (<a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068a5ed17aded8a0e3b712698cf85a218f1f" title="Role for textual representation.">Wt::DisplayRole</a>) the following data:</p>
<ul>
<li>strings of type <a class="el" href="classWt_1_1WString.html" title="A value class which describes a locale-aware unicode string.">WString</a> or std::string</li>
<li><a class="el" href="classWt_1_1WDate.html" title="A value class that represents a date on the Gregorian calendar.">WDate</a>, <a class="el" href="classWt_1_1WTime.html" title="A value class that defines a clock time.">WTime</a>, <a class="el" href="classWt_1_1WDateTime.html" title="A calendar date and clock time.">WDateTime</a></li>
<li>standard C++ numeric types (int, double, etc...)</li>
<li>bool</li>
</ul>
<p>The view classes know how to interpret data of these types <a class="el" href="group__modelview.html#ga57b5cadd177847f51eaeb0cee23782c1">as a string</a> or <a class="el" href="group__modelview.html#ga2494f8093b2b8f2f9c0aa7699e7bfc2a">as a number</a>.</p>
<p>Conversion between native types and boost::any is done like this: </p>
<ul>
<li>
<p class="startli">Conversion from <em>v</em> (of type <em>Type</em>) to boost::any <em>a</em> (for <a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#a57f5d417f933440db0d38ece7dd370f4" title="Sets header data for a column or row.">setHeaderData()</a>) </p>
<pre>
 boost::any <em>a</em> = boost::any(<em>v</em>);
    </pre><p> For example: </p>
<pre>
 <a class="el" href="classWt_1_1WDate.html" title="A value class that represents a date on the Gregorian calendar.">WDate</a> d(1976,6,14);
 model-&gt;setData(row, column, boost::any(d));
    </pre><p class="endli"></p>
</li>
<li>
Conversion from boost::any <em>a</em> to <em>v</em> (of type <em>Type</em>) (for <a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#a86bbab7c809fce4de9b5cb543b2fb124" title="Returns the row or column header data.">headerData()</a>): <pre>
 <em>Type v</em> = boost::any_cast&lt;<em>Type</em>&gt;(<em>a</em>);
    </pre> For example: <pre>
 <a class="el" href="classWt_1_1WDate.html" title="A value class that represents a date on the Gregorian calendar.">WDate</a> d = boost::any_cast&lt;WDate&gt;(model-&gt;data(row, column));
    </pre>  </li>
<li>
Checking if a boost::any <em>a</em> holds a value: <pre>
 if (!<em>a</em>.empty()) {
   ...
 }
    </pre>  </li>
<li>
Determining the value type of a boost::any <em>a</em>, for example: <pre>
 if (<em>a</em>.type() == typeid(double)) {
   ...
 }
    </pre>  </li>
</ul>
<p>To implement a custom model, you need to reimplement the following methods:</p>
<ul>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#ada454d45706ca0c1a0921dedd351c48c" title="Returns the parent for a model index.">parent()</a> methods that allow one to navigate the model</li>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383" title="Returns the number of columns.">columnCount()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0" title="Returns the number of rows.">rowCount()</a> to specify the top level geometry and the nested geometry at every item</li>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a> to return the data for an item</li>
<li>optionally, <a class="el" href="classWt_1_1WAbstractItemModel.html#a86bbab7c809fce4de9b5cb543b2fb124" title="Returns the row or column header data.">headerData()</a> to return row and column header data</li>
<li>optionally, <a class="el" href="classWt_1_1WAbstractItemModel.html#ab5e60f81be797c0553a010eff5b9a592" title="Returns the flags for an item.">flags()</a> to indicate data options</li>
</ul>
<p>A crucial point in implementing a hierarchical model is to decide how to reference an index in terms of an internal pointer (<a class="el" href="classWt_1_1WModelIndex.html#a44aabe692bba87ba144c1ab9a7f98eb3" title="Returns the internal pointer.">WModelIndex::internalPointer()</a>) or internal id (<a class="el" href="classWt_1_1WModelIndex.html#a7ae49c4d0edaf9a520e6f5e8a62c3904" title="Returns the internal id.">WModelIndex::internalId()</a>). Other than the top-level index, which is special since it is referenced using an <a class="el" href="classWt_1_1WModelIndex.html#a1d4b05ee51c5c6961d6123565fd77c82">invalid</a> index, every index with children must be identifiable using this number or pointer. For example, in the <a class="el" href="classWt_1_1WStandardItemModel.html" title="A standard data model, which stores its data in memory.">WStandardItemModel</a>, the internal pointer points to the parent <a class="el" href="classWt_1_1WStandardItem.html" title="An item in a WStandardItemModel.">WStandardItem</a>. For table models, the internal pointer plays no role, since only the toplevel index has children.</p>
<p>If you want to support editing of the model, then you need to indicate this support using a <a class="el" href="group__modelview.html#gga1d77c4de293aebfacbdde124de06b8b0a8664c482d721bbcb73539a924c7a9fab" title="Item can be edited.">Wt::ItemIsEditable</a> flag, and reimplement <a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a>. View classes will use the <a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068a6bc0da3ea683a06ee293a5a15f903cde">EditRole</a> to read and update the data for the editor.</p>
<p>When the model's data has been changed, the model must emit the <a class="el" href="classWt_1_1WAbstractItemModel.html#aa074e5bc55394252a609ef17d071b563" title="Signal emitted when some data was changed.">dataChanged()</a> signal.</p>
<p>Finally, there is a generic interface for insertion of new data or removal of data (changing the geometry), although this interface is not yet used by any View class:</p>
<ul>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows()</a></li>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns()</a></li>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows()</a></li>
<li><a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns()</a></li>
</ul>
<p>Alternatively, you can provide your own API for changing the model. In either case it is important that you call the corresponding protected member functions which will emit the relevant signals so that views can adapt themselves to the new geometry. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a2e3827f2fab4fb171077dcfced9078b2"></a><!-- doxytag: member="Wt::WAbstractItemModel::DataMap" ref="a2e3827f2fab4fb171077dcfced9078b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;int, boost::any&gt; <a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">Wt::WAbstractItemModel::DataMap</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Data map. </p>
<p>A map of data, indexed by a role. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9e92a29b30e3d4de1f6df9f505e952c2"></a><!-- doxytag: member="Wt::WAbstractItemModel::acceptDropMimeTypes" ref="a9e92a29b30e3d4de1f6df9f505e952c2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::string &gt; Wt::WAbstractItemModel::acceptDropMimeTypes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of mime-types that could be accepted for a drop event. </p>
<p>The default implementation only accepts drag&amp;drop support between abstract item models.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a4c62d2cc18d133d7926a91b4f2eebe62" title="Returns a mime-type for dragging a set of indexes.">mimeType()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1b0c2b404763032e48637a2a3615b2b6"></a><!-- doxytag: member="Wt::WAbstractItemModel::beginInsertColumns" ref="a1b0c2b404763032e48637a2a3615b2b6" args="(const WModelIndex &amp;parent, int first, int last)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::beginInsertColumns </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called before inserting columns. </p>
<p>If your model supports insertion of columns, then you should call this method before inserting one or more columns, and <a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422" title="Method to be called after inserting columns.">endInsertColumns()</a> afterwards. These methods emit the necessary signals to allow view classes to update themselves.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422" title="Method to be called after inserting columns.">endInsertColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a750a7bcd42edf3475de6dc5bf7f1ef03" title="Signal emitted before a number of columns will be inserted.">columnsAboutToBeInserted</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a91e52898a805996aee496877cd090eb4"></a><!-- doxytag: member="Wt::WAbstractItemModel::beginInsertRows" ref="a91e52898a805996aee496877cd090eb4" args="(const WModelIndex &amp;parent, int first, int last)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::beginInsertRows </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called before inserting rows. </p>
<p>If your model supports insertion of rows, then you should call this method before inserting one or more rows, and <a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f" title="Method to be called after inserting rows.">endInsertRows()</a> afterwards. These methods emit the necessary signals to allow view classes to update themselves.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f" title="Method to be called after inserting rows.">endInsertRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a8c0a94560a23519cac3e7cfb983af525" title="Signal emitted before a number of rows will be inserted.">rowsAboutToBeInserted</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8dbef6f3633812d2df7289cb7cfb192b"></a><!-- doxytag: member="Wt::WAbstractItemModel::beginRemoveColumns" ref="a8dbef6f3633812d2df7289cb7cfb192b" args="(const WModelIndex &amp;parent, int first, int last)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::beginRemoveColumns </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called before removing columns. </p>
<p>If your model supports removal of columns, then you should call this method before removing one or more columns, and <a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3" title="Method to be called after removing columns.">endRemoveColumns()</a> afterwards. These methods emit the necessary signals to allow view classes to update themselves.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3" title="Method to be called after removing columns.">endRemoveColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#ab7c59263c680974b9b226cacb612b107" title="Signal emitted before a number of columns will be removed.">columnsAboutToBeRemoved</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5286cc70219c8d8d720abc255b0183f5"></a><!-- doxytag: member="Wt::WAbstractItemModel::beginRemoveRows" ref="a5286cc70219c8d8d720abc255b0183f5" args="(const WModelIndex &amp;parent, int first, int last)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::beginRemoveRows </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called before removing rows. </p>
<p>If your model supports removal of rows, then you should call this method before removing one or more rows, and <a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262" title="Method to be called after removing rows.">endRemoveRows()</a> afterwards. These methods emit the necessary signals to allow view classes to update themselves.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262" title="Method to be called after removing rows.">endRemoveRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a530ab7bb31240fafe0a3c88c9f4efc4f" title="Signal emitted before a number of rows will be removed.">rowsAboutToBeRemoved</a> </dd></dl>

</div>
</div>
<a class="anchor" id="accd1f651c0b01ae897a52b9ad4b0f553"></a><!-- doxytag: member="Wt::WAbstractItemModel::collapseColumn" ref="accd1f651c0b01ae897a52b9ad4b0f553" args="(int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::collapseColumn </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Collapses a column. </p>
<p>Collapses a column. This may only be called by a view when the <a class="el" href="group__modelview.html#ggafb18b4339442f1327c2a65850f3d8a53adb54e2a704ae37581af6cc33828fef71" title="Flag that indicates that the column was expanded to the left.">Wt::ColumnIsExpandedLeft</a> or <a class="el" href="group__modelview.html#ggafb18b4339442f1327c2a65850f3d8a53ab8f2b2845555220afc9c3c24c43194cd" title="Flag that indicates that the column was expanded to the right.">Wt::ColumnIsExpandedRight</a> flag is set.</p>
<p>The default implementation does nothing.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAggregateProxyModel.html" title="A proxy model for Wt&#39;s item models that provides column aggregation.">WAggregateProxyModel</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WAggregateProxyModel.html#a44082771ca19bdcd648e4cb6c4cf08be">Wt::WAggregateProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="abcf7912a95a0a60f8e9b1c37d30b8383"></a><!-- doxytag: member="Wt::WAbstractItemModel::columnCount" ref="abcf7912a95a0a60f8e9b1c37d30b8383" args="(const WModelIndex &amp;parent=WModelIndex()) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Wt::WAbstractItemModel::columnCount </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of columns. </p>
<p>This returns the number of columns at index <code>parent</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0" title="Returns the number of rows.">rowCount()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#adb59d34c46c47a5aeb7606af8b882ee1">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#ad295e3835ffd9f5e602b3dbb29f93f22">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#aafec39e7801f9c4b19d6df601a130445">Wt::WAggregateProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#ac1a6ef93b2702200a687e6b4fdc1c831">Wt::WBatchEditProxyModel</a>, <a class="el" href="classWt_1_1WAbstractListModel.html#ac1067d3ba070038275690deb2e9a40f4">Wt::WAbstractListModel</a>, and <a class="el" href="classWt_1_1WReadOnlyProxyModel.html#a46d0d79621f99ecccd33ccf3c0023fa1">Wt::WReadOnlyProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="a750a7bcd42edf3475de6dc5bf7f1ef03"></a><!-- doxytag: member="Wt::WAbstractItemModel::columnsAboutToBeInserted" ref="a750a7bcd42edf3475de6dc5bf7f1ef03" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::columnsAboutToBeInserted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted before a number of columns will be inserted. </p>
<p>The first argument is the parent index. The two integer arguments are the column numbers that the first and last column will have when inserted.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ac56221d07f5ef246f10dccc93756cb3c" title="Signal emitted after a number of columns were inserted.">columnsInserted()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a1b0c2b404763032e48637a2a3615b2b6" title="Method to be called before inserting columns.">beginInsertColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab7c59263c680974b9b226cacb612b107"></a><!-- doxytag: member="Wt::WAbstractItemModel::columnsAboutToBeRemoved" ref="ab7c59263c680974b9b226cacb612b107" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::columnsAboutToBeRemoved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted before a number of columns will be removed. </p>
<p>The first argument is the parent index. The two integer arguments are the column numbers of the first and last column that will be removed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a2aecbfc4363903aed6d3ce4d176c82d0" title="Signal emitted after a number of columns were removed.">columnsRemoved()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a8dbef6f3633812d2df7289cb7cfb192b" title="Method to be called before removing columns.">beginRemoveColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac56221d07f5ef246f10dccc93756cb3c"></a><!-- doxytag: member="Wt::WAbstractItemModel::columnsInserted" ref="ac56221d07f5ef246f10dccc93756cb3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::columnsInserted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted after a number of columns were inserted. </p>
<p>The first argument is the parent index. The two integer arguments are the column numbers of the first and last column that were inserted.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a750a7bcd42edf3475de6dc5bf7f1ef03" title="Signal emitted before a number of columns will be inserted.">columnsAboutToBeInserted()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422" title="Method to be called after inserting columns.">endInsertColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2aecbfc4363903aed6d3ce4d176c82d0"></a><!-- doxytag: member="Wt::WAbstractItemModel::columnsRemoved" ref="a2aecbfc4363903aed6d3ce4d176c82d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::columnsRemoved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted after a number of columns were removed. </p>
<p>The first argument is the parent index. The two integer arguments are the column numbers of the first and last column that were removed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab7c59263c680974b9b226cacb612b107" title="Signal emitted before a number of columns will be removed.">columnsAboutToBeRemoved()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3" title="Method to be called after removing columns.">endRemoveColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac837a73fe423255035ffb076946de122"></a><!-- doxytag: member="Wt::WAbstractItemModel::createIndex" ref="ac837a73fe423255035ffb076946de122" args="(int row, int column, void *ptr) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> Wt::WAbstractItemModel::createIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a model index for the given row and column. </p>
<p>Use this method to create a model index. <code>ptr</code> is an internal pointer that may be used to identify the <b>parent</b> of the corresponding item. For a flat table model, <code>ptr</code> can thus always be 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WModelIndex.html#a44aabe692bba87ba144c1ab9a7f98eb3" title="Returns the internal pointer.">WModelIndex::internalPointer()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3202723691a65252add937768c326361"></a><!-- doxytag: member="Wt::WAbstractItemModel::createIndex" ref="a3202723691a65252add937768c326361" args="(int row, int column,::uint64_t id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> Wt::WAbstractItemModel::createIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">::uint64_t&#160;</td>
          <td class="paramname"><em>id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a model index for the given row and column. </p>
<p>Use this method to create a model index. <code>id</code> is an internal id that may be used to identify the <b>parent</b> of the corresponding item. For a flat table model, <code>ptr</code> can thus always be 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WModelIndex.html#a7ae49c4d0edaf9a520e6f5e8a62c3904" title="Returns the internal id.">WModelIndex::internalId()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9112b74d160f916ef75fb6c1c09dd8fe"></a><!-- doxytag: member="Wt::WAbstractItemModel::data" ref="a9112b74d160f916ef75fb6c1c09dd8fe" args="(const WModelIndex &amp;index, int role=DisplayRole) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual boost::any Wt::WAbstractItemModel::data </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns data at a specific model index. </p>
<p>Return data for a given role at a given index.</p>
<p>You should check the <code>role</code> to decide what data to return. Usually a View class will ask for data for several roles which affect not only the contents (<a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068a5ed17aded8a0e3b712698cf85a218f1f" title="Role for textual representation.">Wt::DisplayRole</a>) but also icons (<a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068aab6678fc176854f7990d6cff4eed779e" title="Role for the url of an icon.">Wt::DecorationRole</a>), URLs (<a class="el" href="group__modelview.html#gga0ae864e12320f9f89172735e075ed068af52f557e7c59dcb07a01ffd532ab839a" title="Role for a link.">Wt::LinkRole</a>), and other visual aspects. If your item does not specify data for a particular role, it should simply return a boost::any().</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab5e60f81be797c0553a010eff5b9a592" title="Returns the flags for an item.">flags()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a86bbab7c809fce4de9b5cb543b2fb124" title="Returns the row or column header data.">headerData()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a459f6560b1345dc27d2d037a10e46cfe">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#afd7a319765dcdeaab299f3b800d15674">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#aa953d435f25052df7b2c09a6f180c606">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="a0301a303654b113f7f11686dff277228"></a><!-- doxytag: member="Wt::WAbstractItemModel::data" ref="a0301a303654b113f7f11686dff277228" args="(int row, int column, int role=DisplayRole, const WModelIndex &amp;parent=WModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::any Wt::WAbstractItemModel::data </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>DisplayRole</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the data item at the given column and row. </p>
<p>This is a convenience method, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index</a>(row, column, parent).data(role)
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa074e5bc55394252a609ef17d071b563"></a><!-- doxytag: member="Wt::WAbstractItemModel::dataChanged" ref="aa074e5bc55394252a609ef17d071b563" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>&gt;&amp; Wt::WAbstractItemModel::dataChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when some data was changed. </p>
<p>The two arguments are the model indexes of the top-left and bottom-right data items that span the rectangle of changed data items.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af9142a0328922a1b6872f0186164b066"></a><!-- doxytag: member="Wt::WAbstractItemModel::dropEvent" ref="af9142a0328922a1b6872f0186164b066" args="(const WDropEvent &amp;e, DropAction action, int row, int column, const WModelIndex &amp;parent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::dropEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__modelview.html#gaca801bdfb957c360c5f8709cc46949aa">DropAction</a>&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handles a drop event. </p>
<p>The default implementation only handles generic drag&amp;drop between abstract item models. Source item data is copied (but not the source item's flags).</p>
<p>The location in the model is indicated by the <code>row</code> and <code>column</code> within the <code>parent</code> index. If <code>row</code> is -1, then the item is appended to the <code>parent</code>. Otherwise, the item is inserted at or copied over the indicated item (and subsequent rows). When <code>action</code> is a <a class="el" href="group__modelview.html#ggaca801bdfb957c360c5f8709cc46949aaa3f0ed7a05e822a2623d65f15e573bc73">MoveAction</a>, the original items are deleted from the source model.</p>
<p>You may want to reimplement this method if you want to handle other mime-type data, or if you want to refine how the drop event of an item selection must be interpreted.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Currently, only row selections are handled by the default implementation.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a4c62d2cc18d133d7926a91b4f2eebe62" title="Returns a mime-type for dragging a set of indexes.">mimeType()</a>, <a class="el" href="classWt_1_1WItemSelectionModel.html" title="A class that represents a selection for a WAbstractItemView.">WItemSelectionModel</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2422779ff8af9d19c6bfd3e169c84422"></a><!-- doxytag: member="Wt::WAbstractItemModel::endInsertColumns" ref="a2422779ff8af9d19c6bfd3e169c84422" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::endInsertColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called after inserting columns. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a1b0c2b404763032e48637a2a3615b2b6" title="Method to be called before inserting columns.">beginInsertColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ace03c0bc5b0b57b6add882aaf444b62f"></a><!-- doxytag: member="Wt::WAbstractItemModel::endInsertRows" ref="ace03c0bc5b0b57b6add882aaf444b62f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::endInsertRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called after inserting rows. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a91e52898a805996aee496877cd090eb4" title="Method to be called before inserting rows.">beginInsertRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a840b32221ade669cb4e987f86203d1d3"></a><!-- doxytag: member="Wt::WAbstractItemModel::endRemoveColumns" ref="a840b32221ade669cb4e987f86203d1d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::endRemoveColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called after removing columns. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a8dbef6f3633812d2df7289cb7cfb192b" title="Method to be called before removing columns.">beginRemoveColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afceaf639f2a5088f45c00f03d550f262"></a><!-- doxytag: member="Wt::WAbstractItemModel::endRemoveRows" ref="afceaf639f2a5088f45c00f03d550f262" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::endRemoveRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Method to be called after removing rows. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a5286cc70219c8d8d720abc255b0183f5" title="Method to be called before removing rows.">beginRemoveRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad7da483e201a6a0d717438049ce1f1d1"></a><!-- doxytag: member="Wt::WAbstractItemModel::expandColumn" ref="ad7da483e201a6a0d717438049ce1f1d1" args="(int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::expandColumn </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Expands a column. </p>
<p>Expands a column. This may only be called by a view when the <a class="el" href="group__modelview.html#ggafb18b4339442f1327c2a65850f3d8a53a55020edcd8019b7fd0b330283b194929" title="Flag that indicates that the column can be expanded.">Wt::ColumnIsCollapsed</a> flag is set.</p>
<p>The default implementation does nothing.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAggregateProxyModel.html" title="A proxy model for Wt&#39;s item models that provides column aggregation.">WAggregateProxyModel</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WAggregateProxyModel.html#accddd20f3e9110bb7a1797ec9ed84085">Wt::WAggregateProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="ab5e60f81be797c0553a010eff5b9a592"></a><!-- doxytag: member="Wt::WAbstractItemModel::flags" ref="ab5e60f81be797c0553a010eff5b9a592" args="(const WModelIndex &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WFlags&lt; <a class="el" href="group__modelview.html#ga1d77c4de293aebfacbdde124de06b8b0">ItemFlag</a> &gt; Wt::WAbstractItemModel::flags </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the flags for an item. </p>
<p>The default implementation returns <a class="el" href="group__modelview.html#gga1d77c4de293aebfacbdde124de06b8b0a77f858c86a06358abdcc64e4f9d03e40">ItemIsSelectable</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__modelview.html#ga1d77c4de293aebfacbdde124de06b8b0" title="Flags that indicate data item options.">Wt::ItemFlag</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a5d2504dad0a417346a8229faa4fa1182">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#aae2b4164dd1520000828fde77f4b3801">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#a5ee1ba3f7d36612e3a78fdc132b5b327">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="a85beaaea2e8609556543019618fd2a89"></a><!-- doxytag: member="Wt::WAbstractItemModel::fromRawIndex" ref="a85beaaea2e8609556543019618fd2a89" args="(void *rawIndex) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> Wt::WAbstractItemModel::fromRawIndex </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>rawIndex</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts a raw pointer to a model index. </p>
<p>Use this method to create model index from temporary raw pointers. It is the reciproce method of <a class="el" href="classWt_1_1WAbstractItemModel.html#a5c4db8b3265c914f77efead35450f6dc" title="Converts a model index to a raw pointer that remains valid while the model&#39;s layout is changed...">toRawIndex()</a>.</p>
<p>You can return an invalid modelindex if the rawIndex no longer points to a valid item because of the layout change.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a5c4db8b3265c914f77efead35450f6dc" title="Converts a model index to a raw pointer that remains valid while the model&#39;s layout is changed...">toRawIndex()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af26d7dc00f8c1bc15fe3d5d4b64bb371"></a><!-- doxytag: member="Wt::WAbstractItemModel::hasChildren" ref="af26d7dc00f8c1bc15fe3d5d4b64bb371" args="(const WModelIndex &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::hasChildren </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns if there are children at an index. </p>
<p>Returns <code>true</code> when rowCount(index) &gt; 0 and columnCount(index) &gt; 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0" title="Returns the number of rows.">rowCount()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383" title="Returns the number of columns.">columnCount()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af8453f8f06427e598a35000723c5b86c"></a><!-- doxytag: member="Wt::WAbstractItemModel::hasIndex" ref="af8453f8f06427e598a35000723c5b86c" args="(int row, int column, const WModelIndex &amp;parent=WModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::hasIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns if an index at the given position is valid (i.e. falls within the column-row bounds). </p>
<p>Equivalent to: </p>
<div class="fragment"><pre class="fragment"> <span class="keywordflow">return</span> row &gt;= 0 &amp;&amp; column &gt;= 0
        &amp;&amp; row &lt; <a class="code" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0" title="Returns the number of rows.">rowCount</a>(parent) &amp;&amp; column &lt; <a class="code" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383" title="Returns the number of columns.">columnCount</a>(parent);
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab0709a8f71fd5df882f29bb29fd055f0" title="Returns the number of rows.">rowCount()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383" title="Returns the number of columns.">columnCount()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a86bbab7c809fce4de9b5cb543b2fb124"></a><!-- doxytag: member="Wt::WAbstractItemModel::headerData" ref="a86bbab7c809fce4de9b5cb543b2fb124" args="(int section, Orientation orientation=Horizontal, int role=DisplayRole) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::any Wt::WAbstractItemModel::headerData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em> = <code>Horizontal</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the row or column header data. </p>
<p>When <code>orientation</code> is <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912ac2ebf22b096a22b18eef23e736aa2e28">Horizontal</a>, <code>section</code> is a column number, when <code>orientation</code> is <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912af916b7ec24727db2d972f0770170c7f5">Vertical</a>, <code>section</code> is a row number.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a57f5d417f933440db0d38ece7dd370f4" title="Sets header data for a column or row.">setHeaderData()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#ae1db722a013d021eed3f71cb8e1995f6">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#abd144908bf36785333b43c48b437dbdd">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#accb1c7428e090aa881a30eefa15141c1">Wt::WAggregateProxyModel</a>, and <a class="el" href="classWt_1_1WBatchEditProxyModel.html#a2135855bcc45b5d2826cea48baa56bd0">Wt::WBatchEditProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="ade8f3edbd36f170c6e1199222802de0d"></a><!-- doxytag: member="Wt::WAbstractItemModel::headerDataChanged" ref="ade8f3edbd36f170c6e1199222802de0d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>, int, int&gt;&amp; Wt::WAbstractItemModel::headerDataChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when some header data was changed. </p>
<p>The first argument indicates the orientation of the header, and the two integer arguments are the row or column numbers of the first and last header item of which the value was changed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a57f5d417f933440db0d38ece7dd370f4" title="Sets header data for a column or row.">setHeaderData()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6bb2a7e70f816606351be4a23c453a49"></a><!-- doxytag: member="Wt::WAbstractItemModel::headerFlags" ref="a6bb2a7e70f816606351be4a23c453a49" args="(int section, Orientation orientation=Horizontal) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WFlags&lt; <a class="el" href="group__modelview.html#gafb18b4339442f1327c2a65850f3d8a53">HeaderFlag</a> &gt; Wt::WAbstractItemModel::headerFlags </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em> = <code>Horizontal</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the flags for a header. </p>
<p>The default implementation returns no flags set.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__modelview.html#gafb18b4339442f1327c2a65850f3d8a53" title="Flags that indicate table header options.">Wt::HeaderFlag</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a90bbd117c1a20c7627f36baceb551dcb">Wt::WSortFilterProxyModel</a>, and <a class="el" href="classWt_1_1WAggregateProxyModel.html#aad873c5eeb40d473bb7127cfc2022658">Wt::WAggregateProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="a83f37bf04b8574b328c139b02523b8cb"></a><!-- doxytag: member="Wt::WAbstractItemModel::index" ref="a83f37bf04b8574b328c139b02523b8cb" args="(int row, int column, const WModelIndex &amp;parent=WModelIndex()) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> Wt::WAbstractItemModel::index </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the child index for the given row and column. </p>
<p>When implementing this method, you can use <a class="el" href="classWt_1_1WAbstractItemModel.html#ac837a73fe423255035ffb076946de122" title="Creates a model index for the given row and column.">createIndex()</a> to create an index that corresponds to the item at <code>row</code> and <code>column</code> within <code>parent</code>.</p>
<p>If the location is invalid (out of bounds at the parent), then an invalid index must be returned.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ada454d45706ca0c1a0921dedd351c48c" title="Returns the parent for a model index.">parent()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a018f06cc89846655bd0db3c7a9eebfcb">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#a7733a1eacce2d55230776d6b472cf14c">Wt::WAggregateProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#a7f0f0e95b4ba9667e4f06e34a7a5551c">Wt::WBatchEditProxyModel</a>, <a class="el" href="classWt_1_1WAbstractListModel.html#a256e0cbdd9e62e1eef61063bd350d492">Wt::WAbstractListModel</a>, <a class="el" href="classWt_1_1WAbstractTableModel.html#a4f025afd9303676b1789dd336dfcbe7c">Wt::WAbstractTableModel</a>, and <a class="el" href="classWt_1_1WReadOnlyProxyModel.html#ae1cffc9438d8d73b89eae554450f595d">Wt::WReadOnlyProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="ad0e634e9fb1276703e41438e8aa50cca"></a><!-- doxytag: member="Wt::WAbstractItemModel::insertColumn" ref="ad0e634e9fb1276703e41438e8aa50cca" args="(int column, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::insertColumn </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts one column. </p>
<p>This is a convenience method that adds a single column, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns</a>(column, 1, parent);
</pre></div><p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1eded9eb68b9247ae2ff371f74a5e5f2"></a><!-- doxytag: member="Wt::WAbstractItemModel::insertColumns" ref="a1eded9eb68b9247ae2ff371f74a5e5f2" args="(int column, int count, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::insertColumns </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts one or more columns. </p>
<p>In models that support column insertion, this inserts <code>count</code> columns, starting at <code>column</code>, and returns <code>true</code> if the operation was successful. The new columns are inserted under <code>parent</code>.</p>
<p>The default implementation returns <code>false</code>.</p>
<p>The model implementation must call <a class="el" href="classWt_1_1WAbstractItemModel.html#a1b0c2b404763032e48637a2a3615b2b6" title="Method to be called before inserting columns.">beginInsertColumns()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422" title="Method to be called after inserting columns.">endInsertColumns()</a> before and after the operation whenever its geometry is changed by inserting columns. This emits signals for views to properly react to these changes.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a1b0c2b404763032e48637a2a3615b2b6" title="Method to be called before inserting columns.">beginInsertColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a2422779ff8af9d19c6bfd3e169c84422" title="Method to be called after inserting columns.">endInsertColumns()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WBatchEditProxyModel.html#a63a4d93bd9cdd8afd53842577b1e1e6c">Wt::WBatchEditProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="af4a389e8544fc887a24099c506c8bd7b"></a><!-- doxytag: member="Wt::WAbstractItemModel::insertRow" ref="af4a389e8544fc887a24099c506c8bd7b" args="(int row, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::insertRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts one row. </p>
<p>This is a convenience method that adds a single row, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows</a>(row, 1, parent);
</pre></div><p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abcafc38dc24fd9edf70eafe834ca411d"></a><!-- doxytag: member="Wt::WAbstractItemModel::insertRows" ref="abcafc38dc24fd9edf70eafe834ca411d" args="(int row, int count, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::insertRows </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts one or more rows. </p>
<p>In models that support row insertion, this inserts <code>count</code> rows, starting at <code>row</code>, and returns <code>true</code> if the operation was successful. The new rows are inserted under <code>parent</code>.</p>
<p>If parent had no children, then a single column is added with <code>count</code> rows.</p>
<p>The default implementation returns <code>false</code>.</p>
<p>The model implementation must call <a class="el" href="classWt_1_1WAbstractItemModel.html#a91e52898a805996aee496877cd090eb4" title="Method to be called before inserting rows.">beginInsertRows()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f" title="Method to be called after inserting rows.">endInsertRows()</a> before and after the operation whenever its geometry is changed by inserting rows. This emits signals for views to properly react to these changes.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a91e52898a805996aee496877cd090eb4" title="Method to be called before inserting rows.">beginInsertRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f" title="Method to be called after inserting rows.">endInsertRows()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a1fa3a689470e89d103ae4eadd2c88ae9">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a0a65e908c140bc48c5e0a5fb3ada12b8">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#a97785c5e723bf08412f229b5aa83f5f2">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#a0c22294fa02436654cde45e34a84a228">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="a74055362d502d80375c6599f6f8ea1cf"></a><!-- doxytag: member="Wt::WAbstractItemModel::itemData" ref="a74055362d502d80375c6599f6f8ea1cf" args="(const WModelIndex &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">WAbstractItemModel::DataMap</a> Wt::WAbstractItemModel::itemData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns all data at a specific index. </p>
<p>This is a convenience function that returns a map with data corresponding to all standard roles.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab377ac2fcb9de9d191bd1353665d1389"></a><!-- doxytag: member="Wt::WAbstractItemModel::layoutAboutToBeChanged" ref="ab377ac2fcb9de9d191bd1353665d1389" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&amp; Wt::WAbstractItemModel::layoutAboutToBeChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when the layout is about to be changed. </p>
<p>A layout change reorders the data in the model, but columns are preserved. Model indexes are invalidated by a layout change, but indexes may be ported across a layout change by using the <a class="el" href="classWt_1_1WAbstractItemModel.html#a5c4db8b3265c914f77efead35450f6dc" title="Converts a model index to a raw pointer that remains valid while the model&#39;s layout is changed...">toRawIndex()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#a85beaaea2e8609556543019618fd2a89" title="Converts a raw pointer to a model index.">fromRawIndex()</a> methods.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#afe7cb1d5186881f83aa8f0e452aaef66" title="Signal emitted when the layout is changed.">layoutChanged()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a5c4db8b3265c914f77efead35450f6dc" title="Converts a model index to a raw pointer that remains valid while the model&#39;s layout is changed...">toRawIndex()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a85beaaea2e8609556543019618fd2a89" title="Converts a raw pointer to a model index.">fromRawIndex()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afe7cb1d5186881f83aa8f0e452aaef66"></a><!-- doxytag: member="Wt::WAbstractItemModel::layoutChanged" ref="afe7cb1d5186881f83aa8f0e452aaef66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&amp; Wt::WAbstractItemModel::layoutChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when the layout is changed. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab377ac2fcb9de9d191bd1353665d1389" title="Signal emitted when the layout is about to be changed.">layoutAboutToBeChanged()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3da35dbccda1599067d1358458f2d48c"></a><!-- doxytag: member="Wt::WAbstractItemModel::match" ref="a3da35dbccda1599067d1358458f2d48c" args="(const WModelIndex &amp;start, int role, const boost::any &amp;value, int hits=&#45;1, WFlags&lt; MatchFlag &gt; flags=WFlags&lt; MatchFlag &gt;(MatchStartsWith|MatchWrap)) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WModelIndexList Wt::WAbstractItemModel::match </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hits</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&lt; <a class="el" href="group__modelview.html#gaad8dd5072a40c11a34ee548bfb20b2ba">MatchFlag</a> &gt;&#160;</td>
          <td class="paramname"><em>flags</em> = <code>WFlags&lt;<a class="el" href="group__modelview.html#gaad8dd5072a40c11a34ee548bfb20b2ba">MatchFlag</a>&gt;(MatchStartsWith						&#160;&#160;&#160;&#160;&#160;&#160;|&#160;MatchWrap)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an index list for data items that match. </p>
<p>Returns an index list of data items that match, starting at start, and searching further in that column. If flags specifies <a class="el" href="group__modelview.html#ggaad8dd5072a40c11a34ee548bfb20b2baa2e90a2f383a7da7e73e8f498e3f2faf5">MatchWrap </a> then the search wraps around from the start. If hits is not -1, then at most that number of hits are returned. </p>

</div>
</div>
<a class="anchor" id="a4c62d2cc18d133d7926a91b4f2eebe62"></a><!-- doxytag: member="Wt::WAbstractItemModel::mimeType" ref="a4c62d2cc18d133d7926a91b4f2eebe62" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::WAbstractItemModel::mimeType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a mime-type for dragging a set of indexes. </p>
<p>This method returns a mime-type that describes dragging of a selection of items.</p>
<p>The drop event will indicate a <a class="el" href="classWt_1_1WItemSelectionModel.html">selection model</a> for this abstract item model as <a class="el" href="classWt_1_1WDropEvent.html#adfe27a00e34b7322a52bc7dc73d4d5af">source</a>.</p>
<p>The default implementation returns a mime-type for generic drag&amp;drop support between abstract item models.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a9e92a29b30e3d4de1f6df9f505e952c2" title="Returns a list of mime-types that could be accepted for a drop event.">acceptDropMimeTypes()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae28a4ba2ce1dd93e7479dfa152a65efc"></a><!-- doxytag: member="Wt::WAbstractItemModel::modelReset" ref="ae28a4ba2ce1dd93e7479dfa152a65efc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&amp; Wt::WAbstractItemModel::modelReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when the model was reset. </p>
<p>A model reset invalidates all existing data, and the model may change its entire geometry (column count, row count).</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ae5ef6b96132d87e8310dcb22deedcd48" title="Resets the model and invalidate any data.">reset()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ada454d45706ca0c1a0921dedd351c48c"></a><!-- doxytag: member="Wt::WAbstractItemModel::parent" ref="ada454d45706ca0c1a0921dedd351c48c" args="(const WModelIndex &amp;index) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> Wt::WAbstractItemModel::parent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the parent for a model index. </p>
<p>An implementation should use <a class="el" href="classWt_1_1WAbstractItemModel.html#ac837a73fe423255035ffb076946de122" title="Creates a model index for the given row and column.">createIndex()</a> to create a model index that corresponds to the parent of a given index.</p>
<p>Note that the index itself may be stale (referencing a row/column within the parent that is outside the model geometry), but its parent (identified by the <a class="el" href="classWt_1_1WModelIndex.html#a44aabe692bba87ba144c1ab9a7f98eb3" title="Returns the internal pointer.">WModelIndex::internalPointer()</a>) is referencing an existing parent. A stale index can only be used while the model geometry is being updated, i.e. during the emission of the corresponding [rows/columns](Being)[Removed/Inserted]() signals.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a6ad76d2a537d2f8e3f6f084a10e493a3">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#abe70985414fe0634927f72dbfb8f5341">Wt::WAggregateProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#aa8811ff3b1dd5991b2b9db8064e05b0b">Wt::WBatchEditProxyModel</a>, <a class="el" href="classWt_1_1WAbstractListModel.html#ab5d047d66626660447a76f17109aef2e">Wt::WAbstractListModel</a>, <a class="el" href="classWt_1_1WAbstractTableModel.html#a44b9b329d82283646deeae136d83f656">Wt::WAbstractTableModel</a>, and <a class="el" href="classWt_1_1WReadOnlyProxyModel.html#ad8cc8e4d72ba28c37e35d552c94c1271">Wt::WReadOnlyProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="a7b46c63a32eb9ca9838a1a7cd5853552"></a><!-- doxytag: member="Wt::WAbstractItemModel::removeColumn" ref="a7b46c63a32eb9ca9838a1a7cd5853552" args="(int column, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::removeColumn </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes one column. </p>
<p>This is a convenience method that removes a single column, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns</a>(column, 1, parent);
</pre></div><p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a27428d1a02830336ec9db69c6d0b0762"></a><!-- doxytag: member="Wt::WAbstractItemModel::removeColumns" ref="a27428d1a02830336ec9db69c6d0b0762" args="(int column, int count, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::removeColumns </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes columns. </p>
<p>Returns <code>true</code> if the operation was successful.</p>
<p>The default implementation returns <code>false</code>.</p>
<p>The model implementation must call <a class="el" href="classWt_1_1WAbstractItemModel.html#a8dbef6f3633812d2df7289cb7cfb192b" title="Method to be called before removing columns.">beginRemoveColumns()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3" title="Method to be called after removing columns.">endRemoveColumns()</a> before and after the operation whenever its geometry is changed by removing columns. This emits signals for views to properly react to these changes.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a1eded9eb68b9247ae2ff371f74a5e5f2" title="Inserts one or more columns.">insertColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a8dbef6f3633812d2df7289cb7cfb192b" title="Method to be called before removing columns.">beginRemoveColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a840b32221ade669cb4e987f86203d1d3" title="Method to be called after removing columns.">endRemoveColumns()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WBatchEditProxyModel.html#aef5564b6f26a69adbe70db0e5282ca6f">Wt::WBatchEditProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="ada64c5f4d4eba6cecab2c1e443372cb3"></a><!-- doxytag: member="Wt::WAbstractItemModel::removeRow" ref="ada64c5f4d4eba6cecab2c1e443372cb3" args="(int row, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::removeRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes one row. </p>
<p>This is a convenience method that removes a single row, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows</a>(row, 1, parent);
</pre></div><p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a29cf3003ee8f97b2b5de9c52af27361a" title="Removes rows.">removeRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a29cf3003ee8f97b2b5de9c52af27361a"></a><!-- doxytag: member="Wt::WAbstractItemModel::removeRows" ref="a29cf3003ee8f97b2b5de9c52af27361a" args="(int row, int count, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::removeRows </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes rows. </p>
<p>Returns <code>true</code> if the operation was successful.</p>
<p>The default implementation returns <code>false</code>.</p>
<p>The model implementation must call <a class="el" href="classWt_1_1WAbstractItemModel.html#a5286cc70219c8d8d720abc255b0183f5" title="Method to be called before removing rows.">beginRemoveRows()</a> and <a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262" title="Method to be called after removing rows.">endRemoveRows()</a> before and after the operation whenever its geometry is changed by removing rows. This emits signals for views to properly react to these changes.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a27428d1a02830336ec9db69c6d0b0762" title="Removes columns.">removeColumns()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#abcafc38dc24fd9edf70eafe834ca411d" title="Inserts one or more rows.">insertRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a5286cc70219c8d8d720abc255b0183f5" title="Method to be called before removing rows.">beginRemoveRows()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262" title="Method to be called after removing rows.">endRemoveRows()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#aedeb2af32798348d92ee0f7e9ec7daf8">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#ac05897acd82abbe355dc57c79a2d01be">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#aa1d5a9dd393f237a001bc6497b85af66">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#a5d73ec0b7b622a4117afaebea3d4ce6b">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="ae5ef6b96132d87e8310dcb22deedcd48"></a><!-- doxytag: member="Wt::WAbstractItemModel::reset" ref="ae5ef6b96132d87e8310dcb22deedcd48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets the model and invalidate any data. </p>
<p>Informs any attached view that all data in the model was invalidated, and the model's data should be reread.</p>
<p>This causes the <a class="el" href="classWt_1_1WAbstractItemModel.html#ae28a4ba2ce1dd93e7479dfa152a65efc" title="Signal emitted when the model was reset.">modelReset()</a> signal to be emitted. </p>

</div>
</div>
<a class="anchor" id="ab0709a8f71fd5df882f29bb29fd055f0"></a><!-- doxytag: member="Wt::WAbstractItemModel::rowCount" ref="ab0709a8f71fd5df882f29bb29fd055f0" args="(const WModelIndex &amp;parent=WModelIndex()) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Wt::WAbstractItemModel::rowCount </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of rows. </p>
<p>This returns the number of rows at index <code>parent</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#abcf7912a95a0a60f8e9b1c37d30b8383" title="Returns the number of columns.">columnCount()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#aef02f2ff4377322475c25a8c2dfaffb1">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#aa4d6d01a9ec7bbdb1d77f31fbd332791">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#abef979ff954c636e6a2b5b3d429a06a0">Wt::WAggregateProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#ac1691a899a5fba66cbcfabd518b3348c">Wt::WBatchEditProxyModel</a>, <a class="el" href="classWt_1_1WStringListModel.html#a81138b8b606df663cc7163265a9b0644">Wt::WStringListModel</a>, and <a class="el" href="classWt_1_1WReadOnlyProxyModel.html#a769b530620baa4bc41be931a1e3dde83">Wt::WReadOnlyProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="a8c0a94560a23519cac3e7cfb983af525"></a><!-- doxytag: member="Wt::WAbstractItemModel::rowsAboutToBeInserted" ref="a8c0a94560a23519cac3e7cfb983af525" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::rowsAboutToBeInserted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted before a number of rows will be inserted. </p>
<p>The first argument is the parent index. The two integer arguments are the row numbers that the first and last row will have when inserted.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a54c971088bb9b424f97fe31c17f8f12f" title="Signal emitted after a number of rows were inserted.">rowsInserted()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a91e52898a805996aee496877cd090eb4" title="Method to be called before inserting rows.">beginInsertRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a530ab7bb31240fafe0a3c88c9f4efc4f"></a><!-- doxytag: member="Wt::WAbstractItemModel::rowsAboutToBeRemoved" ref="a530ab7bb31240fafe0a3c88c9f4efc4f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::rowsAboutToBeRemoved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted before a number of rows will be removed. </p>
<p>The first argument is the parent index. The two integer arguments are the row numbers of the first and last row that will be removed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a0f73bbfb08f2739ac12881f62a61bc7f" title="Signal emitted after a number of rows were removed.">rowsRemoved()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a5286cc70219c8d8d720abc255b0183f5" title="Method to be called before removing rows.">beginRemoveRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a54c971088bb9b424f97fe31c17f8f12f"></a><!-- doxytag: member="Wt::WAbstractItemModel::rowsInserted" ref="a54c971088bb9b424f97fe31c17f8f12f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::rowsInserted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted after a number of rows were inserted. </p>
<p>The first argument is the parent index. The two integer arguments are the row numbers of the first and last row that were inserted.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a8c0a94560a23519cac3e7cfb983af525" title="Signal emitted before a number of rows will be inserted.">rowsAboutToBeInserted()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#ace03c0bc5b0b57b6add882aaf444b62f" title="Method to be called after inserting rows.">endInsertRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0f73bbfb08f2739ac12881f62a61bc7f"></a><!-- doxytag: member="Wt::WAbstractItemModel::rowsRemoved" ref="a0f73bbfb08f2739ac12881f62a61bc7f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>, int, int&gt;&amp; Wt::WAbstractItemModel::rowsRemoved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted after a number of rows were removed. </p>
<p>The first argument is the parent index. The two integer arguments are the row numbers of the first and last row that were removed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a530ab7bb31240fafe0a3c88c9f4efc4f" title="Signal emitted before a number of rows will be removed.">rowsAboutToBeRemoved()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#afceaf639f2a5088f45c00f03d550f262" title="Method to be called after removing rows.">endRemoveRows()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a70856db8c322be8c7f397a932165a943"></a><!-- doxytag: member="Wt::WAbstractItemModel::setData" ref="a70856db8c322be8c7f397a932165a943" args="(const WModelIndex &amp;index, const boost::any &amp;value, int role=EditRole)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::setData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>EditRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets data at the given model index. </p>
<p>Returns <code>true</code> if the operation was successful.</p>
<p>The default implementation returns <code>false</code>.</p>
<p>The model implementation must emit the <a class="el" href="classWt_1_1WAbstractItemModel.html#aa074e5bc55394252a609ef17d071b563" title="Signal emitted when some data was changed.">dataChanged()</a> signal after data was changed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a9112b74d160f916ef75fb6c1c09dd8fe" title="Returns data at a specific model index.">data()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a1ea1331951d8bcef98caec5ac291a945">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#af192deaa2b48479bdc594d5cc4b4caee">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#a9a650aa1d48d5e634573c930a5f62b45">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="adf3aee29503da7f4a78bafeb96956195"></a><!-- doxytag: member="Wt::WAbstractItemModel::setData" ref="adf3aee29503da7f4a78bafeb96956195" args="(int row, int column, const boost::any &amp;value, int role=EditRole, const WModelIndex &amp;parent=WModelIndex())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::setData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>EditRole</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code><a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets data at the given row and column. </p>
<p>This is a convience method, and is equivalent to: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData</a>(<a class="code" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index</a>(row, column, parent), value, role);
</pre></div><p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a83f37bf04b8574b328c139b02523b8cb" title="Returns the child index for the given row and column.">index()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a57f5d417f933440db0d38ece7dd370f4"></a><!-- doxytag: member="Wt::WAbstractItemModel::setHeaderData" ref="a57f5d417f933440db0d38ece7dd370f4" args="(int section, Orientation orientation, const boost::any &amp;value, int role=EditRole)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::setHeaderData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>EditRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets header data for a column or row. </p>
<p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a86bbab7c809fce4de9b5cb543b2fb124" title="Returns the row or column header data.">headerData()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a3dbc22ccd31427afbcb69a7fe85254ab">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a54eea17b2e88ebebcdba479f2f2ffc9c">Wt::WSortFilterProxyModel</a>, and <a class="el" href="classWt_1_1WAggregateProxyModel.html#ae70467185337c5ef4fd1a14a2f1397f8">Wt::WAggregateProxyModel</a>.</p>

</div>
</div>
<a class="anchor" id="afad1dffa150e21c73f71802d9784279f"></a><!-- doxytag: member="Wt::WAbstractItemModel::setHeaderData" ref="afad1dffa150e21c73f71802d9784279f" args="(int section, const boost::any &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::setHeaderData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets column header data. </p>
<p>Returns <code>true</code> if the operation was successful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a57f5d417f933440db0d38ece7dd370f4" title="Sets header data for a column or row.">setHeaderData(int, Orientation, const boost::any&amp;, int)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac60d1042bf1bcea9c262d3de30c520fd"></a><!-- doxytag: member="Wt::WAbstractItemModel::setItemData" ref="ac60d1042bf1bcea9c262d3de30c520fd" args="(const WModelIndex &amp;index, const DataMap &amp;values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WAbstractItemModel::setItemData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WAbstractItemModel.html#a2e3827f2fab4fb171077dcfced9078b2">DataMap</a> &amp;&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets data at the given model index. </p>
<p>This is a convenience function that sets data for all roles at once.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#a70856db8c322be8c7f397a932165a943" title="Sets data at the given model index.">setData()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a133931424d4daa8422bcdea911cda713"></a><!-- doxytag: member="Wt::WAbstractItemModel::sort" ref="a133931424d4daa8422bcdea911cda713" args="(int column, SortOrder order=AscendingOrder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WAbstractItemModel::sort </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__modelview.html#ga4173856040cf108a9c7360927a43ebac">SortOrder</a>&#160;</td>
          <td class="paramname"><em>order</em> = <code>AscendingOrder</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sorts the model according to a particular column. </p>
<p>If the model supports sorting, then it should emit the <a class="el" href="classWt_1_1WAbstractItemModel.html#ab377ac2fcb9de9d191bd1353665d1389" title="Signal emitted when the layout is about to be changed.">layoutAboutToBeChanged()</a> signal, rearrange its items, and afterwards emit the <a class="el" href="classWt_1_1WAbstractItemModel.html#afe7cb1d5186881f83aa8f0e452aaef66" title="Signal emitted when the layout is changed.">layoutChanged()</a> signal.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab377ac2fcb9de9d191bd1353665d1389" title="Signal emitted when the layout is about to be changed.">layoutAboutToBeChanged()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#afe7cb1d5186881f83aa8f0e452aaef66" title="Signal emitted when the layout is changed.">layoutChanged()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WStandardItemModel.html#a884ad9c56cee759be868b3db5c520ee2">Wt::WStandardItemModel</a>, <a class="el" href="classWt_1_1Dbo_1_1QueryModel.html#a7fcf4f35898f3808fdc650427173bf96">Wt::Dbo::QueryModel&lt; Result &gt;</a>, <a class="el" href="classWt_1_1WSortFilterProxyModel.html#a119a5cdf51974371db37ae6972e5955b">Wt::WSortFilterProxyModel</a>, <a class="el" href="classWt_1_1WAggregateProxyModel.html#aa5fc80d856911d48ed0bd2efd5c376e2">Wt::WAggregateProxyModel</a>, <a class="el" href="classWt_1_1WBatchEditProxyModel.html#a4a4a4cba01f2efd30b5af8ae8de7e14c">Wt::WBatchEditProxyModel</a>, and <a class="el" href="classWt_1_1WStringListModel.html#a3cc26548b0301db88afc8a52a59e8f55">Wt::WStringListModel</a>.</p>

</div>
</div>
<a class="anchor" id="a5c4db8b3265c914f77efead35450f6dc"></a><!-- doxytag: member="Wt::WAbstractItemModel::toRawIndex" ref="a5c4db8b3265c914f77efead35450f6dc" args="(const WModelIndex &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * Wt::WAbstractItemModel::toRawIndex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WModelIndex.html">WModelIndex</a> &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts a model index to a raw pointer that remains valid while the model's layout is changed. </p>
<p>Use this method to temporarily save model indexes while the model's layout is changed by for example a sorting operation.</p>
<p>The default implementation returns <code>0</code>, which indicates that the index cannot be converted to a raw pointer. If you reimplement this method, you also need to reimplemnt <a class="el" href="classWt_1_1WAbstractItemModel.html#a85beaaea2e8609556543019618fd2a89" title="Converts a raw pointer to a model index.">fromRawIndex()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WAbstractItemModel.html#ab377ac2fcb9de9d191bd1353665d1389" title="Signal emitted when the layout is about to be changed.">layoutAboutToBeChanged</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a133931424d4daa8422bcdea911cda713" title="Sorts the model according to a particular column.">sort()</a>, <a class="el" href="classWt_1_1WAbstractItemModel.html#a85beaaea2e8609556543019618fd2a89" title="Converts a raw pointer to a model index.">fromRawIndex()</a> </dd></dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>