📄 class_c_focus_event_document.html
字号:
</dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CFocusEventDocument. </dd></dl><p>Definition at line <a class="el" href="focuseventdocument_8cpp-source.html#l00038">38</a> of file <a class="el" href="focuseventdocument_8cpp-source.html">focuseventdocument.cpp</a>.<p>References <a class="el" href="focuseventdocument_8cpp-source.html#l00050">NewLC()</a>.<p>Referenced by <a class="el" href="focuseventapplication_8cpp-source.html#l00027">CFocusEventApplication::CreateDocumentL()</a>.<div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 {<a name="l00040"></a>00040 <a class="code" href="class_c_focus_event_document.html">CFocusEventDocument</a>* <span class="keyword">self</span> = <a class="code" href="class_c_focus_event_document.html#4b4aa55001690769b8aac3d27274aef8">NewLC</a>( aApp );<a name="l00041"></a>00041 CleanupStack::Pop( <span class="keyword">self</span> );<a name="l00042"></a>00042 <span class="keywordflow">return</span> <span class="keyword">self</span>;<a name="l00043"></a>00043 }</pre></div><p> </td> </tr></table><a class="anchor" name="4b4aa55001690769b8aac3d27274aef8"></a><!-- doxytag: member="CFocusEventDocument::NewLC" ref="4b4aa55001690769b8aac3d27274aef8" args="(CEikApplication &aApp)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_c_focus_event_document.html">CFocusEventDocument</a> * CFocusEventDocument::NewLC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">CEikApplication & </td> <td class="mdname1" valign="top" nowrap> <em>aApp</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>NewLC. Two-phased constructor. Construct a CFocusEventDocument for the AVKON application aApp. Using two phase construction, and return a pointer to the created object. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aApp</em> </td><td>Application creating this document. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CFocusEventDocument. </dd></dl><p>Definition at line <a class="el" href="focuseventdocument_8cpp-source.html#l00050">50</a> of file <a class="el" href="focuseventdocument_8cpp-source.html">focuseventdocument.cpp</a>.<p>References <a class="el" href="focuseventdocument_8cpp-source.html#l00027">CFocusEventDocument()</a>.<p>Referenced by <a class="el" href="focuseventdocument_8cpp-source.html#l00038">NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00051"></a>00051 {<a name="l00052"></a>00052 <a class="code" href="class_c_focus_event_document.html">CFocusEventDocument</a>* <span class="keyword">self</span> = <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_focus_event_document.html#d680f51bfe8675611273d8fc9051a06d">CFocusEventDocument</a>( aApp );<a name="l00053"></a>00053 CleanupStack::PushL( <span class="keyword">self</span> );<a name="l00054"></a>00054 <span class="keyword">self</span>->ConstructL();<a name="l00055"></a>00055 <span class="keywordflow">return</span> <span class="keyword">self</span>;<a name="l00056"></a>00056 }</pre></div><p> </td> </tr></table><a class="anchor" name="0eb34f98d849338274127e28e8c78b4e"></a><!-- doxytag: member="CFocusEventDocument::CreateAppUiL" ref="0eb34f98d849338274127e28e8c78b4e" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">CEikAppUi * CFocusEventDocument::CreateAppUiL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>CreateAppUiL From CEikDocument, CreateAppUiL. Create a <a class="el" href="class_c_focus_event_app_ui.html">CFocusEventAppUi</a> object and return a pointer to it. The object returned is owned by the Uikon framework. <dl compact><dt><b>Returns:</b></dt><dd>Pointer to created instance of AppUi. </dd></dl><p>Definition at line <a class="el" href="focuseventdocument_8cpp-source.html#l00083">83</a> of file <a class="el" href="focuseventdocument_8cpp-source.html">focuseventdocument.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00084"></a>00084 {<a name="l00085"></a>00085 <span class="comment">// Create the application user interface, and return a pointer to it</span><a name="l00086"></a>00086 <span class="keywordflow">return</span> ( static_cast<CEikAppUi*>( <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_focus_event_app_ui.html">CFocusEventAppUi</a> ) );<a name="l00087"></a>00087 }</pre></div><p> </td> </tr></table><a class="anchor" name="9ce34ba0b947863222da3c63d0481044"></a><!-- doxytag: member="CFocusEventDocument::ConstructL" ref="9ce34ba0b947863222da3c63d0481044" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CFocusEventDocument::ConstructL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>ConstructL 2nd phase constructor. <p>Definition at line <a class="el" href="focuseventdocument_8cpp-source.html#l00063">63</a> of file <a class="el" href="focuseventdocument_8cpp-source.html">focuseventdocument.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00064"></a>00064 {<a name="l00065"></a>00065 <span class="comment">// No implementation required</span><a name="l00066"></a>00066 } </pre></div><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="focuseventdocument_8h-source.html">focuseventdocument.h</a><li><a class="el" href="focuseventdocument_8cpp-source.html">focuseventdocument.cpp</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -