Changeset a218bf2cb2 in tspsg for docs/html/class_c_t_s_p_model.html
- Timestamp:
- Dec 7, 2009, 5:50:18 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 53f11f0e6c
- Parents:
- 0ac9690913
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/html/class_c_t_s_p_model.html
r0ac9690913 ra218bf2cb2 81 81 <ul> 82 82 <li><a href="annotated.html"><span>Class List</span></a></li> 83 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> 83 84 <li><a href="functions.html"><span>Class Members</span></a></li> 84 85 </ul> … … 86 87 </div> 87 88 <div class="contents"> 88 <h1>CTSPModel Class Reference</h1><!-- doxytag: class="CTSPModel" --> 89 <h1>CTSPModel Class Reference</h1><!-- doxytag: class="CTSPModel" --><!-- doxytag: inherits="QAbstractTableModel" --> 89 90 <p>This class implements table model for manipulating a task. 90 91 <a href="#_details">More...</a></p> 91 92 92 93 <p><code>#include <<a class="el" href="tspmodel_8h_source.html">tspmodel.h</a>></code></p> 94 <div class="dynheader"> 95 Inheritance diagram for CTSPModel:</div> 96 <div class="dynsection"> 97 <div class="center"><img src="class_c_t_s_p_model__inherit__graph.png" border="0" usemap="#_c_t_s_p_model_inherit__map" alt="Inheritance graph"/></div> 98 <map name="_c_t_s_p_model_inherit__map" id="_c_t_s_p_model_inherit__map"> 99 <area shape="rect" id="node2" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html" title="QAbstractTableModel" alt="" coords="5,6,152,34"/> 100 </map> 101 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> 102 <div class="dynheader"> 103 Collaboration diagram for CTSPModel:</div> 104 <div class="dynsection"> 105 <div class="center"><img src="class_c_t_s_p_model__coll__graph.png" border="0" usemap="#_c_t_s_p_model_coll__map" alt="Collaboration graph"/></div> 106 <map name="_c_t_s_p_model_coll__map" id="_c_t_s_p_model_coll__map"> 107 <area shape="rect" id="node2" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html" title="QAbstractTableModel" alt="" coords="5,6,152,34"/> 108 <area shape="rect" id="node4" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvector.html" title="QVector\< QVector\< double \> \>" alt="" coords="176,6,379,34"/> 109 <area shape="rect" id="node6" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html" title="QSettings" alt="" coords="403,6,483,34"/> 110 </map> 111 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> 93 112 94 113 <p><a href="class_c_t_s_p_model-members.html">List of all members.</a></p> … … 98 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">This signal is emitted whenever the number of cities in the task changes. <a href="#a733908abe1ffabf49ad34ccdabaeeee9"></a><br/></td></tr> 99 118 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 100 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a50a24986bc34b37c6c3b7bb52371b837">CTSPModel</a> ( QObject*parent=0)</td></tr>119 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a50a24986bc34b37c6c3b7bb52371b837">CTSPModel</a> (<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qobject.html">QObject</a> *parent=0)</td></tr> 101 120 <tr><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="#a50a24986bc34b37c6c3b7bb52371b837"></a><br/></td></tr> 102 121 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a4944812fdf6d348735db401f966b4f4a">clear</a> ()</td></tr> 103 122 <tr><td class="mdescLeft"> </td><td class="mdescRight">Resets the table, setting all its elements to 0. <a href="#a4944812fdf6d348735db401f966b4f4a"></a><br/></td></tr> 104 <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a 94b2639d6b65af914ce17b816ddc3572">columnCount</a> (const QModelIndex &) const </td></tr>105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the column count in the table. <a href="#a 94b2639d6b65af914ce17b816ddc3572"></a><br/></td></tr>106 <tr><td class="memItemLeft" align="right" valign="top"> QVariant </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ab8ccba12783303f239f92fe72b48793e">data</a> (const QModelIndex &, int) const </td></tr>107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data stored under the given <em>role</em> for the item referred to by the <em>index</em>. <a href="#a b8ccba12783303f239f92fe72b48793e"></a><br/></td></tr>108 <tr><td class="memItemLeft" align="right" valign="top">Qt::ItemFlags </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a 057b15ee4fc0f8c7b5648188b8173db6">flags</a> (const QModelIndex &) const </td></tr>109 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the item flags for the given <em>index</em>. <a href="#a 057b15ee4fc0f8c7b5648188b8173db6"></a><br/></td></tr>110 <tr><td class="memItemLeft" align="right" valign="top"> QVariant </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a425d9678b2c2c63cf00fabb5643a2615">headerData</a> (int, Qt::Orientation, int) const </td></tr>111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data for the given <em>role</em> and <em>section</em> in the header with the specified <em>orientation</em>. <a href="#a 425d9678b2c2c63cf00fabb5643a2615"></a><br/></td></tr>112 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a b2827e0bdb3246ade67df5a09805524a">loadTask</a> (QString)</td></tr>113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a task from <em>fname</em>. <a href="#a b2827e0bdb3246ade67df5a09805524a"></a><br/></td></tr>123 <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ac1942bbffc1313543641881e456f2e55">columnCount</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &parent=<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a>()) const </td></tr> 124 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the column count in the table. <a href="#ac1942bbffc1313543641881e456f2e55"></a><br/></td></tr> 125 <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#aad200081a43582e766096807c04227dc">data</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html#index">index</a>, int role=Qt::DisplayRole) const </td></tr> 126 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data stored under the given <em>role</em> for the item referred to by the <em>index</em>. <a href="#aad200081a43582e766096807c04227dc"></a><br/></td></tr> 127 <tr><td class="memItemLeft" align="right" valign="top">Qt::ItemFlags </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a77881106624bfc203fb97bffe0d7b585">flags</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html#index">index</a>) const </td></tr> 128 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the item flags for the given <em>index</em>. <a href="#a77881106624bfc203fb97bffe0d7b585"></a><br/></td></tr> 129 <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a8c716850f6c31fa42b219d7f84038d71">headerData</a> (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const </td></tr> 130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data for the given <em>role</em> and <em>section</em> in the header with the specified <em>orientation</em>. <a href="#a8c716850f6c31fa42b219d7f84038d71"></a><br/></td></tr> 131 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ae25b1d25b13488fde89e381152c62549">loadTask</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &fname)</td></tr> 132 <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a task from <em>fname</em>. <a href="#ae25b1d25b13488fde89e381152c62549"></a><br/></td></tr> 114 133 <tr><td class="memItemLeft" align="right" valign="top">quint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e">numCities</a> () const </td></tr> 115 134 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of cities. <a href="#a4fcde91257e57ba0e9754418cb83148e"></a><br/></td></tr> 116 135 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ad18e48dd0b0ad56d8e4ae3b1bc039e4a">randomize</a> ()</td></tr> 117 136 <tr><td class="mdescLeft"> </td><td class="mdescRight">Randomizes the table by setting all its values to random ones. <a href="#ad18e48dd0b0ad56d8e4ae3b1bc039e4a"></a><br/></td></tr> 118 <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a 7f00cebe4cf0fed16f734544c81103f9">rowCount</a> (const QModelIndex &) const </td></tr>119 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the row count in the table. <a href="#a 7f00cebe4cf0fed16f734544c81103f9"></a><br/></td></tr>120 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#aa e606273bf2ad5d76779e00901d76593">saveTask</a> (QString)</td></tr>121 <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves current task to <em>fname</em>. <a href="#aa e606273bf2ad5d76779e00901d76593"></a><br/></td></tr>122 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a 4bb074d84c35fa350a55ca78b41e967f">setData</a> (const QModelIndex &, const QVariant &, int)</td></tr>123 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>role</em> data for the item at <em>index</em> to <em>value</em>. <a href="#a 4bb074d84c35fa350a55ca78b41e967f"></a><br/></td></tr>124 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a 5c485ac77762dbf4e27fb6d8d0664e3c">setNumCities</a> (int)</td></tr>125 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets number of cities in the current task to <em>n</em>. <a href="#a 5c485ac77762dbf4e27fb6d8d0664e3c"></a><br/></td></tr>137 <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a419c2b9d40fc2f348b15ae02f442a39b">rowCount</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &parent=<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a>()) const </td></tr> 138 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the row count in the table. <a href="#a419c2b9d40fc2f348b15ae02f442a39b"></a><br/></td></tr> 139 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#aa73d906286cf369d9e6352348e1aca61">saveTask</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &fname)</td></tr> 140 <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves current task to <em>fname</em>. <a href="#aa73d906286cf369d9e6352348e1aca61"></a><br/></td></tr> 141 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a614a0e748bdf52c504a0284c07a977ed">setData</a> (const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html#index">index</a>, const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> &value, int role=Qt::EditRole)</td></tr> 142 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>role</em> data for the item at <em>index</em> to <em>value</em>. <a href="#a614a0e748bdf52c504a0284c07a977ed"></a><br/></td></tr> 143 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#aff717cb92ce6426033e85716644b9cef">setNumCities</a> (int n)</td></tr> 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets number of cities in the current task to <em>n</em>. <a href="#aff717cb92ce6426033e85716644b9cef"></a><br/></td></tr> 126 145 </table> 127 146 <hr/><a name="_details"></a><h2>Detailed Description</h2> … … 136 155 <td class="memname">CTSPModel::CTSPModel </td> 137 156 <td>(</td> 138 <td class="paramtype"> QObject* </td>157 <td class="paramtype"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qobject.html">QObject</a> * </td> 139 158 <td class="paramname"> <em>parent</em> = <code>0</code></td> 140 159 <td> ) </td> … … 174 193 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ad18e48dd0b0ad56d8e4ae3b1bc039e4a" title="Randomizes the table by setting all its values to random ones.">randomize()</a> </dd></dl> 175 194 176 </div> 177 </div> 178 <a class="anchor" id="a94b2639d6b65af914ce17b816ddc3572"></a><!-- doxytag: member="CTSPModel::columnCount" ref="a94b2639d6b65af914ce17b816ddc3572" args="(const QModelIndex &) const " --> 195 <p><div class="dynheader"> 196 Here is the call graph for this function:</div> 197 <div class="dynsection"> 198 <div class="center"><img src="class_c_t_s_p_model_a4944812fdf6d348735db401f966b4f4a_cgraph.png" border="0" usemap="#class_c_t_s_p_model_a4944812fdf6d348735db401f966b4f4a_cgraph_map" alt=""></div> 199 <map name="class_c_t_s_p_model_a4944812fdf6d348735db401f966b4f4a_cgraph_map" id="class_c_t_s_p_model_a4944812fdf6d348735db401f966b4f4a_cgraph"> 200 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html#index" title="QAbstractTableModel::index" alt="" coords="183,5,367,33"/> 201 </map> 202 </div> 203 </p> 204 205 </div> 206 </div> 207 <a class="anchor" id="ac1942bbffc1313543641881e456f2e55"></a><!-- doxytag: member="CTSPModel::columnCount" ref="ac1942bbffc1313543641881e456f2e55" args="(const QModelIndex &parent=QModelIndex()) const " --> 179 208 <div class="memitem"> 180 209 <div class="memproto"> … … 183 212 <td class="memname">int CTSPModel::columnCount </td> 184 213 <td>(</td> 185 <td class="paramtype">const QModelIndex& </td>186 <td class="paramname"> </td>214 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> & </td> 215 <td class="paramname"> <em>parent</em> = <code><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a>()</code></td> 187 216 <td> ) </td> 188 217 <td> const</td> … … 195 224 <dl class="return"><dt><b>Returns:</b></dt><dd>Number of columns in the table.</dd></dl> 196 225 <p>Actually, this function returns the number of cities in the current task.</p> 197 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e" title="Returns the number of cities.">numCities()</a>, <a class="el" href="class_c_t_s_p_model.html#a 7f00cebe4cf0fed16f734544c81103f9" title="Returns the row count in the table.">rowCount()</a> </dd></dl>198 199 </div> 200 </div> 201 <a class="anchor" id="a b8ccba12783303f239f92fe72b48793e"></a><!-- doxytag: member="CTSPModel::data" ref="ab8ccba12783303f239f92fe72b48793e" args="(const QModelIndex &, int) const " -->202 <div class="memitem"> 203 <div class="memproto"> 204 <table class="memname"> 205 <tr> 206 <td class="memname"> QVariantCTSPModel::data </td>207 <td>(</td> 208 <td class="paramtype">const QModelIndex& </td>226 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e" title="Returns the number of cities.">numCities()</a>, <a class="el" href="class_c_t_s_p_model.html#a419c2b9d40fc2f348b15ae02f442a39b" title="Returns the row count in the table.">rowCount()</a> </dd></dl> 227 228 </div> 229 </div> 230 <a class="anchor" id="aad200081a43582e766096807c04227dc"></a><!-- doxytag: member="CTSPModel::data" ref="aad200081a43582e766096807c04227dc" args="(const QModelIndex &index, int role=Qt::DisplayRole) const " --> 231 <div class="memitem"> 232 <div class="memproto"> 233 <table class="memname"> 234 <tr> 235 <td class="memname"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> CTSPModel::data </td> 236 <td>(</td> 237 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> & </td> 209 238 <td class="paramname"> <em>index</em>, </td> 210 239 </tr> … … 213 242 <td></td> 214 243 <td class="paramtype">int </td> 215 <td class="paramname"> <em>role</em> </td><td> </td>244 <td class="paramname"> <em>role</em> = <code>Qt::DisplayRole</code></td><td> </td> 216 245 </tr> 217 246 <tr> … … 233 262 </dl> 234 263 <dl class="return"><dt><b>Returns:</b></dt><dd>Corresponding data.</dd></dl> 235 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a 4bb074d84c35fa350a55ca78b41e967f" title="Sets the role data for the item at index to value.">setData()</a>, <a class="el" href="class_c_t_s_p_model.html#a425d9678b2c2c63cf00fabb5643a2615" title="Returns the data for the given role and section in the header with the specified...">headerData()</a> </dd></dl>264 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a614a0e748bdf52c504a0284c07a977ed" title="Sets the role data for the item at index to value.">setData()</a>, <a class="el" href="class_c_t_s_p_model.html#a8c716850f6c31fa42b219d7f84038d71" title="Returns the data for the given role and section in the header with the specified...">headerData()</a> </dd></dl> 236 265 237 266 <p><dl class="hacks"><dt><b><a class="el" href="hacks.html#_hacks000001">Hack:</a></b></dt><dd>HACK: Converting to string to prevent spinbox in edit mode </dd></dl> 238 267 </p> 239 268 240 </div> 241 </div> 242 <a class="anchor" id="a057b15ee4fc0f8c7b5648188b8173db6"></a><!-- doxytag: member="CTSPModel::flags" ref="a057b15ee4fc0f8c7b5648188b8173db6" args="(const QModelIndex &) const " --> 269 <p><div class="dynheader"> 270 Here is the call graph for this function:</div> 271 <div class="dynsection"> 272 <div class="center"><img src="class_c_t_s_p_model_aad200081a43582e766096807c04227dc_cgraph.png" border="0" usemap="#class_c_t_s_p_model_aad200081a43582e766096807c04227dc_cgraph_map" alt=""></div> 273 <map name="class_c_t_s_p_model_aad200081a43582e766096807c04227dc_cgraph_map" id="class_c_t_s_p_model_aad200081a43582e766096807c04227dc_cgraph"> 274 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#column" title="QModelIndex::column" alt="" coords="180,5,327,33"/> 275 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#isValid" title="QModelIndex::isValid" alt="" coords="181,55,325,83"/> 276 <area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#row" title="QModelIndex::row" alt="" coords="191,106,316,134"/> 277 <area shape="rect" id="node9" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfont.html#setBold" title="QFont::setBold" alt="" coords="199,157,308,185"/> 278 </map> 279 </div> 280 </p> 281 282 </div> 283 </div> 284 <a class="anchor" id="a77881106624bfc203fb97bffe0d7b585"></a><!-- doxytag: member="CTSPModel::flags" ref="a77881106624bfc203fb97bffe0d7b585" args="(const QModelIndex &index) const " --> 243 285 <div class="memitem"> 244 286 <div class="memproto"> … … 247 289 <td class="memname">Qt::ItemFlags CTSPModel::flags </td> 248 290 <td>(</td> 249 <td class="paramtype">const QModelIndex& </td>291 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> & </td> 250 292 <td class="paramname"> <em>index</em></td> 251 293 <td> ) </td> … … 265 307 <dl class="return"><dt><b>Returns:</b></dt><dd>Corresponding item flags. </dd></dl> 266 308 267 </div> 268 </div> 269 <a class="anchor" id="a425d9678b2c2c63cf00fabb5643a2615"></a><!-- doxytag: member="CTSPModel::headerData" ref="a425d9678b2c2c63cf00fabb5643a2615" args="(int, Qt::Orientation, int) const " --> 270 <div class="memitem"> 271 <div class="memproto"> 272 <table class="memname"> 273 <tr> 274 <td class="memname">QVariant CTSPModel::headerData </td> 309 <p><div class="dynheader"> 310 Here is the call graph for this function:</div> 311 <div class="dynsection"> 312 <div class="center"><img src="class_c_t_s_p_model_a77881106624bfc203fb97bffe0d7b585_cgraph.png" border="0" usemap="#class_c_t_s_p_model_a77881106624bfc203fb97bffe0d7b585_cgraph_map" alt=""></div> 313 <map name="class_c_t_s_p_model_a77881106624bfc203fb97bffe0d7b585_cgraph_map" id="class_c_t_s_p_model_a77881106624bfc203fb97bffe0d7b585_cgraph"> 314 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#column" title="QModelIndex::column" alt="" coords="180,5,327,33"/> 315 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#row" title="QModelIndex::row" alt="" coords="191,55,316,83"/> 316 </map> 317 </div> 318 </p> 319 320 </div> 321 </div> 322 <a class="anchor" id="a8c716850f6c31fa42b219d7f84038d71"></a><!-- doxytag: member="CTSPModel::headerData" ref="a8c716850f6c31fa42b219d7f84038d71" args="(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const " --> 323 <div class="memitem"> 324 <div class="memproto"> 325 <table class="memname"> 326 <tr> 327 <td class="memname"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> CTSPModel::headerData </td> 275 328 <td>(</td> 276 329 <td class="paramtype">int </td> … … 287 340 <td></td> 288 341 <td class="paramtype">int </td> 289 <td class="paramname"> <em>role</em> </td><td> </td>342 <td class="paramname"> <em>role</em> = <code>Qt::DisplayRole</code></td><td> </td> 290 343 </tr> 291 344 <tr> … … 312 365 </div> 313 366 </div> 314 <a class="anchor" id="a b2827e0bdb3246ade67df5a09805524a"></a><!-- doxytag: member="CTSPModel::loadTask" ref="ab2827e0bdb3246ade67df5a09805524a" args="(QString)" -->367 <a class="anchor" id="ae25b1d25b13488fde89e381152c62549"></a><!-- doxytag: member="CTSPModel::loadTask" ref="ae25b1d25b13488fde89e381152c62549" args="(const QString &fname)" --> 315 368 <div class="memitem"> 316 369 <div class="memproto"> … … 319 372 <td class="memname">bool CTSPModel::loadTask </td> 320 373 <td>(</td> 321 <td class="paramtype"> QString </td>374 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> & </td> 322 375 <td class="paramname"> <em>fname</em></td> 323 376 <td> ) </td> … … 336 389 </dl> 337 390 <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success, otherwise <code>false</code>.</dd></dl> 338 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#aae606273bf2ad5d76779e00901d76593" title="Saves current task to fname.">saveTask()</a> </dd></dl> 391 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#aa73d906286cf369d9e6352348e1aca61" title="Saves current task to fname.">saveTask()</a> </dd></dl> 392 393 <p><div class="dynheader"> 394 Here is the call graph for this function:</div> 395 <div class="dynsection"> 396 <div class="center"><img src="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_cgraph.png" border="0" usemap="#class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_cgraph_map" alt=""></div> 397 <map name="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_cgraph_map" id="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_cgraph"> 398 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#close" title="QFile::close" alt="" coords="275,5,365,33"/> 399 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#device" title="QDataStream::device" alt="" coords="248,55,392,83"/> 400 <area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#open" title="QFile::open" alt="" coords="276,106,364,134"/> 401 <area shape="rect" id="node9" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#restoreOverrideCursor" title="QApplication::restoreOverrideCursor" alt="" coords="207,157,433,185"/> 402 <area shape="rect" id="node11" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#setOverrideCursor" title="QApplication::setOverrideCursor" alt="" coords="217,207,423,235"/> 403 <area shape="rect" id="node13" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#setVersion" title="QDataStream::setVersion" alt="" coords="235,258,405,286"/> 404 <area shape="rect" id="node15" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#status" title="QDataStream::status" alt="" coords="248,309,392,337"/> 405 </map> 406 </div> 407 </p> 408 409 <p><div class="dynheader"> 410 Here is the caller graph for this function:</div> 411 <div class="dynsection"> 412 <div class="center"><img src="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_icgraph.png" border="0" usemap="#class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_icgraph_map" alt=""></div> 413 <map name="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_icgraph_map" id="class_c_t_s_p_model_ae25b1d25b13488fde89e381152c62549_icgraph"> 414 <area shape="rect" id="node3" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="Class constructor." alt="" coords="207,5,383,33"/> 415 </map> 416 </div> 417 </p> 339 418 340 419 </div> … … 357 436 <p>Returns the number of cities. </p> 358 437 <dl class="return"><dt><b>Returns:</b></dt><dd>Number of cities in the current task.</dd></dl> 359 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a 94b2639d6b65af914ce17b816ddc3572" title="Returns the column count in the table.">columnCount()</a>, <a class="el" href="class_c_t_s_p_model.html#a7f00cebe4cf0fed16f734544c81103f9" title="Returns the row count in the table.">rowCount()</a>, <a class="el" href="class_c_t_s_p_model.html#a5c485ac77762dbf4e27fb6d8d0664e3c" title="Sets number of cities in the current task to n.">setNumCities()</a> </dd></dl>438 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ac1942bbffc1313543641881e456f2e55" title="Returns the column count in the table.">columnCount()</a>, <a class="el" href="class_c_t_s_p_model.html#a419c2b9d40fc2f348b15ae02f442a39b" title="Returns the row count in the table.">rowCount()</a>, <a class="el" href="class_c_t_s_p_model.html#aff717cb92ce6426033e85716644b9cef" title="Sets number of cities in the current task to n.">setNumCities()</a> </dd></dl> 360 439 361 440 </div> … … 378 457 379 458 <p>This signal is emitted whenever the number of cities in the task changes. </p> 380 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a 5c485ac77762dbf4e27fb6d8d0664e3c" title="Sets number of cities in the current task to n.">setNumCities()</a> </dd></dl>459 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#aff717cb92ce6426033e85716644b9cef" title="Sets number of cities in the current task to n.">setNumCities()</a> </dd></dl> 381 460 382 461 </div> … … 401 480 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a4944812fdf6d348735db401f966b4f4a" title="Resets the table, setting all its elements to 0.">clear()</a> </dd></dl> 402 481 403 </div> 404 </div> 405 <a class="anchor" id="a7f00cebe4cf0fed16f734544c81103f9"></a><!-- doxytag: member="CTSPModel::rowCount" ref="a7f00cebe4cf0fed16f734544c81103f9" args="(const QModelIndex &) const " --> 482 <p><div class="dynheader"> 483 Here is the call graph for this function:</div> 484 <div class="dynsection"> 485 <div class="center"><img src="class_c_t_s_p_model_ad18e48dd0b0ad56d8e4ae3b1bc039e4a_cgraph.png" border="0" usemap="#class_c_t_s_p_model_ad18e48dd0b0ad56d8e4ae3b1bc039e4a_cgraph_map" alt=""></div> 486 <map name="class_c_t_s_p_model_ad18e48dd0b0ad56d8e4ae3b1bc039e4a_cgraph_map" id="class_c_t_s_p_model_ad18e48dd0b0ad56d8e4ae3b1bc039e4a_cgraph"> 487 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html#index" title="QAbstractTableModel::index" alt="" coords="215,5,399,33"/> 488 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html#value" title="QSettings::value" alt="" coords="249,55,364,83"/> 489 </map> 490 </div> 491 </p> 492 493 </div> 494 </div> 495 <a class="anchor" id="a419c2b9d40fc2f348b15ae02f442a39b"></a><!-- doxytag: member="CTSPModel::rowCount" ref="a419c2b9d40fc2f348b15ae02f442a39b" args="(const QModelIndex &parent=QModelIndex()) const " --> 406 496 <div class="memitem"> 407 497 <div class="memproto"> … … 410 500 <td class="memname">int CTSPModel::rowCount </td> 411 501 <td>(</td> 412 <td class="paramtype">const QModelIndex& </td>413 <td class="paramname"> </td>502 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> & </td> 503 <td class="paramname"> <em>parent</em> = <code><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a>()</code></td> 414 504 <td> ) </td> 415 505 <td> const</td> … … 422 512 <dl class="return"><dt><b>Returns:</b></dt><dd>Number of rows in the table.</dd></dl> 423 513 <p>Actually, this function returns the number of cities in the current task.</p> 424 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a 94b2639d6b65af914ce17b816ddc3572" title="Returns the column count in the table.">columnCount()</a>, <a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e" title="Returns the number of cities.">numCities()</a> </dd></dl>425 426 </div> 427 </div> 428 <a class="anchor" id="aa e606273bf2ad5d76779e00901d76593"></a><!-- doxytag: member="CTSPModel::saveTask" ref="aae606273bf2ad5d76779e00901d76593" args="(QString)" -->514 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ac1942bbffc1313543641881e456f2e55" title="Returns the column count in the table.">columnCount()</a>, <a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e" title="Returns the number of cities.">numCities()</a> </dd></dl> 515 516 </div> 517 </div> 518 <a class="anchor" id="aa73d906286cf369d9e6352348e1aca61"></a><!-- doxytag: member="CTSPModel::saveTask" ref="aa73d906286cf369d9e6352348e1aca61" args="(const QString &fname)" --> 429 519 <div class="memitem"> 430 520 <div class="memproto"> … … 433 523 <td class="memname">bool CTSPModel::saveTask </td> 434 524 <td>(</td> 435 <td class="paramtype"> QString </td>525 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> & </td> 436 526 <td class="paramname"> <em>fname</em></td> 437 527 <td> ) </td> … … 450 540 </dl> 451 541 <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success, otherwise <code>false</code>.</dd></dl> 452 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ab2827e0bdb3246ade67df5a09805524a" title="Loads a task from fname.">loadTask()</a> </dd></dl> 453 454 </div> 455 </div> 456 <a class="anchor" id="a4bb074d84c35fa350a55ca78b41e967f"></a><!-- doxytag: member="CTSPModel::setData" ref="a4bb074d84c35fa350a55ca78b41e967f" args="(const QModelIndex &, const QVariant &, int)" --> 542 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ae25b1d25b13488fde89e381152c62549" title="Loads a task from fname.">loadTask()</a> </dd></dl> 543 544 <p><div class="dynheader"> 545 Here is the call graph for this function:</div> 546 <div class="dynsection"> 547 <div class="center"><img src="class_c_t_s_p_model_aa73d906286cf369d9e6352348e1aca61_cgraph.png" border="0" usemap="#class_c_t_s_p_model_aa73d906286cf369d9e6352348e1aca61_cgraph_map" alt=""></div> 548 <map name="class_c_t_s_p_model_aa73d906286cf369d9e6352348e1aca61_cgraph_map" id="class_c_t_s_p_model_aa73d906286cf369d9e6352348e1aca61_cgraph"> 549 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#close" title="QFile::close" alt="" coords="275,5,365,33"/> 550 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#error" title="QFile::error" alt="" coords="277,55,363,83"/> 551 <area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#open" title="QFile::open" alt="" coords="276,106,364,134"/> 552 <area shape="rect" id="node9" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#restoreOverrideCursor" title="QApplication::restoreOverrideCursor" alt="" coords="207,157,433,185"/> 553 <area shape="rect" id="node11" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#setOverrideCursor" title="QApplication::setOverrideCursor" alt="" coords="217,207,423,235"/> 554 <area shape="rect" id="node13" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#setVersion" title="QDataStream::setVersion" alt="" coords="235,258,405,286"/> 555 </map> 556 </div> 557 </p> 558 559 </div> 560 </div> 561 <a class="anchor" id="a614a0e748bdf52c504a0284c07a977ed"></a><!-- doxytag: member="CTSPModel::setData" ref="a614a0e748bdf52c504a0284c07a977ed" args="(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)" --> 457 562 <div class="memitem"> 458 563 <div class="memproto"> … … 461 566 <td class="memname">bool CTSPModel::setData </td> 462 567 <td>(</td> 463 <td class="paramtype">const QModelIndex& </td>568 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> & </td> 464 569 <td class="paramname"> <em>index</em>, </td> 465 570 </tr> … … 467 572 <td class="paramkey"></td> 468 573 <td></td> 469 <td class="paramtype">const QVariant& </td>574 <td class="paramtype">const <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html">QVariant</a> & </td> 470 575 <td class="paramname"> <em>value</em>, </td> 471 576 </tr> … … 474 579 <td></td> 475 580 <td class="paramtype">int </td> 476 <td class="paramname"> <em>role</em> </td><td> </td>581 <td class="paramname"> <em>role</em> = <code>Qt::EditRole</code></td><td> </td> 477 582 </tr> 478 583 <tr> … … 495 600 </dl> 496 601 <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> on success, otherwise <code>false</code>.</dd></dl> 497 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#ab8ccba12783303f239f92fe72b48793e" title="Returns the data stored under the given role for the item referred to by the index...">data()</a> </dd></dl> 498 499 </div> 500 </div> 501 <a class="anchor" id="a5c485ac77762dbf4e27fb6d8d0664e3c"></a><!-- doxytag: member="CTSPModel::setNumCities" ref="a5c485ac77762dbf4e27fb6d8d0664e3c" args="(int)" --> 602 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#aad200081a43582e766096807c04227dc" title="Returns the data stored under the given role for the item referred to by the index...">data()</a> </dd></dl> 603 604 <p><div class="dynheader"> 605 Here is the call graph for this function:</div> 606 <div class="dynsection"> 607 <div class="center"><img src="class_c_t_s_p_model_a614a0e748bdf52c504a0284c07a977ed_cgraph.png" border="0" usemap="#class_c_t_s_p_model_a614a0e748bdf52c504a0284c07a977ed_cgraph_map" alt=""></div> 608 <map name="class_c_t_s_p_model_a614a0e748bdf52c504a0284c07a977ed_cgraph_map" id="class_c_t_s_p_model_a614a0e748bdf52c504a0284c07a977ed_cgraph"> 609 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#column" title="QModelIndex::column" alt="" coords="199,5,345,33"/> 610 <area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#isValid" title="QModelIndex::isValid" alt="" coords="200,55,344,83"/> 611 <area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html#row" title="QModelIndex::row" alt="" coords="209,106,335,134"/> 612 <area shape="rect" id="node9" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html#toDouble" title="QVariant::toDouble" alt="" coords="207,157,337,185"/> 613 <area shape="rect" id="node11" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvariant.html#toString" title="QVariant::toString" alt="" coords="209,207,335,235"/> 614 </map> 615 </div> 616 </p> 617 618 </div> 619 </div> 620 <a class="anchor" id="aff717cb92ce6426033e85716644b9cef"></a><!-- doxytag: member="CTSPModel::setNumCities" ref="aff717cb92ce6426033e85716644b9cef" args="(int n)" --> 502 621 <div class="memitem"> 503 622 <div class="memproto"> … … 523 642 </dl> 524 643 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e" title="Returns the number of cities.">numCities()</a> </dd></dl> 644 645 <p><div class="dynheader"> 646 Here is the call graph for this function:</div> 647 <div class="dynsection"> 648 <div class="center"><img src="class_c_t_s_p_model_aff717cb92ce6426033e85716644b9cef_cgraph.png" border="0" usemap="#class_c_t_s_p_model_aff717cb92ce6426033e85716644b9cef_cgraph_map" alt=""></div> 649 <map name="class_c_t_s_p_model_aff717cb92ce6426033e85716644b9cef_cgraph_map" id="class_c_t_s_p_model_aff717cb92ce6426033e85716644b9cef_cgraph"> 650 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qvector.html#resize" title="QVector::resize" alt="" coords="229,5,341,33"/> 651 </map> 652 </div> 653 </p> 525 654 526 655 </div> … … 545 674 </div> 546 675 547 <hr size="1"/><address style="text-align: right;"><small>Generated on Sat Oct 24 16:33:192009 for TSPSG: TSP Solver and Generator by 676 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Dec 7 18:11:38 2009 for TSPSG: TSP Solver and Generator by 548 677 <a href="http://www.doxygen.org/index.html"> 549 678 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
Note: See TracChangeset
for help on using the changeset viewer.