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

QStringVector Class Reference

A Vector of QStrings that can be sorted and searched. More...

#include </home/clem/local/src/opie/noncore/apps/tableviewer/db/common.h>

List of all members.

Public Member Functions

int compareItems (Item a, Item b)


Detailed Description

A Vector of QStrings that can be sorted and searched.

Implmented in order to allow reverse lookup on the string name

Definition at line 40 of file common.h.


Member Function Documentation

int QStringVector::compareItems Item  a,
Item  b
 

This function implements the compare function in order to allow the searching and sorting of the QStringVector to occur

Returns:
an int which is either
  • < 0 if the first string is smaller than the second,
  • > 0 if the first string is bigger then the second,
  • == 0 if the first string is equal to the second.

Definition at line 87 of file common.cpp.

References QString::compare().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:49:05 2005 for OPIE by  doxygen 1.4.2