qsortedlist.3qt

来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 59 行

3QT
59
字号
.TH QSortedList 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQSortedList \- Allows sorting of elements which implement operator<.SH SYNOPSIS.br.PP\fC#include <qsortedlist.h>\fR.PPInherits QList..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQSortedList\fR ()".br.ti -1c.BI "\fBQSortedList\fR ( const QSortedList<type> & list )".br.ti -1c.BI "\fB~QSortedList\fR ()".br.ti -1c.BI "QSortedList<type>& \fBoperator=\fR ( const QSortedList<type> & l )".br.ti -1c.BI "virtual int \fBcompareItems\fR ( Item " "s1" ", Item s2 )".br.in -1c.SH DESCRIPTIONThe QSortedList class allows sorting of elements which implement operator<.PPIf you want to sort a QList you have to reimplement the QGList::compareItems method. If the elements of your list support the operator< and operator== then you can use QSortedList instead. It does not force you to reimplement QGList::compareItems to sort the list..PPSee also: QList and Collection Classes.SH MEMBER FUNCTION DOCUMENTATION.SH "QSortedList::QSortedList ()"Constructs an empty list..SH "QSortedList::QSortedList ( const QSortedList<type> & list )"Constructs a copy of \fIlist.\fR.PPEach item in \fIlist\fR is copied to this new list..SH "QSortedList::~QSortedList ()"Removes all items from the list and destroys the list..PPAll list iterators that access this list will be reset..SH "SEE ALSO".BR http://www.troll.no/qt/qsortedlist.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?