📄 _address_book_view_8h-source.html
字号:
<a name="l00104"></a>00104 <span class="comment"> /**</span><a name="l00105"></a>00105 <span class="comment"> * It is called when need to open or close some item to change common button area</span><a name="l00106"></a>00106 <span class="comment"> * @param aResourceId - Id of Resource</span><a name="l00107"></a>00107 <span class="comment"> * @param aDrawNow - ENoDrawNow - Redraw of the control is not required immediately. </span><a name="l00108"></a>00108 <span class="comment"> EDrawNow - Redraw control immediately.</span><a name="l00109"></a>00109 <span class="comment"> */</span><a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#df3662103f51dd273915341322626ceb">ChangeCbaL</a>(TInt aResourceId, TDrawNow aDrawNow);<a name="l00111"></a>00111 <span class="comment"></span><a name="l00112"></a>00112 <span class="comment"> /**</span><a name="l00113"></a>00113 <span class="comment"> * Shows information about Address Book aplication.</span><a name="l00114"></a>00114 <span class="comment"> * @param aAboutVisible - ETrue in case that to show information on the screen</span><a name="l00115"></a>00115 <span class="comment"> */</span><a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#a9ce352b9297b855591db3dd64de7368">ShowAbout</a>(TBool aAboutVisible = ETrue);<a name="l00117"></a>00117 <span class="comment"></span><a name="l00118"></a>00118 <span class="comment"> /**</span><a name="l00119"></a>00119 <span class="comment"> * Is needed to add current contact into PnoneBook database.</span><a name="l00120"></a>00120 <span class="comment"> * @return descriptor on current contact</span><a name="l00121"></a>00121 <span class="comment"> */</span><a name="l00122"></a>00122 <a class="code" href="class_c_address_book_contact.html">CAddressBookContact</a>* <a class="code" href="class_c_address_book_view.html#3fca94e0717b8f64d65f54d582de140c">CurrentContact</a>();<a name="l00123"></a>00123 <span class="comment"></span><a name="l00124"></a>00124 <span class="comment"> /**</span><a name="l00125"></a>00125 <span class="comment"> * Creates card (full contact information) about a person who was found</span><a name="l00126"></a>00126 <span class="comment"> * @param aValue - value of field that is needed to locate in the aArray </span><a name="l00127"></a>00127 <span class="comment"> * @param aFieldName - name of field whose value contains in aValue</span><a name="l00128"></a>00128 <span class="comment"> * @param aArray - pointer on the array where will be located this card</span><a name="l00129"></a>00129 <span class="comment"> */</span><a name="l00130"></a>00130 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#4aa2ddf5a7c1bfd948d2125c8f8ea40f">AppendRowL</a>(TPtrC8 aValue, <span class="keyword">const</span> TDesC8& aFieldName, CDesCArray& aArray);<a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="comment">// Functions from base classes</span><a name="l00133"></a>00133 <span class="comment"></span><a name="l00134"></a>00134 <span class="comment"> /**</span><a name="l00135"></a>00135 <span class="comment"> * From MEikListBoxObserver, is called when user want to browse </span><a name="l00136"></a>00136 <span class="comment"> * the card (full contact information) about employees who was found</span><a name="l00137"></a>00137 <span class="comment"> * @param aEventType - type of event</span><a name="l00138"></a>00138 <span class="comment"> */</span> <a name="l00139"></a>00139 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#28b4d6276c0cf24f7346e6e4b0bc36d3">HandleListBoxEventL</a>(CEikListBox*, TListBoxEvent aEventType);<a name="l00140"></a>00140 <a name="l00141"></a>00141 <span class="keyword">private</span>: <a name="l00142"></a>00142 <span class="comment"></span><a name="l00143"></a>00143 <span class="comment"> /**</span><a name="l00144"></a>00144 <span class="comment"> * From CCoeControl, is called by framework when the view size is changed</span><a name="l00145"></a>00145 <span class="comment"> */</span><a name="l00146"></a>00146 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#9f9bb5a2110532e2f2909eaefb44d36a">SizeChanged</a>();<a name="l00147"></a>00147 <span class="comment"></span><a name="l00148"></a>00148 <span class="comment"> /**</span><a name="l00149"></a>00149 <span class="comment"> * From CCoeControl, is called by the active scheduler to controll count of components</span><a name="l00150"></a>00150 <span class="comment"> * @return 1</span><a name="l00151"></a>00151 <span class="comment"> */</span><a name="l00152"></a>00152 TInt <a class="code" href="class_c_address_book_view.html#195be64c0e5b9f91ce87699e499af01c">CountComponentControls</a>() <span class="keyword">const</span>;<a name="l00153"></a>00153 <span class="comment"></span><a name="l00154"></a>00154 <span class="comment"> /**</span><a name="l00155"></a>00155 <span class="comment"> * From CCoeControl, is called by the active scheduler to controll components</span><a name="l00156"></a>00156 <span class="comment"> * @param aIndex </span><a name="l00157"></a>00157 <span class="comment"> * @return - iDetailList/iSearchList(if aIndex == 0)/NULL (if aInex != 0)</span><a name="l00158"></a>00158 <span class="comment"> */</span><a name="l00159"></a>00159 CCoeControl* <a class="code" href="class_c_address_book_view.html#c1d1ba8d1c19e939c47fb73d50cb5432">ComponentControl</a>(TInt aIndex) <span class="keyword">const</span>;<a name="l00160"></a>00160 <span class="comment"></span><a name="l00161"></a>00161 <span class="comment"> /**</span><a name="l00162"></a>00162 <span class="comment"> * From CCoeControl, draws rects</span><a name="l00163"></a>00163 <span class="comment"> * @param aRect - pointer on rectangle that has to be drawn</span><a name="l00164"></a>00164 <span class="comment"> */</span><a name="l00165"></a>00165 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#67f946ca7848ec78de4961c5bcefdb72">Draw</a>(<span class="keyword">const</span> TRect& aRect) <span class="keyword">const</span>;<a name="l00166"></a>00166 <span class="comment"></span><a name="l00167"></a>00167 <span class="comment"> /**</span><a name="l00168"></a>00168 <span class="comment"> * From MCoeControlObserver, acts upon changes in the hosted control's state. </span><a name="l00169"></a>00169 <span class="comment"> * @param aControl - The control changing its state</span><a name="l00170"></a>00170 <span class="comment"> * @param aEventType - The type of control event </span><a name="l00171"></a>00171 <span class="comment"> */</span><a name="l00172"></a>00172 <span class="keywordtype">void</span> <a class="code" href="class_c_address_book_view.html#35c34ef4a35ad96d9807406d16606b29">HandleControlEventL</a>(CCoeControl* aControl,TCoeEvent aEventType);<a name="l00173"></a>00173 <span class="comment"></span><a name="l00174"></a>00174 <span class="comment"> /**</span><a name="l00175"></a>00175 <span class="comment"> * From CCoeControl the key event handler function, is called every time </span><a name="l00176"></a>00176 <span class="comment"> * when user presses some button.</span><a name="l00177"></a>00177 <span class="comment"> * @param aKeyEvent - Event to handled.</span><a name="l00178"></a>00178 <span class="comment"> * @param aType - Type of the key event. </span><a name="l00179"></a>00179 <span class="comment"> * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). </span><a name="l00180"></a>00180 <span class="comment"> */</span><a name="l00181"></a>00181 <span class="keyword">virtual</span> TKeyResponse <a class="code" href="class_c_address_book_view.html#6775621e6d3ce05d6685555c939c7706">OfferKeyEventL</a>(<span class="keyword">const</span> TKeyEvent& aKeyEvent, TEventCode aType );<a name="l00182"></a>00182 <a name="l00183"></a>00183 <span class="keyword">private</span>: <span class="comment">// Data</span><a name="l00184"></a>00184 <a name="l00185"></a><a class="code" href="class_c_address_book_view.html#c22846eecaea51cfb97699603e4227b3">00185</a> <a class="code" href="class_c_address_book_engine.html">CAddressBookEngine</a>& <a class="code" href="class_c_address_book_view.html#c22846eecaea51cfb97699603e4227b3">iEngine</a>;<a name="l00186"></a><a class="code" href="class_c_address_book_view.html#741a10145618f421cb81c5a93941764f">00186</a> TBool <a class="code" href="class_c_address_book_view.html#741a10145618f421cb81c5a93941764f">iDetailedView</a>;<a name="l00187"></a><a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">00187</a> CEikColumnListBox* <a class="code" href="class_c_address_book_view.html#07f46fb8332378da71ade65467f7f6d6">iSearchList</a>; <a name="l00188"></a><a class="code" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">00188</a> CEikTextListBox* <a class="code" href="class_c_address_book_view.html#10082b58ff820227a3e87b02d6e61248">iDetailList</a>; <a name="l00189"></a><a class="code" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">00189</a> CDesCArray* <a class="code" href="class_c_address_book_view.html#375b05d6cd2f01c8d44c094960d947bd">iItemList</a>;<a name="l00190"></a><a class="code" href="class_c_address_book_view.html#4faf9e48cb813e0be080fe4270d15573">00190</a> <span class="keyword">const</span> CFont* <a class="code" href="class_c_address_book_view.html#4faf9e48cb813e0be080fe4270d15573">iFont</a>;<a name="l00191"></a>00191 };<a name="l00192"></a>00192 <a name="l00193"></a>00193 <span class="preprocessor">#endif // ADDRESSBOOKVIEW_H</span><a name="l00194"></a>00194 <span class="preprocessor"></span><a name="l00195"></a>00195 <span class="comment">// End of File</span><a name="l00196"></a>00196 </pre></div><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 + -