kiten/lib
HistoryPtrList Class Reference
#include <HistoryPtrList.h>
Detailed Description
Definition at line 29 of file HistoryPtrList.h.
Public Member Functions | |
| void | addItem (EntryList *) |
| int | count () |
| EntryList * | current () |
| HistoryPtrList () | |
| int | index () |
| void | next (int distance=1) |
| void | prev (int distance=1) |
| void | setCurrent (int i) |
| QStringList | toStringList () |
| QStringList | toStringListNext () |
| QStringList | toStringListPrev () |
| virtual | ~HistoryPtrList () |
Constructor & Destructor Documentation
| HistoryPtrList::HistoryPtrList | ( | ) |
Construct a HistoryPtrList, this should be done early on.
Definition at line 34 of file HistoryPtrList.cpp.
| HistoryPtrList::~HistoryPtrList | ( | ) | [virtual] |
Member Function Documentation
| void HistoryPtrList::addItem | ( | EntryList * | newItem | ) |
Add an item to the end of the history list and set it as the current displayed item.
Definition at line 46 of file HistoryPtrList.cpp.
| int HistoryPtrList::count | ( | ) |
| EntryList * HistoryPtrList::current | ( | ) |
Return the item at the location given by the param, and set it to be the current history list item.
Return the current item
Definition at line 129 of file HistoryPtrList.cpp.
| int HistoryPtrList::index | ( | ) |
| void HistoryPtrList::next | ( | int | distance = 1 |
) |
Add one to the current location, convenient for 'forward' buttons.
Definition at line 113 of file HistoryPtrList.cpp.
| void HistoryPtrList::prev | ( | int | distance = 1 |
) |
Sub one from the current location, the counterpart to next().
Definition at line 121 of file HistoryPtrList.cpp.
| void HistoryPtrList::setCurrent | ( | int | i | ) |
| QStringList HistoryPtrList::toStringList | ( | ) |
Return a list of the entries.
Note that this is usually just a QStringList of all of the EntryList's DictQuery->toString() calls.
Definition at line 82 of file HistoryPtrList.cpp.
| QStringList HistoryPtrList::toStringListNext | ( | ) |
Return a summary list that only includes those after the current.
Definition at line 102 of file HistoryPtrList.cpp.
| QStringList HistoryPtrList::toStringListPrev | ( | ) |
Return a list of the entries prior to the current one (not including the current entry.
Definition at line 92 of file HistoryPtrList.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference