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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt examples: FileModel Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<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 class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>FileModel Class Reference<br>
<small>
[<a class="el" href="group__treeviewdragdrop.html">Drag and drop in WTreeView example</a>]</small>
</h1><!-- doxytag: class="FileModel" --><!-- doxytag: inherits="Wt::WStandardItemModel" -->A specialized standard item model which report a specific drag and drop mime type.
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for FileModel:</div>
<div class="dynsection">
<p><center><img src="classFileModel__inherit__graph.png" border="0" usemap="#FileModel__inherit__map" alt="Inheritance graph"></center>
<map name="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="8,80,173,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><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classFileModel-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileModel.html#d4119fe945be59b73258454065b70a44">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#da454d45706ca0c1a0921dedd351c48c">parent</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#d4119fe945be59b73258454065b70a44"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileModel.html#1d1b5545d4f6763071536ec8ce6bc2e6">mimeType</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the mime type. <a href="#1d1b5545d4f6763071536ec8ce6bc2e6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap 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#gf69754b77374aac3aa0eed57360fbb7f">dateDisplayFormat</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Date display format. <a href="group__treeviewdragdrop.html#gf69754b77374aac3aa0eed57360fbb7f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#g7bb540f8c352707933d4bd36c8282aba">dateEditFormat</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Date edit format. <a href="group__treeviewdragdrop.html#g7bb540f8c352707933d4bd36c8282aba"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A specialized standard item model which report a specific drag and drop mime type.
<p>
A specific drag and drop mime type instead of the generic abstract item model is returned by the model.
<p>Definition at line <a class="el" href="TreeViewDragDrop_8C-source.html#l00049">49</a> of file <a class="el" href="TreeViewDragDrop_8C-source.html">TreeViewDragDrop.C</a>.</p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="d4119fe945be59b73258454065b70a44"></a><!-- doxytag: member="FileModel::FileModel" ref="d4119fe945be59b73258454065b70a44" 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#l00054">54</a> of file <a class="el" href="TreeViewDragDrop_8C-source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00055"></a>00055 : <a class="codeRef" doxygen="wt.tags:../../reference/html/" href="../../reference/html/classWt_1_1WStandardItemModel.html#c196f72fe7716da075fd07733b1c1b6f">WStandardItemModel</a>(parent) { }
</pre></div>
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1d1b5545d4f6763071536ec8ce6bc2e6"></a><!-- doxytag: member="FileModel::mimeType" ref="1d1b5545d4f6763071536ec8ce6bc2e6" 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#4c62d2cc18d133d7926a91b4f2eebe62">Wt::WAbstractItemModel</a>.</p>
<p>Definition at line <a class="el" href="TreeViewDragDrop_8C-source.html#l00059">59</a> of file <a class="el" href="TreeViewDragDrop_8C-source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00059"></a>00059 {
<a name="l00060"></a>00060 <span class="keywordflow">return</span> <a class="code" href="classFolderView.html#f50f30fffaedf2e6e4b1e0d65acc9df0" title="Constant that indicates the mime type for a selection of files.">FolderView::FileSelectionMimeType</a>;
<a name="l00061"></a>00061 }
</pre></div>
<p>
</div>
</div><p>
<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></ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:12 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|