author | Sebastian Brannstrom <sebastianb@symbian.org> |
Thu, 15 Jul 2010 21:29:09 +0100 | |
changeset 185 | 92eadaba67e6 |
parent 168 | 9d3b805af5ab |
child 243 | 44d205147a83 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB |
|
3 |
* |
|
4 |
* All rights reserved. |
|
5 |
* This component and the accompanying materials are made available |
|
6 |
* under the terms of the License "Eclipse Public License v1.0" |
|
7 |
* which accompanies this distribution, and is available |
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
* |
|
10 |
* Initial Contributors: |
|
11 |
* EmbedDev AB - initial contribution. |
|
12 |
* |
|
13 |
* Contributors: |
|
14 |
* |
|
15 |
* Description: |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
#include "PodcastQueueView.h" |
|
20 |
#include "PodcastAppUi.h" |
|
21 |
#include "ShowEngine.h" |
|
22 |
#include "SettingsEngine.h" |
|
23 |
#include "PodcastApp.h" |
|
24 |
#include "Constants.h" |
|
25 |
#include "imagehandler.h" |
|
26 |
#include "PodcastShowsView.h" |
|
27 |
||
28 |
#include <podcast.rsg> |
|
29 |
#include <podcast.mbg> |
|
30 |
#include <gulicon.h> |
|
31 |
#include <barsread.h> |
|
32 |
#include <aknnotedialog.h> |
|
33 |
#include <aknmessagequerydialog.h> |
|
34 |
||
35 |
#define KMaxMessageLength 200 |
|
36 |
||
37 |
||
38 |
CPodcastQueueView* CPodcastQueueView::NewL(CPodcastModel& aPodcastModel) |
|
39 |
{ |
|
40 |
CPodcastQueueView* self = CPodcastQueueView::NewLC(aPodcastModel); |
|
41 |
CleanupStack::Pop(self); |
|
42 |
return self; |
|
43 |
} |
|
44 |
||
45 |
CPodcastQueueView* CPodcastQueueView::NewLC(CPodcastModel& aPodcastModel) |
|
46 |
{ |
|
47 |
CPodcastQueueView* self = new ( ELeave ) CPodcastQueueView(aPodcastModel); |
|
48 |
CleanupStack::PushL(self); |
|
49 |
self->ConstructL(); |
|
50 |
return self; |
|
51 |
} |
|
52 |
||
53 |
CPodcastQueueView::CPodcastQueueView(CPodcastModel& aPodcastModel) : |
|
121
1cc7501102a8
CPodcastQueueView now inherits CPodcastShowsView instead of CPodcastListView. This removes the duplicated code between the two classes.
teknolog
parents:
117
diff
changeset
|
54 |
CPodcastShowsView(aPodcastModel) |
2 | 55 |
{ |
56 |
} |
|
57 |
||
58 |
void CPodcastQueueView::ConstructL() |
|
59 |
{ |
|
60 |
BaseConstructL(R_PODCAST_QUEUEVIEW); |
|
61 |
CPodcastListView::ConstructL(); |
|
121
1cc7501102a8
CPodcastQueueView now inherits CPodcastShowsView instead of CPodcastListView. This removes the duplicated code between the two classes.
teknolog
parents:
117
diff
changeset
|
62 |
|
1cc7501102a8
CPodcastQueueView now inherits CPodcastShowsView instead of CPodcastListView. This removes the duplicated code between the two classes.
teknolog
parents:
117
diff
changeset
|
63 |
CreateIconsL(); |
1cc7501102a8
CPodcastQueueView now inherits CPodcastShowsView instead of CPodcastListView. This removes the duplicated code between the two classes.
teknolog
parents:
117
diff
changeset
|
64 |
|
2 | 65 |
iListContainer->Listbox()->SetListBoxObserver(this); |
66 |
||
67 |
iPodcastModel.FeedEngine().AddObserver(this); |
|
68 |
iPodcastModel.ShowEngine().AddObserver(this); |
|
121
1cc7501102a8
CPodcastQueueView now inherits CPodcastShowsView instead of CPodcastListView. This removes the duplicated code between the two classes.
teknolog
parents:
117
diff
changeset
|
69 |
|
2 | 70 |
iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0)); |
71 |
TResourceReader reader; |
|
72 |
iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU); |
|
73 |
iStylusPopupMenu->ConstructFromResourceL(reader); |
|
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
74 |
|
2 | 75 |
CleanupStack::PopAndDestroy(); |
126 | 76 |
|
2 | 77 |
SetEmptyTextL(R_PODCAST_EMPTY_QUEUE); |
78 |
} |
|
79 |
||
80 |
TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType) |
|
81 |
{ |
|
82 |
if (aType == EEventKey) |
|
83 |
{ |
|
84 |
CShowInfo *activeShow = NULL; |
|
85 |
||
86 |
TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
|
87 |
if(index >= 0 && index < iPodcastModel.ActiveShowList().Count()) |
|
88 |
{ |
|
89 |
activeShow = iPodcastModel.ActiveShowList()[index]; |
|
90 |
} |
|
91 |
||
92 |
if (activeShow != NULL) { |
|
93 |
DP1("aKeyEvent.iCode=%d", aKeyEvent.iCode); |
|
94 |
switch (aKeyEvent.iCode) { |
|
95 |
case EKeyBackspace: |
|
96 |
case EKeyDelete: |
|
97 |
HandleCommandL(EPodcastRemoveDownload); |
|
98 |
break; |
|
99 |
default: |
|
100 |
break; |
|
101 |
} |
|
102 |
UpdateToolbar(); |
|
103 |
} |
|
104 |
} |
|
105 |
return CPodcastListView::OfferKeyEventL(aKeyEvent, aType); |
|
106 |
} |
|
107 |
||
108 |
CPodcastQueueView::~CPodcastQueueView() |
|
109 |
{ |
|
110 |
iPodcastModel.ShowEngine().RemoveObserver(this); |
|
111 |
iPodcastModel.FeedEngine().RemoveObserver(this); |
|
112 |
||
113 |
if(iStylusPopupMenu) |
|
114 |
delete iStylusPopupMenu, iStylusPopupMenu = NULL; |
|
115 |
} |
|
116 |
||
117 |
||
118 |
TUid CPodcastQueueView::Id() const |
|
119 |
{ |
|
120 |
return KUidPodcastQueueViewID; |
|
121 |
} |
|
122 |
||
123 |
void CPodcastQueueView::DoActivateL(const TVwsViewId& aPrevViewId, |
|
124 |
TUid aCustomMessageId, const TDesC8& aCustomMessage) |
|
125 |
{ |
|
126 |
DP("CPodcastQueueView::DoActivateL BEGIN"); |
|
127 |
||
128 |
CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage); |
|
45
56d4e0784e5d
Nicer way to handle back from queue view to feed/show view
teknolog
parents:
36
diff
changeset
|
129 |
iPreviousView = aPrevViewId; |
2 | 130 |
|
131 |
UpdateFeedUpdateStateL(); |
|
132 |
UpdateToolbar(); |
|
133 |
DP("CPodcastQueueView::DoActivateL END"); |
|
134 |
} |
|
135 |
||
136 |
void CPodcastQueueView::DoDeactivate() |
|
137 |
{ |
|
138 |
CPodcastListView::DoDeactivate(); |
|
139 |
} |
|
140 |
||
141 |
void CPodcastQueueView::HandleListBoxEventL(CEikListBox* /*aListBox*/, |
|
142 |
TListBoxEvent aEventType) |
|
143 |
{ |
|
144 |
switch (aEventType) |
|
145 |
{ |
|
137
eefed4bda2e2
Minor fixes to comply with single tap technical solution description. By this I consider bug 2056 closed.
teknolog
parents:
126
diff
changeset
|
146 |
case EEventItemSingleClicked: |
2 | 147 |
case EEventEnterKeyPressed: |
148 |
case EEventItemActioned: |
|
149 |
case EEventItemDoubleClicked: |
|
150 |
break; |
|
151 |
default: |
|
152 |
break; |
|
153 |
} |
|
154 |
UpdateToolbar(); |
|
155 |
} |
|
156 |
||
157 |
void CPodcastQueueView::UpdateListboxItemsL() |
|
158 |
{ |
|
185
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
159 |
if (iListContainer->IsVisible() && !iDontUpdateList) |
2 | 160 |
{ |
161 |
TListItemProperties itemProps; |
|
162 |
TInt len = 0; |
|
163 |
||
8 | 164 |
iPodcastModel.GetShowsDownloadingL(); |
2 | 165 |
|
166 |
RShowInfoArray &fItems = iPodcastModel.ActiveShowList(); |
|
167 |
len = fItems.Count(); |
|
168 |
||
169 |
if (iListContainer->Listbox() != NULL) |
|
170 |
{ |
|
171 |
TBool allUidsMatch = EFalse; |
|
172 |
||
173 |
if (len == iListContainer->Listbox()->Model()->NumberOfItems()) |
|
174 |
{ |
|
175 |
allUidsMatch = ETrue; |
|
176 |
TUint itemId = 0; |
|
177 |
for (TInt loop = 0; loop< len; loop++) |
|
178 |
{ |
|
179 |
itemId = iItemIdArray[loop]; |
|
180 |
if (fItems[loop]->Uid() != itemId) |
|
181 |
{ |
|
182 |
allUidsMatch = EFalse; |
|
183 |
break; |
|
184 |
} |
|
185 |
} |
|
186 |
} |
|
187 |
||
188 |
if (allUidsMatch && len > 0) |
|
189 |
{ |
|
190 |
for (TInt loop = 0; loop< len; loop++) |
|
191 |
{ |
|
192 |
UpdateShowItemDataL(fItems[loop], loop); |
|
193 |
iListContainer->Listbox()->DrawItem(loop); |
|
194 |
} |
|
195 |
} |
|
196 |
else |
|
197 |
{ |
|
198 |
iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); |
|
199 |
iListContainer->Listbox()->Reset(); |
|
200 |
iItemIdArray.Reset(); |
|
201 |
iItemArray->Reset(); |
|
202 |
||
203 |
if (len > 0) |
|
204 |
{ |
|
205 |
for (TInt i=0; i<len; i++) |
|
206 |
{ |
|
207 |
CShowInfo *si = fItems[i]; |
|
208 |
FormatShowInfoListBoxItemL(*si); |
|
209 |
iItemIdArray.Append(si->Uid()); |
|
210 |
iItemArray->AppendL(iListboxFormatbuffer); |
|
211 |
} |
|
212 |
} |
|
213 |
else |
|
214 |
{ |
|
215 |
iItemArray->Reset(); |
|
216 |
iItemIdArray.Reset(); |
|
217 |
||
218 |
itemProps.SetDimmed(ETrue); |
|
219 |
itemProps.SetHiddenSelection(ETrue); |
|
220 |
} |
|
221 |
iListContainer->Listbox()->HandleItemAdditionL(); |
|
222 |
} |
|
223 |
} |
|
224 |
} |
|
225 |
} |
|
226 |
||
227 |
/** |
|
228 |
* Command handling function intended for overriding by sub classes. |
|
229 |
* Default implementation is empty. |
|
230 |
* @param aCommand ID of the command to respond to. |
|
231 |
*/ |
|
232 |
void CPodcastQueueView::HandleCommandL(TInt aCommand) |
|
233 |
{ |
|
234 |
switch (aCommand) |
|
235 |
{ |
|
236 |
case EPodcastRemoveAllDownloads: |
|
237 |
{ |
|
238 |
TBuf<KMaxMessageLength> msg; |
|
239 |
iEikonEnv->ReadResourceL(msg, R_CLEAR_QUERY); |
|
240 |
||
35
66c5303f3610
A ton of CodeScanner fixes (high issues) - but not all
Brendan Donegan <brendand@symbian.org>
parents:
23
diff
changeset
|
241 |
if(ShowQueryMessageL(msg)) |
2 | 242 |
{ |
35
66c5303f3610
A ton of CodeScanner fixes (high issues) - but not all
Brendan Donegan <brendand@symbian.org>
parents:
23
diff
changeset
|
243 |
iPodcastModel.ShowEngine().RemoveAllDownloadsL(); |
2 | 244 |
UpdateListboxItemsL(); |
245 |
} |
|
246 |
} |
|
247 |
break; |
|
248 |
case EPodcastRemoveDownload: |
|
249 |
{ |
|
250 |
TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
|
251 |
if (index >= 0 && index < iPodcastModel.ActiveShowList().Count()) |
|
252 |
{ |
|
185
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
253 |
// this is an ugly hack to prevent UpdateListboxItemsL from being |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
254 |
// triggered from the show engine, which causes focus to jump |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
255 |
// around in an ugly fashion |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
256 |
iDontUpdateList = ETrue; |
116 | 257 |
TRAP_IGNORE(iPodcastModel.ShowEngine().RemoveDownloadL(iPodcastModel.ActiveShowList()[index]->Uid())); |
185
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
258 |
iDontUpdateList = EFalse; |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
259 |
} |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
260 |
UpdateListboxItemsL(); |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
261 |
if (index > 0) |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
262 |
{ |
92eadaba67e6
Fix so listbox position is kept when removing a show from queue
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
168
diff
changeset
|
263 |
iListContainer->Listbox()->SetCurrentItemIndex(index - 1); |
2 | 264 |
} |
265 |
} |
|
266 |
break; |
|
151 | 267 |
case EPodcastMoveDownloadUp: |
268 |
{ |
|
269 |
TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
|
270 |
TBool resumeAfterMove = EFalse; |
|
271 |
if (index == 1 && !iPodcastModel.SettingsEngine().DownloadSuspended()) |
|
272 |
{ |
|
273 |
iPodcastModel.ShowEngine().SuspendDownloads(); |
|
274 |
resumeAfterMove = ETrue; |
|
275 |
} |
|
276 |
||
277 |
if (index >= 0 && index < iPodcastModel.ActiveShowList().Count()) |
|
278 |
{ |
|
279 |
TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadUpL(iPodcastModel.ActiveShowList()[index]->Uid())); |
|
280 |
} |
|
281 |
||
282 |
if(resumeAfterMove) |
|
283 |
{ |
|
284 |
iPodcastModel.ShowEngine().ResumeDownloadsL(); |
|
285 |
} |
|
286 |
||
168
9d3b805af5ab
Improvement to queue shifting function - move the highlight too.
Brendan Donegan <brendand@symbian.org>
parents:
163
diff
changeset
|
287 |
iListContainer->Listbox()->SetCurrentItemIndex(index - 1); |
151 | 288 |
UpdateListboxItemsL(); |
289 |
} |
|
290 |
break; |
|
291 |
case EPodcastMoveDownloadDown: |
|
292 |
{ |
|
293 |
TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
|
294 |
TBool resumeAfterMove = EFalse; |
|
295 |
if (index == 0 && !iPodcastModel.SettingsEngine().DownloadSuspended()) |
|
296 |
{ |
|
297 |
iPodcastModel.ShowEngine().SuspendDownloads(); |
|
298 |
resumeAfterMove = ETrue; |
|
299 |
} |
|
300 |
||
301 |
if (index >= 0 && index < iPodcastModel.ActiveShowList().Count()) |
|
302 |
{ |
|
303 |
TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadDownL(iPodcastModel.ActiveShowList()[index]->Uid())); |
|
304 |
} |
|
305 |
||
306 |
if(resumeAfterMove) |
|
307 |
{ |
|
308 |
iPodcastModel.ShowEngine().ResumeDownloadsL(); |
|
309 |
} |
|
310 |
||
168
9d3b805af5ab
Improvement to queue shifting function - move the highlight too.
Brendan Donegan <brendand@symbian.org>
parents:
163
diff
changeset
|
311 |
iListContainer->Listbox()->SetCurrentItemIndex(index - 1); |
151 | 312 |
UpdateListboxItemsL(); |
313 |
} |
|
314 |
break; |
|
2 | 315 |
case EPodcastSuspendDownloads: |
316 |
{ |
|
317 |
iPodcastModel.ShowEngine().SuspendDownloads(); |
|
318 |
UpdateListboxItemsL(); |
|
319 |
} |
|
320 |
break; |
|
321 |
case EPodcastResumeDownloads: |
|
322 |
{ |
|
323 |
iPodcastModel.ShowEngine().ResumeDownloadsL(); |
|
324 |
UpdateListboxItemsL(); |
|
325 |
} |
|
326 |
break; |
|
327 |
default: |
|
328 |
CPodcastListView::HandleCommandL(aCommand); |
|
329 |
break; |
|
330 |
} |
|
50 | 331 |
iListContainer->SetLongTapDetectedL(EFalse); // in case we got here by long tapping |
2 | 332 |
UpdateToolbar(); |
333 |
} |
|
334 |
||
335 |
void CPodcastQueueView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane) |
|
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
336 |
{ |
2 | 337 |
if(aResourceId == R_PODCAST_SHOWSVIEW_MENU) |
338 |
{ |
|
339 |
aMenuPane->SetItemDimmed(EPodcastMarkAllPlayed, ETrue); |
|
340 |
} |
|
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
341 |
} |
2 | 342 |
|
13 | 343 |
void CPodcastQueueView::UpdateToolbar(TBool aVisible) |
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
344 |
{ |
2 | 345 |
CAknToolbar* toolbar = Toolbar(); |
346 |
||
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
347 |
if (toolbar) |
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
348 |
{ |
13 | 349 |
RShowInfoArray &fItems = iPodcastModel.ActiveShowList(); |
350 |
TInt itemCnt = fItems.Count(); |
|
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
351 |
if (iListContainer->IsVisible()) |
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
352 |
{ |
14
4e75731546eb
Fix so toolbars only change visibility for the visible view
teknolog
parents:
13
diff
changeset
|
353 |
toolbar->SetToolbarVisibility(aVisible); |
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
354 |
} |
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
355 |
|
13 | 356 |
toolbar->HideItem(EPodcastRemoveAllDownloads, EFalse, ETrue); |
357 |
toolbar->SetItemDimmed(EPodcastRemoveAllDownloads, itemCnt == 0, ETrue); |
|
358 |
toolbar->HideItem(EPodcastSuspendDownloads,iPodcastModel.SettingsEngine().DownloadSuspended(), ETrue); |
|
359 |
toolbar->HideItem(EPodcastResumeDownloads,!iPodcastModel.SettingsEngine().DownloadSuspended(), ETrue); |
|
23
cf4b850bbffb
Added macro SYMBIAN1_UI that toggles between single and double tap UI
teknolog
parents:
14
diff
changeset
|
360 |
toolbar->SetItemDimmed(EPodcastRemoveDownload, itemCnt == 0, ETrue); |
163
f94dbd678dda
Fix for bug 3183; merging minor differences with symbian1 branch
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
361 |
} |
13 | 362 |
} |
151 | 363 |
|
364 |
void CPodcastQueueView::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& /* aPenEventScreenLocation */) |
|
365 |
{ |
|
366 |
DP("CPodcastQueueView::HandleLongTapEventL BEGIN"); |
|
367 |
iListContainer->SetLongTapDetectedL(ETrue); |
|
368 |
||
369 |
const TInt KListboxDefaultHeight = 19; // for some reason it returns 19 for an empty listbox in S^1 |
|
370 |
TInt lbHeight = iListContainer->Listbox()->CalcHeightBasedOnNumOfItems( |
|
371 |
iListContainer->Listbox()->Model()->NumberOfItems()) - KListboxDefaultHeight; |
|
372 |
||
373 |
if(iStylusPopupMenu && aPenEventLocation.iY < lbHeight) |
|
374 |
{ |
|
375 |
TBool dimDown = (iListContainer->Listbox()->CurrentItemIndex() >= iPodcastModel.ActiveShowList().Count() - 1 ? |
|
376 |
ETrue : EFalse); |
|
377 |
TBool dimUp = (iListContainer->Listbox()->CurrentItemIndex() <= 0 ? |
|
378 |
ETrue : EFalse); |
|
379 |
||
380 |
iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadDown, dimDown); |
|
381 |
iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadUp, dimUp); |
|
382 |
||
383 |
iStylusPopupMenu->ShowMenu(); |
|
384 |
iStylusPopupMenu->SetPosition(aPenEventLocation); |
|
385 |
} |
|
386 |
||
387 |
DP("CPodcastQueueView::HandleLongTapEventL END"); |
|
388 |
} |