⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_c_chat_app_ui.html

📁 一个聊天的软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</pre></div><p>    </td>  </tr></table><a class="anchor" name="6acdbe8a9b57446075bf46d035e751eb"></a><!-- doxytag: member="CChatAppUi::HandleResourceChangeL" ref="6acdbe8a9b57446075bf46d035e751eb" args="(TInt aType)" --><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 CChatAppUi::HandleResourceChangeL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TInt&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aType</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From CEikAppUi, handles key events. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aType</em>&nbsp;</td><td>The type of resources that have changed </td></tr>  </table></dl><p>Definition at line <a class="el" href="_chat_appui_8cpp-source.html#l00388">388</a> of file <a class="el" href="_chat_appui_8cpp-source.html">ChatAppui.cpp</a>.<p>References <a class="el" href="_chat_appui_8h-source.html#l00089">iAppContainer</a>.<div class="fragment"><pre class="fragment"><a name="l00389"></a>00389     {<a name="l00390"></a>00390     CAknAppUi::HandleResourceChangeL( aType );<a name="l00391"></a>00391 <a name="l00392"></a>00392     <span class="comment">// ADDED FOR SCALABLE UI SUPPORT</span><a name="l00393"></a>00393     <span class="comment">// *****************************</span><a name="l00394"></a>00394     <span class="keywordflow">if</span> ( aType==KEikDynamicLayoutVariantSwitch )<a name="l00395"></a>00395         {<a name="l00396"></a>00396         <a class="code" href="class_c_chat_app_ui.html#c25cfbb86775b001ed268ecaef2f307d">iAppContainer</a>-&gt;SetRect( ClientRect() );<a name="l00397"></a>00397         }<a name="l00398"></a>00398     <span class="comment">//Controls derived from CCoeControl, handled in container class</span><a name="l00399"></a>00399     <a class="code" href="class_c_chat_app_ui.html#c25cfbb86775b001ed268ecaef2f307d">iAppContainer</a>-&gt;HandleResourceChange( aType );<a name="l00400"></a>00400     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="1f12ddbdc25a96c4c9e301bd83fd92ca"></a><!-- doxytag: member="CChatAppUi::ShowBTNotAvailableNoteL" ref="1f12ddbdc25a96c4c9e301bd83fd92ca" 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 CChatAppUi::ShowBTNotAvailableNoteL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>ShowBTNotAvailableNoteL. Show note if BT is not available <p>Definition at line <a class="el" href="_chat_appui_8cpp-source.html#l00366">366</a> of file <a class="el" href="_chat_appui_8cpp-source.html">ChatAppui.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00367"></a>00367     {<a name="l00368"></a>00368     <span class="comment">// Load a string from the resource file and display it</span><a name="l00369"></a>00369     HBufC* textResource = StringLoader::LoadLC( R_CHAT_NO_BT );<a name="l00370"></a>00370     CAknErrorNote* errorNote;<a name="l00371"></a>00371 <a name="l00372"></a>00372     errorNote = <span class="keyword">new</span> ( ELeave ) CAknErrorNote;<a name="l00373"></a>00373 <a name="l00374"></a>00374     <span class="comment">// Show the information Note with</span><a name="l00375"></a>00375     <span class="comment">// textResource loaded with StringLoader.</span><a name="l00376"></a>00376     errorNote-&gt;ExecuteLD( *textResource);<a name="l00377"></a>00377 <a name="l00378"></a>00378     <span class="comment">// Pop HBuf from CleanUpStack and Destroy it.</span><a name="l00379"></a>00379     CleanupStack::PopAndDestroy( textResource );<a name="l00380"></a>00380     }</pre></div><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="155c8a3c723c6deaba8b8920c1523f06"></a><!-- doxytag: member="CChatAppUi::iChatBt" ref="155c8a3c723c6deaba8b8920c1523f06" 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"><a class="el" href="class_c_chat_bt.html">CChatBt</a>* <a class="el" href="class_c_chat_app_ui.html#155c8a3c723c6deaba8b8920c1523f06">CChatAppUi::iChatBt</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iClient the BT chat engine Owned by CChatAppUi <p>Definition at line <a class="el" href="_chat_appui_8h-source.html#l00096">96</a> of file <a class="el" href="_chat_appui_8h-source.html">ChatAppui.h</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00043">ConstructL()</a>, <a class="el" href="_chat_appui_8cpp-source.html#l00103">DynInitMenuPaneL()</a>, <a class="el" href="_chat_appui_8cpp-source.html#l00201">HandleCommandL()</a>, and <a class="el" href="_chat_appui_8cpp-source.html#l00079">~CChatAppUi()</a>.    </td>  </tr></table><a class="anchor" name="8c40e4ec147a6e0b621246cb569b058d"></a><!-- doxytag: member="CChatAppUi::iChatInet" ref="8c40e4ec147a6e0b621246cb569b058d" 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"><a class="el" href="class_c_chat_inet.html">CChatInet</a>* <a class="el" href="class_c_chat_app_ui.html#8c40e4ec147a6e0b621246cb569b058d">CChatAppUi::iChatInet</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iClientInet the TCPIP chat engine Owned by CChatAppUi <p>Definition at line <a class="el" href="_chat_appui_8h-source.html#l00103">103</a> of file <a class="el" href="_chat_appui_8h-source.html">ChatAppui.h</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00043">ConstructL()</a>, <a class="el" href="_chat_appui_8cpp-source.html#l00103">DynInitMenuPaneL()</a>, <a class="el" href="_chat_appui_8cpp-source.html#l00201">HandleCommandL()</a>, and <a class="el" href="_chat_appui_8cpp-source.html#l00079">~CChatAppUi()</a>.    </td>  </tr></table><a class="anchor" name="8f0397a785ba8f788a3d1c8320994d66"></a><!-- doxytag: member="CChatAppUi::iBtAvailable" ref="8f0397a785ba8f788a3d1c8320994d66" 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">TBool <a class="el" href="class_c_chat_app_ui.html#8f0397a785ba8f788a3d1c8320994d66">CChatAppUi::iBtAvailable</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iBtAvailable, ETrue if an SDP session can be opened, EFalse otherwise. <p>Definition at line <a class="el" href="_chat_appui_8h-source.html#l00108">108</a> of file <a class="el" href="_chat_appui_8h-source.html">ChatAppui.h</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00043">ConstructL()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_chat_appui_8h-source.html">ChatAppui.h</a><li><a class="el" href="_chat_appui_8cpp-source.html">ChatAppui.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 + -