equal
deleted
inserted
replaced
937 |
937 |
938 void CPodcastFeedView::GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode) |
938 void CPodcastFeedView::GetFeedErrorText(TDes &aErrorMessage, TInt aErrorCode) |
939 { |
939 { |
940 iEikonEnv->GetErrorText(aErrorMessage, aErrorCode); |
940 iEikonEnv->GetErrorText(aErrorMessage, aErrorCode); |
941 } |
941 } |
|
942 |
|
943 void CPodcastFeedView::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& /* aPenEventScreenLocation */) |
|
944 { |
|
945 DP("CPodcastListView::HandleLongTapEventL BEGIN"); |
|
946 |
|
947 if (iUpdatingAllRunning) { |
|
948 return; // we don't allow feed manipulation while update is running |
|
949 } |
|
950 |
|
951 const TInt KListboxDefaultHeight = 19; // for some reason it returns 19 for an empty listbox in S^1 |
|
952 TInt lbHeight = iListContainer->Listbox()->CalcHeightBasedOnNumOfItems( |
|
953 iListContainer->Listbox()->Model()->NumberOfItems()) - KListboxDefaultHeight; |
|
954 |
|
955 if(iStylusPopupMenu && aPenEventLocation.iY < lbHeight) |
|
956 { |
|
957 iStylusPopupMenu->ShowMenu(); |
|
958 iStylusPopupMenu->SetPosition(aPenEventLocation); |
|
959 } |
|
960 DP("CPodcastListView::HandleLongTapEventL END"); |
|
961 } |