ManagedListGroup Class Reference

#include <managedlist.h>

Inheritance diagram for ManagedListGroup:

ManagedListItem RootSRGroup SelectManagedListItem SRJobQueueGroup SRSchedInfoGroup SRSchedOptionsGroup SRStorageOptionsGroup BoolManagedListItem BoundedIntegerManagedListItem

List of all members.


Detailed Description

Definition at line 172 of file managedlist.h.


Public Slots

virtual void doGoBack ()
virtual void slotGuiActivate (ManagedListGroup *)

Signals

void goingBack ()
void wentBack ()

Public Member Functions

 ManagedListGroup (const QString &txt, ManagedListGroup *pGroup, ManagedList *parentList=NULL, QObject *_parent=NULL, const char *_name=0)
const QPtrList< ManagedListItem > * getItems () const
bool addItem (ManagedListItem *item, int where=-1)
const int getItemCount () const
virtual bool hasLeft ()
virtual bool hasRight ()
ManagedListGroupgetParentGroup ()
void setParentGroup (ManagedListGroup *pGroup)
virtual void cursorRight (bool page=false)
virtual void select ()
int getCurIndex () const
void setCurIndex (int newVal)
ManagedListItemgetItem (int index)
ManagedListItemgetCurItem ()
const QString getCurItemValue ()
const QString getItemValue (int which)
const QString getCurItemText ()
const QString getItemText (int which)
virtual void setParentList (ManagedList *_parent)
virtual void clear ()

Protected Attributes

QPtrList< ManagedListItemitemList
int curItem
int itemCount
QGuardedPtr< ManagedListGroupparentGroup
QGuardedPtr< ManagedListItemgoBack

Constructor & Destructor Documentation

ManagedListGroup::ManagedListGroup ( const QString &  txt,
ManagedListGroup pGroup,
ManagedList parentList = NULL,
QObject *  _parent = NULL,
const char *  _name = 0 
)

Definition at line 240 of file managedlist.cpp.


Member Function Documentation

const QPtrList<ManagedListItem>* ManagedListGroup::getItems (  )  const [inline]

Definition at line 180 of file managedlist.h.

bool ManagedListGroup::addItem ( ManagedListItem item,
int  where = -1 
)

const int ManagedListGroup::getItemCount (  )  const [inline]

Definition at line 183 of file managedlist.h.

virtual bool ManagedListGroup::hasLeft (  )  [inline, virtual]

Reimplemented from ManagedListItem.

Reimplemented in SelectManagedListItem, BoolManagedListItem, and BoundedIntegerManagedListItem.

Definition at line 185 of file managedlist.h.

virtual bool ManagedListGroup::hasRight (  )  [inline, virtual]

Reimplemented from ManagedListItem.

Reimplemented in SelectManagedListItem, BoolManagedListItem, and BoundedIntegerManagedListItem.

Definition at line 186 of file managedlist.h.

ManagedListGroup* ManagedListGroup::getParentGroup (  )  [inline]

Definition at line 188 of file managedlist.h.

void ManagedListGroup::setParentGroup ( ManagedListGroup pGroup  )  [inline]

Definition at line 189 of file managedlist.h.

void ManagedListGroup::cursorRight ( bool  page = false  )  [virtual]

Reimplemented from ManagedListItem.

Reimplemented in SelectManagedListItem, BoolManagedListItem, and BoundedIntegerManagedListItem.

Definition at line 322 of file managedlist.cpp.

void ManagedListGroup::select (  )  [virtual]

int ManagedListGroup::getCurIndex (  )  const [inline]

Definition at line 195 of file managedlist.h.

void ManagedListGroup::setCurIndex ( int  newVal  ) 

Definition at line 274 of file managedlist.cpp.

ManagedListItem* ManagedListGroup::getItem ( int  index  )  [inline]

Definition at line 198 of file managedlist.h.

ManagedListItem* ManagedListGroup::getCurItem (  )  [inline]

Definition at line 199 of file managedlist.h.

Referenced by setCurIndex().

const QString ManagedListGroup::getCurItemValue (  )  [inline]

const QString ManagedListGroup::getItemValue ( int  which  )  [inline]

Definition at line 202 of file managedlist.h.

const QString ManagedListGroup::getCurItemText (  )  [inline]

const QString ManagedListGroup::getItemText ( int  which  )  [inline]

Definition at line 206 of file managedlist.h.

void ManagedListGroup::setParentList ( ManagedList _parent  )  [virtual]

Reimplemented from ManagedListItem.

Definition at line 355 of file managedlist.cpp.

void ManagedListGroup::clear (  )  [virtual]

Definition at line 333 of file managedlist.cpp.

Referenced by SelectManagedListItem::clearSelections().

void ManagedListGroup::doGoBack (  )  [virtual, slot]

Reimplemented in SelectManagedListItem.

Definition at line 315 of file managedlist.cpp.

Referenced by clear(), SelectManagedListItem::doGoBack(), and ManagedListGroup().

void ManagedListGroup::slotGuiActivate ( ManagedListGroup _group  )  [virtual, slot]

Reimplemented from ManagedListItem.

Reimplemented in BoolManagedListItem, and BoundedIntegerManagedListItem.

Definition at line 262 of file managedlist.cpp.

Referenced by ManagedList::setCurGroup().

void ManagedListGroup::goingBack (  )  [signal]

Referenced by doGoBack().

void ManagedListGroup::wentBack (  )  [signal]

Referenced by doGoBack().


Member Data Documentation

int ManagedListGroup::curItem [protected]

int ManagedListGroup::itemCount [protected]

Definition at line 224 of file managedlist.h.

Referenced by clear(), doGoBack(), and ManagedListGroup().

QGuardedPtr<ManagedListItem> ManagedListGroup::goBack [protected]


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

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