1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
|
<!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 examples: FileModel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</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 examples
 <span id="projectnumber">3.2.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</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>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> </div>
<div class="headertitle">
<div class="title">FileModel Class Reference<div class="ingroups"><a class="el" href="group__treeviewdragdrop.html">Drag and drop in WTreeView example</a></div></div> </div>
</div>
<div class="contents">
<!-- doxytag: class="FileModel" --><!-- doxytag: inherits="Wt::WStandardItemModel" -->
<p>A specialized standard item model which report a specific drag and drop mime type.
<a href="classFileModel.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for FileModel:</div>
<div class="dyncontent">
<div class="center"><img src="classFileModel__inherit__graph.png" border="0" usemap="#FileModel_inherit__map" alt="Inheritance graph"/></div>
<map name="FileModel_inherit__map" id="FileModel_inherit__map">
<area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WStandardItemModel.html" title="Wt::WStandardItemModel" alt="" coords="5,155,176,181"/><area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WAbstractItemModel.html" title="Wt::WAbstractItemModel" alt="" coords="7,80,175,107"/><area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WObject.html" title="Wt::WObject" alt="" coords="43,5,139,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classFileModel-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileModel.html#ad4119fe945be59b73258454065b70a44">FileModel</a> (<a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WObject.html">WObject</a> *<a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WAbstractItemModel.html#ada454d45706ca0c1a0921dedd351c48c">parent</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ad4119fe945be59b73258454065b70a44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileModel.html#a1d1b5545d4f6763071536ec8ce6bc2e6">mimeType</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the mime type. <a href="#a1d1b5545d4f6763071536ec8ce6bc2e6"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#gaf69754b77374aac3aa0eed57360fbb7f">dateDisplayFormat</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Date display format. <a href="group__treeviewdragdrop.html#gaf69754b77374aac3aa0eed57360fbb7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#ga7bb540f8c352707933d4bd36c8282aba">dateEditFormat</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Date edit format. <a href="group__treeviewdragdrop.html#ga7bb540f8c352707933d4bd36c8282aba"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A specialized standard item model which report a specific drag and drop mime type. </p>
<p>A specific drag and drop mime type instead of the generic abstract item model is returned by the model. </p>
<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00051">51</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ad4119fe945be59b73258454065b70a44"></a><!-- doxytag: member="FileModel::FileModel" ref="ad4119fe945be59b73258454065b70a44" args="(WObject *parent)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FileModel::FileModel </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WObject.html">WObject</a> * </td>
<td class="paramname"><em>parent</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor. </p>
<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00056">56</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment"> : <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WStandardItemModel.html#ac196f72fe7716da075fd07733b1c1b6f">WStandardItemModel</a>(parent) { }
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1d1b5545d4f6763071536ec8ce6bc2e6"></a><!-- doxytag: member="FileModel::mimeType" ref="a1d1b5545d4f6763071536ec8ce6bc2e6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string FileModel::mimeType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the mime type. </p>
<p>Reimplemented from <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WAbstractItemModel.html#a4c62d2cc18d133d7926a91b4f2eebe62">Wt::WAbstractItemModel</a>.</p>
<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00061">61</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment"> {
<span class="keywordflow">return</span> <a class="code" href="classFolderView.html#af50f30fffaedf2e6e4b1e0d65acc9df0" title="Constant that indicates the mime type for a selection of files.">FolderView::FileSelectionMimeType</a>;
}
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/koen/project/wt/public-git/wt/examples/treeview-dragdrop/<a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a></li>
</ul>
</div>
<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Fri Mar 30 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by <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>
|