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

📄 class_c_address_book_view.html

📁 symbian v9.1 下的地址本程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    <td><p>Creates card (full contact information) about a person who was found <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aValue</em>&nbsp;</td><td>- value of field that is needed to locate in the aArray </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aFieldName</em>&nbsp;</td><td>- name of field whose value contains in aValue </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aArray</em>&nbsp;</td><td>- pointer on the array where will be located this card </td></tr>  </table></dl><p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00365">365</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00367"></a>00367         {<a name="l00368"></a>00368         <span class="keywordflow">if</span> (aValue != KNullDesC8)<a name="l00369"></a>00369                 {<a name="l00370"></a>00370                 TBuf8&lt;64&gt; row;<a name="l00371"></a>00371                 HBufC* pRowAsUnicode = NULL;<a name="l00372"></a>00372                 row.Format(KRowFormat, &amp;aFieldName, &amp;aValue);<a name="l00373"></a>00373                 pRowAsUnicode = SenXmlUtils::ToUnicodeLC(row);<a name="l00374"></a>00374                 <span class="keywordflow">if</span>(pRowAsUnicode)<a name="l00375"></a>00375                         {<a name="l00376"></a>00376                         aArray.AppendL(*pRowAsUnicode);<a name="l00377"></a>00377                         CleanupStack::PopAndDestroy(pRowAsUnicode); <a name="l00378"></a>00378                         }<a name="l00379"></a>00379                 }<a name="l00380"></a>00380         }</pre></div><p>    </td>  </tr></table><a class="anchor" name="28b4d6276c0cf24f7346e6e4b0bc36d3"></a><!-- doxytag: member="CAddressBookView::HandleListBoxEventL" ref="28b4d6276c0cf24f7346e6e4b0bc36d3" args="(CEikListBox *, TListBoxEvent aEventType)" --><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 CAddressBookView::HandleListBoxEventL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">CEikListBox *&nbsp;</td>          <td class="mdname" nowrap>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>TListBoxEvent&nbsp;</td>          <td class="mdname" nowrap> <em>aEventType</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From MEikListBoxObserver, is called when user want to browse the card (full contact information) about employees who was found <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aEventType</em>&nbsp;</td><td>- type of event </td></tr>  </table></dl><p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00304">304</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<p>References <a class="el" href="_address_book_view_8cpp-source.html#l00319">ChangeCbaL()</a>, and <a class="el" href="_address_book_view_8cpp-source.html#l00249">OpenItemL()</a>.<div class="fragment"><pre class="fragment"><a name="l00305"></a>00305     {<a name="l00306"></a>00306         <span class="keywordflow">if</span> (aEventType == EEventEnterKeyPressed)<a name="l00307"></a>00307                 {<a name="l00308"></a>00308                 <a class="code" href="class_c_address_book_view.html#701faad87d37369ca943be1b272f3615">OpenItemL</a>();<a name="l00309"></a>00309                 <a class="code" href="class_c_address_book_view.html#df3662103f51dd273915341322626ceb">ChangeCbaL</a>(R_AVKON_SOFTKEYS_OPTIONS_BACK, EDrawNow);<a name="l00310"></a>00310                 }<a name="l00311"></a>00311     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="9f9bb5a2110532e2f2909eaefb44d36a"></a><!-- doxytag: member="CAddressBookView::SizeChanged" ref="9f9bb5a2110532e2f2909eaefb44d36a" 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 CAddressBookView::SizeChanged           </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>From CCoeControl, is called by framework when the view size is changed <p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00109">109</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<p>References <a class="el" href="_address_book_view_8h-source.html#l00188">iDetailList</a>, and <a class="el" href="_address_book_view_8h-source.html#l00187">iSearchList</a>.<div class="fragment"><pre class="fragment"><a name="l00110"></a>00110     {<a name="l00111"></a>00111         <span class="keywordflow">if</span> (<a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>)<a name="l00112"></a>00112                 {<a name="l00113"></a>00113                 <a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>-&gt;SetExtent( TPoint(0,0), <a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>-&gt;MinimumSize() );<a name="l00114"></a>00114                 }<a name="l00115"></a>00115         <span class="keywordflow">if</span> (<a class="code" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">iDetailList</a>)<a name="l00116"></a>00116                 {<a name="l00117"></a>00117                 iDetailList-&gt;SetExtent( TPoint(0,0), iDetailList-&gt;MinimumSize() );<a name="l00118"></a>00118                 }<a name="l00119"></a>00119     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="195be64c0e5b9f91ce87699e499af01c"></a><!-- doxytag: member="CAddressBookView::CountComponentControls" ref="195be64c0e5b9f91ce87699e499af01c" args="() const " --><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">TInt CAddressBookView::CountComponentControls           </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> const<code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From CCoeControl, is called by the active scheduler to controll count of components <dl compact><dt><b>Returns:</b></dt><dd>1 </dd></dl><p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00174">174</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00175"></a>00175     {<a name="l00176"></a>00176     <span class="keywordflow">return</span> 1; <a name="l00177"></a>00177     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="c1d1ba8d1c19e939c47fb73d50cb5432"></a><!-- doxytag: member="CAddressBookView::ComponentControl" ref="c1d1ba8d1c19e939c47fb73d50cb5432" args="(TInt aIndex) const " --><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">CCoeControl * CAddressBookView::ComponentControl           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TInt&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aIndex</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>From CCoeControl, is called by the active scheduler to controll components <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aIndex</em>&nbsp;</td><td></td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>- iDetailList/iSearchList(if aIndex == 0)/NULL (if aInex != 0) </dd></dl><p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00184">184</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<p>References <a class="el" href="_address_book_view_8h-source.html#l00186">iDetailedView</a>, and <a class="el" href="_address_book_view_8h-source.html#l00187">iSearchList</a>.<div class="fragment"><pre class="fragment"><a name="l00185"></a>00185     {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -