• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kiten/lib

HistoryPtrList Class Reference

#include <HistoryPtrList.h>

List of all members.


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]

Destructor.

.. kill all lists before going

Definition at line 37 of file HistoryPtrList.cpp.


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 (  ) 

Return the total number of items in the list.

Definition at line 146 of file HistoryPtrList.cpp.

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 (  ) 

Return the current numerican 0-based location.

Definition at line 141 of file HistoryPtrList.cpp.

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  ) 

Set the current item.

Definition at line 135 of file HistoryPtrList.cpp.

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:
  • HistoryPtrList.h
  • HistoryPtrList.cpp

kiten/lib

Skip menu "kiten/lib"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal