Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OCompletionMatchesWrapper Class Reference

Collaboration diagram for OCompletionMatchesWrapper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OCompletionMatchesWrapper (bool sort=false)
 ~OCompletionMatchesWrapper ()
void setSorting (bool sort)
bool sorting () const
void append (int i, const QString &string)
void clear ()
uint count () const
bool isEmpty () const
QString first () const
QString last () const
QStringList list () const

Public Attributes

QStringList stringList
OCompletionMatchesListsortedList
bool dirty

Constructor & Destructor Documentation

OCompletionMatchesWrapper::OCompletionMatchesWrapper bool  sort = false  )  [inline]
 

Definition at line 152 of file ocompletion.cpp.

OCompletionMatchesWrapper::~OCompletionMatchesWrapper  )  [inline]
 

Definition at line 156 of file ocompletion.cpp.

References sortedList.


Member Function Documentation

void OCompletionMatchesWrapper::append int  i,
const QString string
[inline]
 

Definition at line 175 of file ocompletion.cpp.

References QValueList< T >::append(), dirty, OSortableValueList< T, Key >::insert(), sortedList, and stringList.

Referenced by OCompletion::extractStringsFromNode(), and OCompletion::findAllCompletions().

void OCompletionMatchesWrapper::clear  )  [inline]
 

Definition at line 183 of file ocompletion.cpp.

References QValueList< T >::clear(), dirty, sortedList, and stringList.

Referenced by OCompletion::addItem(), OCompletion::clear(), OCompletion::makeCompletion(), and OCompletion::removeItem().

uint OCompletionMatchesWrapper::count  )  const [inline]
 

Definition at line 190 of file ocompletion.cpp.

References QValueList< T >::count(), sortedList, and stringList.

Referenced by OCompletion::findAllCompletions(), and isEmpty().

QString OCompletionMatchesWrapper::first  )  const [inline]
 

Definition at line 200 of file ocompletion.cpp.

References list().

Referenced by OCompletion::makeCompletion(), and OCompletion::nextMatch().

bool OCompletionMatchesWrapper::isEmpty  )  const [inline]
 

Definition at line 196 of file ocompletion.cpp.

References count().

Referenced by OCompletion::makeCompletion(), OCompletion::nextMatch(), and OCompletion::previousMatch().

QString OCompletionMatchesWrapper::last  )  const [inline]
 

Definition at line 204 of file ocompletion.cpp.

References list().

Referenced by OCompletion::previousMatch().

QStringList OCompletionMatchesWrapper::list  )  const
 

Definition at line 916 of file ocompletion.cpp.

References QValueList< T >::begin(), QValueList< T >::clear(), dirty, QValueList< T >::end(), QValueList< T >::prepend(), OSortableValueList< T, Key >::sort(), sortedList, and stringList.

Referenced by OCompletion::allMatches(), first(), last(), OCompletion::makeCompletion(), OCompletion::nextMatch(), OCompletionMatches::OCompletionMatches(), OCompletion::previousMatch(), and OCompletion::substringCompletion().

void OCompletionMatchesWrapper::setSorting bool  sort  )  [inline]
 

Definition at line 160 of file ocompletion.cpp.

References QValueList< T >::clear(), dirty, sortedList, and stringList.

Referenced by OCompletion::setOrder().

bool OCompletionMatchesWrapper::sorting  )  const [inline]
 

Definition at line 171 of file ocompletion.cpp.

References sortedList.


Member Data Documentation

bool OCompletionMatchesWrapper::dirty [mutable]
 

Definition at line 212 of file ocompletion.cpp.

Referenced by append(), clear(), list(), and setSorting().

OCompletionMatchesList* OCompletionMatchesWrapper::sortedList
 

Definition at line 211 of file ocompletion.cpp.

Referenced by append(), clear(), count(), list(), OCompletionMatches::OCompletionMatches(), setSorting(), sorting(), and ~OCompletionMatchesWrapper().

QStringList OCompletionMatchesWrapper::stringList [mutable]
 

Definition at line 210 of file ocompletion.cpp.

Referenced by append(), clear(), count(), list(), and setSorting().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:41:57 2005 for OPIE by  doxygen 1.4.2