13 #include <QtCore/QList>
31 void addEntry(T,
bool replace =
false);
71 while (it != this->end())
85 while (it != rhs.end())
95 if (this->count() == 0)
102 T item = this->last();
111 item = this->first();
119 QString strKey = entry->string();
121 unsigned int iLower = 0;
122 unsigned int iUpper = this->count() - 1;
124 while ((iUpper - iLower) != 1)
126 int iPos = (iUpper + iLower) / 2;
128 if (sdKey < *this->at(iPos))
132 else if (sdKey > *this->at(iPos))
136 else if ((sdKey == *this->at(iPos)) && replace)
138 *this->at(iPos) = *entry;
144 insert(iLower + 1, entry);
147 template <
typename T>
152 while (iter != this->end())
165 template <
typename T>
170 while (iter != this->end())