qsortedlist man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



QSortedList(3qt)				 QSortedList(3qt)

NAME
       QSortedList - List sorted by operator

       #include <qsortedlist.h>

       Inherits QList.

   Public Members
       QSortedList ()
       QSortedList ( const QSortedList<type> & list )
       ~QSortedList ()
       QSortedList<type>& operator= ( const QSortedList<type> &
	   list )

DESCRIPTION
       The QSortedList class provides a list sorted by operator<
       and operator==

       If you want to sort a QList you have to reimplement the
       QGList::compareItems() method. If the elements of your
       list support operator<() and operator==() then you can use
       QSortedList instead. Its compareItems() calls operator<()
       and operator==() and returns an appropriate result.

       Otherwise, this is as QList.

       See also QList and Collection Classes

MEMBER FUNCTION DOCUMENTATION
QSortedList::QSortedList ()
       Constructs an empty list.

QSortedList::QSortedList ( const QSortedList<;type> & list )
       Constructs a copy of list.

       Each item in list is copied to this new list.

QSortedList::~QSortedList ()
       Removes all items from the list and destroys the list.

       All list iterators that access this list will be reset.

int QSortedList::compareItems ( QCollection::Item s1,
       QCollection::Item s2 ) [virtual]
       Reimplemented for internal reasons; the API is not
       affected.

       This reimplementation uses operator< and operator== to
       compare.

QSortedList<;type>& QSortedList::operator= ( const
       QSortedList<type> & list )
       Assigns list to this list and returns a reference to this

Trolltech AS		   13 June 2001				1

QSortedList(3qt)				 QSortedList(3qt)

       list.

       This list is first cleared, then each item in list is
       appended to this list.  Only the pointers are copied
       (shallow copy), unless newItem() has been reimplemented().

SEE ALSO
       http://doc.trolltech.com/qsortedlist.html
       http://www.trolltech.com/faq/tech.html

COPYRIGHT
       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.

AUTHOR
       Generated automatically from the source code.

BUGS
       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.	Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qsortedlist.3qt) and the Qt version (2.3.1).

Trolltech AS		   13 June 2001				2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net