|
MythTV
0.26-pre
|
Public Types | |
| enum | SortType { SORT_ATTRIBUTE = 0, SORT_STRING = 1, SORT_SELECTABLE = 3, SORT_ATT_THEN_STRING } |
Public Member Functions | |
| SortableMythGenericTreeList () | |
| void | SetSortType (SortType stype) |
| void | SetAttributeIndex (int index) |
| void | Sort (SortType stype, int attributeIndex=0) |
Static Public Member Functions | |
| static int | sortByString (MythGenericTree *one, MythGenericTree *two) |
| static int | sortBySelectable (MythGenericTree *one, MythGenericTree *two) |
Private Attributes | |
| SortType | m_sortType |
| int | m_attributeIndex |
Definition at line 9 of file mythgenerictree.cpp.
Definition at line 14 of file mythgenerictree.cpp.
Definition at line 12 of file mythgenerictree.cpp.
| void SortableMythGenericTreeList::SetSortType | ( | SortType | stype | ) | [inline] |
Definition at line 17 of file mythgenerictree.cpp.
| void SortableMythGenericTreeList::SetAttributeIndex | ( | int | index | ) | [inline] |
Definition at line 18 of file mythgenerictree.cpp.
Referenced by MythGenericTree::buildFlatListOfSubnodes().
| static int SortableMythGenericTreeList::sortByString | ( | MythGenericTree * | one, |
| MythGenericTree * | two | ||
| ) | [inline, static] |
Definition at line 34 of file mythgenerictree.cpp.
Referenced by Sort().
| static int SortableMythGenericTreeList::sortBySelectable | ( | MythGenericTree * | one, |
| MythGenericTree * | two | ||
| ) | [inline, static] |
Definition at line 41 of file mythgenerictree.cpp.
Referenced by Sort().
| void SortableMythGenericTreeList::Sort | ( | SortType | stype, |
| int | attributeIndex = 0 |
||
| ) | [inline] |
Definition at line 76 of file mythgenerictree.cpp.
Referenced by MythGenericTree::reorderSubnodes(), MythGenericTree::sortByAttributeThenByString(), MythGenericTree::sortBySelectable(), and MythGenericTree::sortByString().
Definition at line 98 of file mythgenerictree.cpp.
Referenced by SetSortType(), and Sort().
Definition at line 99 of file mythgenerictree.cpp.
Referenced by SetAttributeIndex(), and Sort().
1.7.6.1