From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/qsortedlist.html | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 doc/html/qsortedlist.html (limited to 'doc/html/qsortedlist.html') diff --git a/doc/html/qsortedlist.html b/doc/html/qsortedlist.html new file mode 100644 index 0000000..67451e3 --- /dev/null +++ b/doc/html/qsortedlist.html @@ -0,0 +1,95 @@ + + + + + +QSortedList Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

QSortedList Class Reference
[obsolete]

+ +

The QSortedList class provides a list sorted by operator< and operator==. +More... +

#include <qsortedlist.h> +

Inherits QPtrList<type>. +

List of all member functions. +

Public Members

+ +

Detailed Description

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

This class is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

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

Otherwise, this is as QPtrList. +

See also QPtrList. + +


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. + +

QSortedList<type> & QSortedList::operator= ( const QSortedList<type> & list ) +

+ +Assigns list to this list and returns a reference to this list. +

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


+This file is part of the Qt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.3