Няма описание

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: main.cpp File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="annotated.html"><span>Classes</span></a></li>
  42. <li class="current"><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="files.html"><span>File&#160;List</span></a></li>
  64. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  65. </ul>
  66. </div>
  67. <!-- window showing the filter options -->
  68. <div id="MSearchSelectWindow"
  69. onmouseover="return searchBox.OnSearchSelectShow()"
  70. onmouseout="return searchBox.OnSearchSelectHide()"
  71. onkeydown="return searchBox.OnSearchSelectKey(event)">
  72. </div>
  73. <!-- iframe showing the search results (closed by default) -->
  74. <div id="MSearchResultsWindow">
  75. <iframe src="javascript:void(0)" frameborder="0"
  76. name="MSearchResults" id="MSearchResults">
  77. </iframe>
  78. </div>
  79. </div><!-- top -->
  80. <div class="header">
  81. <div class="summary">
  82. <a href="#func-members">Functions</a> </div>
  83. <div class="headertitle">
  84. <div class="title">main.cpp File Reference</div> </div>
  85. </div><!--header-->
  86. <div class="contents">
  87. <div class="textblock"><code>#include &lt;QApplication&gt;</code><br />
  88. <code>#include &quot;mainwindow.h&quot;</code><br />
  89. <code>#include &quot;bird.h&quot;</code><br />
  90. <code>#include &lt;cstdlib&gt;</code><br />
  91. <code>#include &lt;time.h&gt;</code><br />
  92. <code>#include &lt;QTimer&gt;</code><br />
  93. <code>#include &lt;QObject&gt;</code><br />
  94. <code>#include &lt;QDebug&gt;</code><br />
  95. <code>#include &lt;QTime&gt;</code><br />
  96. <code>#include &lt;QtMultimedia/QSound&gt;</code><br />
  97. </div><table class="memberdecls">
  98. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  99. Functions</h2></td></tr>
  100. <tr class="memitem:a0562ff282c6bf5401ae3e5278f891953"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0562ff282c6bf5401ae3e5278f891953"></a>
  101. void&#160;</td><td class="memItemRight" valign="bottom"><b>FilterBirds</b> (<a class="el" href="class_bird.html">Bird</a> birds[], int N)</td></tr>
  102. <tr class="separator:a0562ff282c6bf5401ae3e5278f891953"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9">birth</a> (<a class="el" href="class_main_window.html">MainWindow</a> &amp;w, const <a class="el" href="class_bird.html">Bird</a> &amp;mom, const <a class="el" href="class_bird.html">Bird</a> &amp;dad, <a class="el" href="class_bird.html">Bird</a> &amp;child)</td></tr>
  104. <tr class="memdesc:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that given references to objects mom, dad and child, uses the DNA of the father and the mother to generate DNA of the child. This function is edited by the student. <a href="#a3ddfcfeefb8fdb24bb5db043f09e72d9">More...</a><br /></td></tr>
  105. <tr class="separator:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a>
  107. int&#160;</td><td class="memItemRight" valign="bottom"><b>main</b> (int argc, char *argv[])</td></tr>
  108. <tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. </table>
  110. <h2 class="groupheader">Function Documentation</h2>
  111. <a class="anchor" id="a3ddfcfeefb8fdb24bb5db043f09e72d9"></a>
  112. <div class="memitem">
  113. <div class="memproto">
  114. <table class="memname">
  115. <tr>
  116. <td class="memname">void birth </td>
  117. <td>(</td>
  118. <td class="paramtype"><a class="el" href="class_main_window.html">MainWindow</a> &amp;&#160;</td>
  119. <td class="paramname"><em>w</em>, </td>
  120. </tr>
  121. <tr>
  122. <td class="paramkey"></td>
  123. <td></td>
  124. <td class="paramtype">const <a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
  125. <td class="paramname"><em>mom</em>, </td>
  126. </tr>
  127. <tr>
  128. <td class="paramkey"></td>
  129. <td></td>
  130. <td class="paramtype">const <a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
  131. <td class="paramname"><em>dad</em>, </td>
  132. </tr>
  133. <tr>
  134. <td class="paramkey"></td>
  135. <td></td>
  136. <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
  137. <td class="paramname"><em>child</em>&#160;</td>
  138. </tr>
  139. <tr>
  140. <td></td>
  141. <td>)</td>
  142. <td></td><td></td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. <p>Function that given references to objects mom, dad and child, uses the DNA of the father and the mother to generate DNA of the child. This function is edited by the student. </p>
  147. <dl class="params"><dt>Parameters</dt><dd>
  148. <table class="params">
  149. <tr><td class="paramname">w</td><td>Reference to the main window </td></tr>
  150. <tr><td class="paramname">mom</td><td>Reference to const object of type <a class="el" href="class_bird.html">Bird</a>. </td></tr>
  151. <tr><td class="paramname">dad</td><td>Reference to const object of the <a class="el" href="class_bird.html">Bird</a>. </td></tr>
  152. <tr><td class="paramname">child</td><td>Reference to object child that will be modified. ~Spanish Funcion que dado referencias a los objetos mom, dad, y child, usa el ADN de el padre (dad) y la madre (mom) para generar el ADN del nino (child). Esta funcion es editada por el estudiante. </td></tr>
  153. <tr><td class="paramname">w</td><td>Referencia a la pantalla principal </td></tr>
  154. <tr><td class="paramname">mom</td><td>Referencia al objeto constante de tipo <a class="el" href="class_bird.html">Bird</a>. </td></tr>
  155. <tr><td class="paramname">dad</td><td>Referencia al objeto constante de tipo <a class="el" href="class_bird.html">Bird</a>. </td></tr>
  156. <tr><td class="paramname">child</td><td>Referencia al objeto de tipo <a class="el" href="class_bird.html">Bird</a> a ser modificado. </td></tr>
  157. </table>
  158. </dd>
  159. </dl>
  160. </div>
  161. </div>
  162. </div><!-- contents -->
  163. <!-- start footer part -->
  164. <hr class="footer"/><address class="footer"><small>
  165. Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  166. <img class="footer" src="doxygen.png" alt="doxygen"/>
  167. </a> 1.8.9.1
  168. </small></address>
  169. </body>
  170. </html>