Changeset 72 in tspsg-svn for trunk/docs/html/class_c_t_s_p_model.html


Ignore:
Timestamp:
Dec 7, 2009, 5:50:18 PM (15 years ago)
Author:
laleppa
Message:

Documentation update:
+ Added call and caller graphs.
+ Documentation now references Qt 4.6 documentation for Qt classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/html/class_c_t_s_p_model.html

    r68 r72  
    8181    <ul>
    8282      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
     83      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    8384      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    8485    </ul>
     
    8687</div>
    8788<div class="contents">
    88 <h1>CTSPModel Class Reference</h1><!-- doxytag: class="CTSPModel" -->
     89<h1>CTSPModel Class Reference</h1><!-- doxytag: class="CTSPModel" --><!-- doxytag: inherits="QAbstractTableModel" -->
    8990<p>This class implements table model for manipulating a task. 
    9091<a href="#_details">More...</a></p>
    9192
    9293<p><code>#include &lt;<a class="el" href="tspmodel_8h_source.html">tspmodel.h</a>&gt;</code></p>
     94<div class="dynheader">
     95Inheritance 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">
     103Collaboration 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\&lt; QVector\&lt; double \&gt; \&gt;" 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>
    93112
    94113<p><a href="class_c_t_s_p_model-members.html">List of all members.</a></p>
     
    98117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This signal is emitted whenever the number of cities in the task changes.  <a href="#a733908abe1ffabf49ad34ccdabaeeee9"></a><br/></td></tr>
    99118<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
    100 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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">&nbsp;</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>
    101120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class constructor.  <a href="#a50a24986bc34b37c6c3b7bb52371b837"></a><br/></td></tr>
    102121<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a4944812fdf6d348735db401f966b4f4a">clear</a> ()</td></tr>
    103122<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a94b2639d6b65af914ce17b816ddc3572">columnCount</a> (const QModelIndex &amp;) const </td></tr>
    105 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the column count in the table.  <a href="#a94b2639d6b65af914ce17b816ddc3572"></a><br/></td></tr>
    106 <tr><td class="memItemLeft" align="right" valign="top">QVariant&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ab8ccba12783303f239f92fe72b48793e">data</a> (const QModelIndex &amp;, int) const </td></tr>
    107 <tr><td class="mdescLeft">&nbsp;</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="#ab8ccba12783303f239f92fe72b48793e"></a><br/></td></tr>
    108 <tr><td class="memItemLeft" align="right" valign="top">Qt::ItemFlags&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a057b15ee4fc0f8c7b5648188b8173db6">flags</a> (const QModelIndex &amp;) const </td></tr>
    109 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the item flags for the given <em>index</em>.  <a href="#a057b15ee4fc0f8c7b5648188b8173db6"></a><br/></td></tr>
    110 <tr><td class="memItemLeft" align="right" valign="top">QVariant&nbsp;</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">&nbsp;</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="#a425d9678b2c2c63cf00fabb5643a2615"></a><br/></td></tr>
    112 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ab2827e0bdb3246ade67df5a09805524a">loadTask</a> (QString)</td></tr>
    113 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a task from <em>fname</em>.  <a href="#ab2827e0bdb3246ade67df5a09805524a"></a><br/></td></tr>
     123<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</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> &amp;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">&nbsp;</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>&nbsp;</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> &amp;<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">&nbsp;</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&nbsp;</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> &amp;<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">&nbsp;</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>&nbsp;</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">&nbsp;</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&nbsp;</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> &amp;fname)</td></tr>
     132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a task from <em>fname</em>.  <a href="#ae25b1d25b13488fde89e381152c62549"></a><br/></td></tr>
    114133<tr><td class="memItemLeft" align="right" valign="top">quint16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a4fcde91257e57ba0e9754418cb83148e">numCities</a> () const </td></tr>
    115134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of cities.  <a href="#a4fcde91257e57ba0e9754418cb83148e"></a><br/></td></tr>
    116135<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#ad18e48dd0b0ad56d8e4ae3b1bc039e4a">randomize</a> ()</td></tr>
    117136<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a7f00cebe4cf0fed16f734544c81103f9">rowCount</a> (const QModelIndex &amp;) const </td></tr>
    119 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the row count in the table.  <a href="#a7f00cebe4cf0fed16f734544c81103f9"></a><br/></td></tr>
    120 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#aae606273bf2ad5d76779e00901d76593">saveTask</a> (QString)</td></tr>
    121 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves current task to <em>fname</em>.  <a href="#aae606273bf2ad5d76779e00901d76593"></a><br/></td></tr>
    122 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a4bb074d84c35fa350a55ca78b41e967f">setData</a> (const QModelIndex &amp;, const QVariant &amp;, int)</td></tr>
    123 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <em>role</em> data for the item at <em>index</em> to <em>value</em>.  <a href="#a4bb074d84c35fa350a55ca78b41e967f"></a><br/></td></tr>
    124 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_t_s_p_model.html#a5c485ac77762dbf4e27fb6d8d0664e3c">setNumCities</a> (int)</td></tr>
    125 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets number of cities in the current task to <em>n</em>.  <a href="#a5c485ac77762dbf4e27fb6d8d0664e3c"></a><br/></td></tr>
     137<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</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> &amp;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">&nbsp;</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&nbsp;</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> &amp;fname)</td></tr>
     140<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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> &amp;<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> &amp;value, int role=Qt::EditRole)</td></tr>
     142<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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">&nbsp;</td><td class="mdescRight">Sets number of cities in the current task to <em>n</em>.  <a href="#aff717cb92ce6426033e85716644b9cef"></a><br/></td></tr>
    126145</table>
    127146<hr/><a name="_details"></a><h2>Detailed Description</h2>
     
    136155          <td class="memname">CTSPModel::CTSPModel </td>
    137156          <td>(</td>
    138           <td class="paramtype">QObject *&nbsp;</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> *&nbsp;</td>
    139158          <td class="paramname"> <em>parent</em> = <code>0</code></td>
    140159          <td>&nbsp;)&nbsp;</td>
     
    174193<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>
    175194
    176 </div>
    177 </div>
    178 <a class="anchor" id="a94b2639d6b65af914ce17b816ddc3572"></a><!-- doxytag: member="CTSPModel::columnCount" ref="a94b2639d6b65af914ce17b816ddc3572" args="(const QModelIndex &amp;) const " -->
     195<p><div class="dynheader">
     196Here 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 &amp;parent=QModelIndex()) const " -->
    179208<div class="memitem">
    180209<div class="memproto">
     
    183212          <td class="memname">int CTSPModel::columnCount </td>
    184213          <td>(</td>
    185           <td class="paramtype">const QModelIndex &amp;&nbsp;</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> &amp;&nbsp;</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>
    187216          <td>&nbsp;)&nbsp;</td>
    188217          <td> const</td>
     
    195224<dl class="return"><dt><b>Returns:</b></dt><dd>Number of columns in the table.</dd></dl>
    196225<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#a7f00cebe4cf0fed16f734544c81103f9" title="Returns the row count in the table.">rowCount()</a> </dd></dl>
    198 
    199 </div>
    200 </div>
    201 <a class="anchor" id="ab8ccba12783303f239f92fe72b48793e"></a><!-- doxytag: member="CTSPModel::data" ref="ab8ccba12783303f239f92fe72b48793e" args="(const QModelIndex &amp;, int) const " -->
    202 <div class="memitem">
    203 <div class="memproto">
    204       <table class="memname">
    205         <tr>
    206           <td class="memname">QVariant CTSPModel::data </td>
    207           <td>(</td>
    208           <td class="paramtype">const QModelIndex &amp;&nbsp;</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 &amp;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> &amp;&nbsp;</td>
    209238          <td class="paramname"> <em>index</em>, </td>
    210239        </tr>
     
    213242          <td></td>
    214243          <td class="paramtype">int&nbsp;</td>
    215           <td class="paramname"> <em>role</em></td><td>&nbsp;</td>
     244          <td class="paramname"> <em>role</em> = <code>Qt::DisplayRole</code></td><td>&nbsp;</td>
    216245        </tr>
    217246        <tr>
     
    233262</dl>
    234263<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#a4bb074d84c35fa350a55ca78b41e967f" 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>
    236265
    237266<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>
    238267</p>
    239268
    240 </div>
    241 </div>
    242 <a class="anchor" id="a057b15ee4fc0f8c7b5648188b8173db6"></a><!-- doxytag: member="CTSPModel::flags" ref="a057b15ee4fc0f8c7b5648188b8173db6" args="(const QModelIndex &amp;) const " -->
     269<p><div class="dynheader">
     270Here 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 &amp;index) const " -->
    243285<div class="memitem">
    244286<div class="memproto">
     
    247289          <td class="memname">Qt::ItemFlags CTSPModel::flags </td>
    248290          <td>(</td>
    249           <td class="paramtype">const QModelIndex &amp;&nbsp;</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> &amp;&nbsp;</td>
    250292          <td class="paramname"> <em>index</em></td>
    251293          <td>&nbsp;)&nbsp;</td>
     
    265307<dl class="return"><dt><b>Returns:</b></dt><dd>Corresponding item flags. </dd></dl>
    266308
    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">
     310Here 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>
    275328          <td>(</td>
    276329          <td class="paramtype">int&nbsp;</td>
     
    287340          <td></td>
    288341          <td class="paramtype">int&nbsp;</td>
    289           <td class="paramname"> <em>role</em></td><td>&nbsp;</td>
     342          <td class="paramname"> <em>role</em> = <code>Qt::DisplayRole</code></td><td>&nbsp;</td>
    290343        </tr>
    291344        <tr>
     
    312365</div>
    313366</div>
    314 <a class="anchor" id="ab2827e0bdb3246ade67df5a09805524a"></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 &amp;fname)" -->
    315368<div class="memitem">
    316369<div class="memproto">
     
    319372          <td class="memname">bool CTSPModel::loadTask </td>
    320373          <td>(</td>
    321           <td class="paramtype">QString&nbsp;</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> &amp;&nbsp;</td>
    322375          <td class="paramname"> <em>fname</em></td>
    323376          <td>&nbsp;)&nbsp;</td>
     
    336389</dl>
    337390<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">
     394Here 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">
     410Here 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>
    339418
    340419</div>
     
    357436<p>Returns the number of cities. </p>
    358437<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#a94b2639d6b65af914ce17b816ddc3572" 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>
    360439
    361440</div>
     
    378457
    379458<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#a5c485ac77762dbf4e27fb6d8d0664e3c" 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>
    381460
    382461</div>
     
    401480<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>
    402481
    403 </div>
    404 </div>
    405 <a class="anchor" id="a7f00cebe4cf0fed16f734544c81103f9"></a><!-- doxytag: member="CTSPModel::rowCount" ref="a7f00cebe4cf0fed16f734544c81103f9" args="(const QModelIndex &amp;) const " -->
     482<p><div class="dynheader">
     483Here 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 &amp;parent=QModelIndex()) const " -->
    406496<div class="memitem">
    407497<div class="memproto">
     
    410500          <td class="memname">int CTSPModel::rowCount </td>
    411501          <td>(</td>
    412           <td class="paramtype">const QModelIndex &amp;&nbsp;</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> &amp;&nbsp;</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>
    414504          <td>&nbsp;)&nbsp;</td>
    415505          <td> const</td>
     
    422512<dl class="return"><dt><b>Returns:</b></dt><dd>Number of rows in the table.</dd></dl>
    423513<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#a94b2639d6b65af914ce17b816ddc3572" 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="aae606273bf2ad5d76779e00901d76593"></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 &amp;fname)" -->
    429519<div class="memitem">
    430520<div class="memproto">
     
    433523          <td class="memname">bool CTSPModel::saveTask </td>
    434524          <td>(</td>
    435           <td class="paramtype">QString&nbsp;</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> &amp;&nbsp;</td>
    436526          <td class="paramname"> <em>fname</em></td>
    437527          <td>&nbsp;)&nbsp;</td>
     
    450540</dl>
    451541<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 &amp;, const QVariant &amp;, 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">
     545Here 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 &amp;index, const QVariant &amp;value, int role=Qt::EditRole)" -->
    457562<div class="memitem">
    458563<div class="memproto">
     
    461566          <td class="memname">bool CTSPModel::setData </td>
    462567          <td>(</td>
    463           <td class="paramtype">const QModelIndex &amp;&nbsp;</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> &amp;&nbsp;</td>
    464569          <td class="paramname"> <em>index</em>, </td>
    465570        </tr>
     
    467572          <td class="paramkey"></td>
    468573          <td></td>
    469           <td class="paramtype">const QVariant &amp;&nbsp;</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> &amp;&nbsp;</td>
    470575          <td class="paramname"> <em>value</em>, </td>
    471576        </tr>
     
    474579          <td></td>
    475580          <td class="paramtype">int&nbsp;</td>
    476           <td class="paramname"> <em>role</em></td><td>&nbsp;</td>
     581          <td class="paramname"> <em>role</em> = <code>Qt::EditRole</code></td><td>&nbsp;</td>
    477582        </tr>
    478583        <tr>
     
    495600</dl>
    496601<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">
     605Here 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)" -->
    502621<div class="memitem">
    503622<div class="memproto">
     
    523642</dl>
    524643<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">
     646Here 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>
    525654
    526655</div>
     
    545674</div>
    546675
    547 <hr size="1"/><address style="text-align: right;"><small>Generated on Sat Oct 24 16:33:19 2009 for TSPSG: TSP Solver and Generator by&nbsp;
     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&nbsp;
    548677<a href="http://www.doxygen.org/index.html">
    549678<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
Note: See TracChangeset for help on using the changeset viewer.