CHgSingleTextListWithIcon Class Reference

class CHgSingleTextListWithIcon : public CHgSingleTextList

Inherits from

Public Member Functions
~CHgSingleTextListWithIcon()
IMPORT_C CHgSingleTextListWithIcon *NewL(const TRect &, TInt, CGulIcon *, RWsSession *)
Protected Member Functions
CHgSingleTextListWithIcon(TInt, CGulIcon *)
voidConstructL(const TRect &, RWsSession *)
voidDrawItem(TInt, const TRect &)
voidHandleScrollbarVisibilityChange(TBool)
voidHandleSizeChanged()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::ComponentControl(TInt)const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ConstructFromResourceL(TResourceReader &)
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CountComponentControls()const
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MinimumSize()
CCoeControl::MopSupplyObject(TTypeUid)
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAdjacent(TInt)
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CHgList::CHgList(TInt,CGulIcon *)
CHgList::CurrentIndex()
CHgList::DoDraw(const TRect &)const
CHgList::DoHandleKeyEvent(const TKeyEvent &)
CHgList::DrawHighlight(const TRect &,TRgb &)const
CHgList::FitSelectionToView()
CHgList::FitTopItemToView(TInt)
CHgList::GetSelected(TPoint)const
CHgList::HandleDownArrow()
CHgList::HandleUpArrow()
CHgList::InitItemsL()
CHgList::IsDisplayed(TInt)
CHgList::ListRect()const
CHgList::ResetClippingRect(CWindowGc &)const
CHgList::SelectDefaultItem()
CHgList::TotalSize()const
CHgList::~CHgList()
CHgScroller::AddItem(CHgItem *)
CHgScroller::CHgScroller(TInt,CGulIcon *)
CHgScroller::ClearFlags(TInt)
CHgScroller::CollectionExtension(TUint,TAny *&,TAny *)
CHgScroller::CollectionState()const
CHgScroller::DisableScrollBuffer()
CHgScroller::Draw(const TRect &)const
CHgScroller::EnableScrollBufferL(MHgScrollBufferObserver &,TInt,TInt)
CHgScroller::FirstIndexOnScreen()
CHgScroller::FitRowToView(TInt)
CHgScroller::Flags()
CHgScroller::FocusChanged(TDrawNow)
CHgScroller::GetMarkedItemsL(RArray< TInt > &)
CHgScroller::HandleLongTapEventL(const TPoint &,const TPoint &)
CHgScroller::HandlePointerEventL(const TPointerEvent &)
CHgScroller::HandleResourceChange(TInt)
CHgScroller::HandleViewPositionChanged(TBool)
CHgScroller::HasHighlight()const
CHgScroller::HightlightItem(const TDesC &)
CHgScroller::InitDrawBuffer()const
CHgScroller::InitPhysicsL()
CHgScroller::InitScreenL(const TRect &)
CHgScroller::InitScreenL(const TRect &,RWsSession &)
CHgScroller::InputCapabilities()const
CHgScroller::InsertItem(CHgItem *,TInt)
CHgScroller::ItemActionMenuClosed()
CHgScroller::ItemCount()const
CHgScroller::ItemL(TInt)
CHgScroller::ItemsOnScreen()
CHgScroller::Mark(TInt)
CHgScroller::MarkAll()
CHgScroller::MarqueeCallback(TAny *)
CHgScroller::OfferKeyEventL(const TKeyEvent &,TEventCode)
CHgScroller::PhysicEmulationEnded()
CHgScroller::RefreshScreen(TInt)
CHgScroller::RemoveItem(TInt)
CHgScroller::Reset()
CHgScroller::ResizeL(TInt)
CHgScroller::SelectedIndex()
CHgScroller::SelectionChanged()
CHgScroller::SelectionMode()const
CHgScroller::SetDefaultIconL(CGulIcon *)
CHgScroller::SetEmptyTextL(const TDesC &)
CHgScroller::SetFirstIndexOnScreen(TInt)
CHgScroller::SetFlags(TInt)
CHgScroller::SetItem(CHgItem *,TInt)
CHgScroller::SetMarkingObserver(MHgMarkingObserver &)
CHgScroller::SetMenuProviderL(MObjectProvider *)
CHgScroller::SetScrollBarTypeL(THgScrollBarType)
CHgScroller::SetSelectedIndex(TInt)
CHgScroller::SetSelectionMode(TSelectionMode)
CHgScroller::SetSelectionObserver(MHgSelectionObserver &)
CHgScroller::SizeChanged()
CHgScroller::UnMark(TInt)
CHgScroller::UnMarkAll()
CHgScroller::ViewPosition()const
CHgScroller::ViewPositionChanged(const TPoint &,TBool,TUint)
CHgScroller::~CHgScroller()
CHgSingleTextList::CHgSingleTextList(TInt,CGulIcon *)
CHgSingleTextList::~CHgSingleTextList()
Inherited Enumerations
CCoeControl:TZoomType
CHgScroller:THgScrollBarType
CHgScroller:THgScrollerMode
CHgScroller:TKeyScrollingState
CHgScroller:TSelectionMode
Private Attributes
CHgListLayoutData *iGraphicLayoutData
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CHgList::iColor
CHgList::iColorBack
CHgList::iHighlightedColor
CHgList::iHighlightedColorBack
CHgList::iLayoutData
CHgList::iListOffset
CHgList::iRows
CHgScroller::iActionMenu
CHgScroller::iCurrentRow
CHgScroller::iDefaultIcon
CHgScroller::iDetector
CHgScroller::iDrawUtils
CHgScroller::iEmptyText
CHgScroller::iFlags
CHgScroller::iFocusedIndex
CHgScroller::iHeight
CHgScroller::iHighlightTimer
CHgScroller::iImageSize
CHgScroller::iIndicatorManager
CHgScroller::iIndicatorSize
CHgScroller::iItemCount
CHgScroller::iItems
CHgScroller::iItemsOnScreen
CHgScroller::iKeyRepeats
CHgScroller::iKeyScrollingState
CHgScroller::iKeyScrollingTimer
CHgScroller::iKeyUtils
CHgScroller::iLandscapeScrolling
CHgScroller::iManager
CHgScroller::iMarkingObserver
CHgScroller::iOldWinPos
CHgScroller::iPanning
CHgScroller::iPhysics
CHgScroller::iPointerDown
CHgScroller::iPopupDrawer
CHgScroller::iPopupFont
CHgScroller::iPopupText1
CHgScroller::iPopupText2
CHgScroller::iPrev
CHgScroller::iResetViewPosition
CHgScroller::iRowHeight
CHgScroller::iScrollBarType
CHgScroller::iScrollbar
CHgScroller::iSelectedIndex
CHgScroller::iSelectionMode
CHgScroller::iSelectionObserver
CHgScroller::iSelectionToFocusedItem
CHgScroller::iShowHighlight
CHgScroller::iStart
CHgScroller::iStartTime
CHgScroller::iTextFind
CHgScroller::iUpperCaseTitle
CHgScroller::iViewPosition
CHgScroller::iWidth

Constructor & Destructor Documentation

CHgSingleTextListWithIcon(TInt, CGulIcon *)

CHgSingleTextListWithIcon(TIntaItemCount,
CGulIcon *aDefaultIcon
)[protected]

Parameters

TInt aItemCount
CGulIcon * aDefaultIcon

~CHgSingleTextListWithIcon()

IMPORT_C~CHgSingleTextListWithIcon()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TRect &, RWsSession *)

voidConstructL(const TRect &aRect,
RWsSession *aSession
)[protected]

Usage:

  #include <featdiscovery.h>
  #include <featureinfo.h> // for feature definitions

  // replace <featureUIDx> with a real UID )

  // If querying only one feature, it is more efficient to use the class
  // via the static method, IsFeatureSupportedL().
  // When querying more than one feature, it is more efficient to use the
  // class by creating an instance and calling the IsSupported() method.

  // Static way of using the class:
  TBool isSupported = CFeatureDiscovery::IsFeatureSupportedL(<featureUIDx>);

  // Dynamic way of using the class using NewL():

  // Call NewL() to create an instance of CFeatureDiscovery.
  CFeatureDiscovery* testA = CFeatureDiscovery::NewL();

  // Call the exported IsSupported() method to query whether features
  // are supported in the current environment or not.
  TBool usbSupported = testA->IsSupported(<featureUIDx>);
  TBool mmcSupported = testA->IsSupported(<featureUIDx>);

  // Delete the created instance of CFeatureDiscovery.
  delete testA;

  // Dynamic way of using the class using NewLC():

  // Call NewLC() to create an instance of CFeatureDiscovery.
  // The method leaves the instance of the object on the cleanup stack.
  CFeatureDiscovery* testB = CFeatureDiscovery::NewLC();

  // Call the exported IsSupported() method to query whether features
  // are supported in the current environment or not.
  TBool wcdmaSupported = testB->IsSupported(<featureUIDx>);
  TBool gsmSupported = testB->IsSupported(<featureUIDx>);

  // Dynamic way of using multiple feature query. This is preferred
  // way to fetch support statuses if there are several features to be
  // queried, because it involves less inter-process communication.

  TFeatureSet featset;
  User::LeaveIfError( featset.Append( <featureUIDx> ) );
  User::LeaveIfError( featset.Append( <featureUIDx> ) );
  TInt err = testB->FeaturesSupported( featset );
	if(!err)
		{
			TBool uid1Supported = featset.IsFeatureSupported(<featureUIDx>);
			TBool uid2Supported = featset.IsFeatureSupported(<featureUIDx>);
			// ... or whether all QUERIED features are supported
			TBool allSupported = featset.AreAllFeaturesSupported();
		}
  // featset cleans array up in destructor on scope exit

  // Pop and delete the created instance of CFeatureDiscovery.
  CleanupStack::PopAndDestroy();

Parameters

const TRect & aRect
RWsSession * aSession

DrawItem(TInt, const TRect &)

voidDrawItem(TIntaIndex,
const TRect &aRect
)const [protected, virtual]

Parameters

TInt aIndex
const TRect & aRect

HandleScrollbarVisibilityChange(TBool)

voidHandleScrollbarVisibilityChange(TBoolaVisible)[protected, virtual]

Parameters

TBool aVisible

HandleSizeChanged()

voidHandleSizeChanged()[protected, virtual]

NewL(const TRect &, TInt, CGulIcon *, RWsSession *)

IMPORT_C CHgSingleTextListWithIcon *NewL(const TRect &aRect,
TIntaItemCount,
CGulIcon *aDefaultIcon = NULL,
RWsSession *aSession = NULL
)[static]

Creates new CHgSingleTextList.

Parameters

const TRect & aRectRect that the control draws onto.
TInt aItemCountTotal count of items in the grid
CGulIcon * aDefaultIcon = NULLDefault icon to be used.
RWsSession * aSession = NULLWindow server session for DSA. Default is NULL and DSA is disabled.

Member Data Documentation

CHgListLayoutData * iGraphicLayoutData

CHgListLayoutData *iGraphicLayoutData[private]