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

📄 class_c_address_book_view.html

📁 symbian v9.1 下的地址本程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>CAddressBookView Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"> <tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a> S60 3rd Edition SDK for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><h1>CAddressBookView Class Reference</h1><!-- doxytag: class="CAddressBookView" --><code>#include &lt;<a class="el" href="_address_book_view_8h-source.html">AddressBookView.h</a>&gt;</code><p><a href="class_c_address_book_view-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#bf31593b337cbf3fb671382cf773281c">ConstructL</a> (const TRect &amp;aRect)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#ee41b58fb3bd5c1ebcddba5770a5cebe">CAddressBookView</a> (<a class="el" href="class_c_address_book_engine.html">CAddressBookEngine</a> &amp;aEngine)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#f2cc091a07fb83ca52fab7a701e6759a">~CAddressBookView</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#2f829fab6b84b31478f831680aa6cabb">UpdateL</a> (RPointerArray&lt; <a class="el" href="class_c_address_book_contact.html">CAddressBookContact</a> &gt; &amp;aContactArray)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#701faad87d37369ca943be1b272f3615">OpenItemL</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#234540eb0aa81f8bdc6e8a3c0b064c85">CloseItem</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#df3662103f51dd273915341322626ceb">ChangeCbaL</a> (TInt aResourceId, TDrawNow aDrawNow)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#a9ce352b9297b855591db3dd64de7368">ShowAbout</a> (TBool aAboutVisible=ETrue)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_c_address_book_contact.html">CAddressBookContact</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#3fca94e0717b8f64d65f54d582de140c">CurrentContact</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#4aa2ddf5a7c1bfd948d2125c8f8ea40f">AppendRowL</a> (TPtrC8 aValue, const TDesC8 &amp;aFieldName, CDesCArray &amp;aArray)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#28b4d6276c0cf24f7346e6e4b0bc36d3">HandleListBoxEventL</a> (CEikListBox *, TListBoxEvent aEventType)</td></tr><tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#9f9bb5a2110532e2f2909eaefb44d36a">SizeChanged</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#195be64c0e5b9f91ce87699e499af01c">CountComponentControls</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">CCoeControl *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#c1d1ba8d1c19e939c47fb73d50cb5432">ComponentControl</a> (TInt aIndex) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#67f946ca7848ec78de4961c5bcefdb72">Draw</a> (const TRect &amp;aRect) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#35c34ef4a35ad96d9807406d16606b29">HandleControlEventL</a> (CCoeControl *aControl, TCoeEvent aEventType)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual TKeyResponse&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#6775621e6d3ce05d6685555c939c7706">OfferKeyEventL</a> (const TKeyEvent &amp;aKeyEvent, TEventCode aType)</td></tr><tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c22846eecaea51cfb97699603e4227b3"></a><!-- doxytag: member="CAddressBookView::iEngine" ref="c22846eecaea51cfb97699603e4227b3" args="" --><a class="el" href="class_c_address_book_engine.html">CAddressBookEngine</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#c22846eecaea51cfb97699603e4227b3">iEngine</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="741a10145618f421cb81c5a93941764f"></a><!-- doxytag: member="CAddressBookView::iDetailedView" ref="741a10145618f421cb81c5a93941764f" args="" -->TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#741a10145618f421cb81c5a93941764f">iDetailedView</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07f46fb8332378da71ade65467f7f6d6"></a><!-- doxytag: member="CAddressBookView::iSearchList" ref="07f46fb8332378da71ade65467f7f6d6" args="" -->CEikColumnListBox *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10082b58ff820227a3e87b02d6e61248"></a><!-- doxytag: member="CAddressBookView::iDetailList" ref="10082b58ff820227a3e87b02d6e61248" args="" -->CEikTextListBox *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">iDetailList</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="375b05d6cd2f01c8d44c094960d947bd"></a><!-- doxytag: member="CAddressBookView::iItemList" ref="375b05d6cd2f01c8d44c094960d947bd" args="" -->CDesCArray *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">iItemList</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4faf9e48cb813e0be080fe4270d15573"></a><!-- doxytag: member="CAddressBookView::iFont" ref="4faf9e48cb813e0be080fe4270d15573" args="" -->const CFont *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_address_book_view.html#4faf9e48cb813e0be080fe4270d15573">iFont</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>CAddressBookView container control class, shows the application state on the screen <p><p>Definition at line <a class="el" href="_address_book_view_8h-source.html#l00066">66</a> of file <a class="el" href="_address_book_view_8h-source.html">AddressBookView.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="ee41b58fb3bd5c1ebcddba5770a5cebe"></a><!-- doxytag: member="CAddressBookView::CAddressBookView" ref="ee41b58fb3bd5c1ebcddba5770a5cebe" args="(CAddressBookEngine &amp;aEngine)" --><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">CAddressBookView::CAddressBookView           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_c_address_book_engine.html">CAddressBookEngine</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aEngine</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>C++ default constructor. <p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00041">41</a> of file <a class="el" href="_address_book_view_8cpp-source.html">AddressBookView.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00042"></a>00042 :<a name="l00043"></a>00043 <a class="code" href="class_c_address_book_view.html#c22846eecaea51cfb97699603e4227b3">iEngine</a>(aEngine),<a name="l00044"></a>00044 <a class="code" href="class_c_address_book_view.html#741a10145618f421cb81c5a93941764f">iDetailedView</a>(EFalse),<a name="l00045"></a>00045 <a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>(NULL),<a name="l00046"></a>00046 <a class="code" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">iDetailList</a>(NULL)<a name="l00047"></a>00047     {<a name="l00048"></a>00048     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="f2cc091a07fb83ca52fab7a701e6759a"></a><!-- doxytag: member="CAddressBookView::~CAddressBookView" ref="f2cc091a07fb83ca52fab7a701e6759a" 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">CAddressBookView::~CAddressBookView           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor. <p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00055">55</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>, <a class="el" href="_address_book_view_8h-source.html#l00189">iItemList</a>, and <a class="el" href="_address_book_view_8h-source.html#l00187">iSearchList</a>.<div class="fragment"><pre class="fragment"><a name="l00056"></a>00056     {<a name="l00057"></a>00057     <span class="keyword">delete</span> <a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>;<a name="l00058"></a>00058         <span class="keywordflow">if</span> (<a class="code" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">iItemList</a>)<a name="l00059"></a>00059                 <a class="code" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">iItemList</a>-&gt;Reset();<a name="l00060"></a>00060         <a name="l00061"></a>00061         <span class="keyword">delete</span> <a class="code" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">iItemList</a>;<a name="l00062"></a>00062         <span class="keyword">delete</span> <a class="code" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">iDetailList</a>;<a name="l00063"></a>00063         }</pre></div><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="bf31593b337cbf3fb671382cf773281c"></a><!-- doxytag: member="CAddressBookView::ConstructL" ref="bf31593b337cbf3fb671382cf773281c" args="(const TRect &amp;aRect)" --><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::ConstructL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const TRect &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aRect</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>By default Symbian 2nd phase constructor is private. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>Frame rectangle for container. </td></tr>  </table></dl><p>Definition at line <a class="el" href="_address_book_view_8cpp-source.html#l00070">70</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>, <a class="el" href="_address_book_view_8h-source.html#l00190">iFont</a>, <a class="el" href="_address_book_view_8h-source.html#l00189">iItemList</a>, and <a class="el" href="_address_book_view_8h-source.html#l00187">iSearchList</a>.<div class="fragment"><pre class="fragment"><a name="l00071"></a>00071     {<a name="l00072"></a>00072     CreateWindowL();<a name="l00073"></a>00073     <a name="l00074"></a>00074     <a class="code" href="class_c_address_book_view.html#4faf9e48cb813e0be080fe4270d15573">iFont</a> = AknLayoutUtils::FontFromId(EAknLogicalFontSecondaryFont);<a name="l00075"></a>00075     

⌨️ 快捷键说明

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