okteta
Go to the documentation of this file.
23 #ifndef KPIECETABLE_PIECELIST_H
24 #define KPIECETABLE_PIECELIST_H
29 #include <QtCore/QList>
74 bool isMerged =
false;
75 if( !
mList.isEmpty() )
76 isMerged =
mList.last().append( piece );
78 mList.append( piece );
86 bool isMerged =
false;
87 if( !
mList.isEmpty() && !other.
mList.isEmpty() )
88 isMerged =
mList.last().append( other.
mList.first() );
92 for( ; it != other.
mList.end(); ++it )
104 bool isMerged =
false;
105 if( !otherCopy.isEmpty() && !
mList.isEmpty() )
106 isMerged = otherCopy.last().append(
mList.first() );
110 for( ; it !=
mList.end(); ++it )
111 otherCopy.append( *it );
void append(const PieceList &other)
const Piece & at(int i) const
void prepend(const PieceList &other)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.