MHListGroup Class Reference

#include <TokenGroup.h>

Inheritance diagram for MHListGroup:

MHTokenGroup MHPresentable MHIngredient MHRoot

List of all members.


Detailed Description

Definition at line 98 of file TokenGroup.h.


Public Member Functions

 MHListGroup ()
virtual const char * ClassName ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Preparation (MHEngine *engine)
virtual void Destruction (MHEngine *engine)
virtual void Activation (MHEngine *engine)
virtual void Deactivation (MHEngine *engine)
virtual void AddItem (int nIndex, MHRoot *pItem, MHEngine *engine)
virtual void DelItem (MHRoot *pItem, MHEngine *engine)
virtual void GetCellItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void GetListItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void GetItemStatus (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void SelectItem (int nCell, MHEngine *engine)
virtual void DeselectItem (int nCell, MHEngine *engine)
virtual void ToggleItem (int nCell, MHEngine *engine)
virtual void ScrollItems (int nCell, MHEngine *engine)
virtual void SetFirstItem (int nCell, MHEngine *engine)
virtual void GetFirstItem (MHRoot *pResult, MHEngine *)
virtual void GetListSize (MHRoot *pResult, MHEngine *)

Protected Member Functions

void Update (MHEngine *engine)
void Select (int nIndex, MHEngine *engine)
void Deselect (int nIndex, MHEngine *engine)
int AdjustIndex (int nIndex)

Protected Attributes

MHSequence< QPoint > m_Positions
bool m_fWrapAround
bool m_fMultipleSelection
QPtrList< MHListItemm_ItemList
int m_nFirstItem
bool m_fFirstItemDisplayed
bool m_fLastItemDisplayed
int m_nLastCount
int m_nLastFirstItem

Constructor & Destructor Documentation

MHListGroup::MHListGroup (  ) 

Definition at line 217 of file TokenGroup.cpp.


Member Function Documentation

virtual const char* MHListGroup::ClassName (  )  [inline, virtual]

Reimplemented from MHTokenGroup.

Definition at line 102 of file TokenGroup.h.

void MHListGroup::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]

Reimplemented from MHTokenGroup.

Definition at line 227 of file TokenGroup.cpp.

void MHListGroup::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]

Reimplemented from MHTokenGroup.

Definition at line 242 of file TokenGroup.cpp.

void MHListGroup::Preparation ( MHEngine engine  )  [virtual]

Reimplemented from MHIngredient.

Definition at line 256 of file TokenGroup.cpp.

void MHListGroup::Destruction ( MHEngine engine  )  [virtual]

Reimplemented from MHIngredient.

Definition at line 274 of file TokenGroup.cpp.

void MHListGroup::Activation ( MHEngine engine  )  [virtual]

Reimplemented from MHTokenGroup.

Definition at line 281 of file TokenGroup.cpp.

void MHListGroup::Deactivation ( MHEngine engine  )  [virtual]

Reimplemented from MHTokenGroup.

Definition at line 289 of file TokenGroup.cpp.

void MHListGroup::AddItem ( int  nIndex,
MHRoot pItem,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 354 of file TokenGroup.cpp.

void MHListGroup::DelItem ( MHRoot pItem,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 369 of file TokenGroup.cpp.

void MHListGroup::GetCellItem ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 406 of file TokenGroup.cpp.

void MHListGroup::GetListItem ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 427 of file TokenGroup.cpp.

void MHListGroup::GetItemStatus ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 434 of file TokenGroup.cpp.

void MHListGroup::SelectItem ( int  nCell,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 441 of file TokenGroup.cpp.

void MHListGroup::DeselectItem ( int  nCell,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 448 of file TokenGroup.cpp.

void MHListGroup::ToggleItem ( int  nCell,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 455 of file TokenGroup.cpp.

void MHListGroup::ScrollItems ( int  nCell,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 462 of file TokenGroup.cpp.

void MHListGroup::SetFirstItem ( int  nCell,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 471 of file TokenGroup.cpp.

virtual void MHListGroup::GetFirstItem ( MHRoot pResult,
MHEngine  
) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 121 of file TokenGroup.h.

virtual void MHListGroup::GetListSize ( MHRoot pResult,
MHEngine  
) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 122 of file TokenGroup.h.

void MHListGroup::Update ( MHEngine engine  )  [protected]

Definition at line 298 of file TokenGroup.cpp.

Referenced by Activation(), AddItem(), ScrollItems(), and SetFirstItem().

void MHListGroup::Select ( int  nIndex,
MHEngine engine 
) [protected]

Definition at line 383 of file TokenGroup.cpp.

Referenced by SelectItem(), and ToggleItem().

void MHListGroup::Deselect ( int  nIndex,
MHEngine engine 
) [protected]

Definition at line 397 of file TokenGroup.cpp.

Referenced by DeselectItem(), Select(), and ToggleItem().

int MHListGroup::AdjustIndex ( int  nIndex  )  [protected]


Member Data Documentation

MHSequence<QPoint> MHListGroup::m_Positions [protected]

Definition at line 132 of file TokenGroup.h.

Referenced by GetCellItem(), Initialise(), PrintMe(), and Update().

Definition at line 133 of file TokenGroup.h.

Referenced by Initialise(), MHListGroup(), PrintMe(), and Select().

QPtrList<MHListItem> MHListGroup::m_ItemList [protected]

int MHListGroup::m_nFirstItem [protected]

Definition at line 137 of file TokenGroup.h.

Referenced by Activation(), and Update().

Definition at line 137 of file TokenGroup.h.

Referenced by Activation(), and Update().

int MHListGroup::m_nLastCount [protected]

Definition at line 138 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().

Definition at line 138 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:05 2010 for MythTV by  doxygen 1.5.5