.TH "KSortableValueList" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSortableValueList \- KSortableValueList is a special \fBQValueList\fP for \fBKSortableItem\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksortablevaluelist.h>\fP
.PP
Inherits \fBQValueList< KSortableItem< T, Key > >\fP.
.PP
Inherited by \fBKCompletionMatches\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "void \fBinsert\fP (Key i, const T &t)"
.br
.ti -1c
.RI "T & \fBoperator[]\fP (Key i)"
.br
.ti -1c
.RI "const T & \fBoperator[]\fP (Key i) const "
.br
.ti -1c
.RI "void \fBsort\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 

.SS "template<class T, class Key = int> class KSortableValueList< T, Key >"
KSortableValueList is a special \fBQValueList\fP for \fBKSortableItem\fP. 

It includes convenience operators to get the first value of the \fBKSortableItem\fP and a method to sort all items. 
.PP
Definition at line 130 of file ksortablevaluelist.h.
.SH "Member Function Documentation"
.PP 
.SS "template<class T, class Key = int> void \fBKSortableValueList\fP< T, Key >::insert (Key i, const T & t)\fC [inline]\fP"
.PP
Insert a \fBKSortableItem\fP with the given values. 
.PP
\fBParameters:\fP
.RS 4
\fIi\fP the first value 
.br
\fIt\fP the second value 
.RE
.PP

.PP
Definition at line 138 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> T& \fBKSortableValueList\fP< T, Key >::operator[] (Key i)\fC [inline]\fP"
.PP
Returns the first value of the \fBKSortableItem\fP at the given position. 
.PP
\fBReturns:\fP
.RS 4
the first value of the \fBKSortableItem\fP 
.RE
.PP

.PP
Definition at line 147 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> const T& \fBKSortableValueList\fP< T, Key >::operator[] (Key i) const\fC [inline]\fP"
.PP
Returns the first value of the \fBKSortableItem\fP at the given position. 
.PP
\fBReturns:\fP
.RS 4
the first value of the \fBKSortableItem\fP 
.RE
.PP

.PP
Definition at line 155 of file ksortablevaluelist.h.
.SS "template<class T, class Key = int> void \fBKSortableValueList\fP< T, Key >::sort ()\fC [inline]\fP"
.PP
Sorts the KSortableItems. 
.PP
Definition at line 162 of file ksortablevaluelist.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
