core/com.nokia.carbide.cpp.doc.user/html/tasks/AddingClasses.html
changeset 1207 e265bbe56eb0
parent 400 9b005a8e6778
child 1648 0d551b392c77
equal deleted inserted replaced
1205:5310aeaa3526 1207:e265bbe56eb0
    14      <p>
    14      <p>
    15 	   Click <b>File &gt; New &gt; Class</b> from the menu bar, 
    15 	   Click <b>File &gt; New &gt; Class</b> from the menu bar, 
    16 		  or select <b>New &gt; Class</b> from the project&prime;s pop-up
    16 		  or select <b>New &gt; Class</b> from the project&prime;s pop-up
    17 	    menu where you want the new class to reside. </p> 
    17 	    menu where you want the new class to reside. </p> 
    18      <p>
    18      <p>
    19 	    The New C++ Class wizard then appears. 
    19 	    The <b>New C++ Class</b> wizard appears.</p> 
    20      </p> 
       
    21 	  </li> 
    20 	  </li> 
    22 	  <li> 
    21 	  <li> 
    23 	    <p>
    22 	    <p>
    24 		   Specify the folder when the class should be created by typing the		    <b>Source Folder</b> name or by clicking <b>Browse</b> and
    23 		   Specify the folder where the class should be created by typing the		    <b>Source Folder</b> name or by clicking <b>Browse</b> and
    25 	    selecting the source folder. </p> 
    24 	    selecting the source folder. </p> 
    26 		  
    25 		  
    27 	     <p align="center" class="Image"><img src="../images/newclasswiz.gif" alt="" width="500" height="568"  border="0" /></p>
    26 	     <p align="center" class="Image"><img src="../images/newclasswiz.gif" alt="" width="500" height="568"  border="0" /></p>
    28 	  </li> 
    27 	  </li> 
    29 	  <li> 
    28 	  <li> 
    38 	  </li> 
    37 	  </li> 
    39 	  <li> 
    38 	  <li> 
    40 	    <p>
    39 	    <p>
    41 		   Click <b>Add</b> to choose the <b>Base Classes</b> from which the class has to be derived</p> 
    40 		   Click <b>Add</b> to choose the <b>Base Classes</b> from which the class has to be derived</p> 
    42 		  
    41 		  
    43 	     <p align="center" class="Image"><img src="../images/choosebaseclass.gif" alt="" width="306" height="565"  border="0" /></p>
    42 	     <p align="center" class="Image"><img src="images/wnd_chooseBaseClass.png" width="309" height="565"></p>
    44        <p>To select a base type you are looking for, do the following: </p>
    43        <p>To select a base type you are looking for, do the following: </p>
    45       <ol type="a">
    44       <ol type="a">
    46       <li>Type the search string to locate the class, struct and other low-level types you are looking for</li>
    45       <li>Type the search string to locate the class, struct and other low-level types you are looking for</li>
    47 
    46 
    48          <li>Select a Visible Type to narrow your search. <br />
    47          <li>Select a Visible Type to narrow your search. <br />
    61         <p>
    60         <p>
    62 	       Select the Use Default checkbox to create the C++
    61 	       Select the Use Default checkbox to create the C++
    63 			   class in new header and source files with default names. Otherwise, deselect
    62 			   class in new header and source files with default names. Otherwise, deselect
    64 			   the Use Default checkbox, and enter the Header and Source file names. Click Browse to select the Header and Source files, if you want to
    63 			   the Use Default checkbox, and enter the Header and Source file names. Click Browse to select the Header and Source files, if you want to
    65         add the class declaration and definition to existing files. </p> 
    64         add the class declaration and definition to existing files. </p> 
    66 
       
    67      <li>
    65      <li>
    68 	       Click Finish to create a C++ class according to the
    66 	       Click Finish to create a C++ class according to the
    69         specification, or click Cancel to cancel the task.</li> 
    67         specification, or click Cancel to cancel the task.</li> 
    70 </ol>
    68 </ol>
    71    </div>
    69    </div>
    72    <h5>Related tasks</h5>
    70    <h5>Related tasks</h5>
    73 	   <ul>
    71 	   <ul>
    74          <li><a href="../reference/NewClassWizard.html">New C++ Classs Wizard</a></li>
    72          <li><a href="../reference/NewClassWizard.html">New C++ Classs Wizard</a></li>
    75    </ul>
    73    </ul>
    76 <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    74 <div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    77 
    75 
    78    </body>
    76    </body>
    79    </html>
    77    </html>
    80    
    78