#includeQStringList list;
list.append("item1"); list.append("item2");
QString item = list.at(0); // Gets the first item in the list QString lastItem = list.last(); // Gets the last item in the list
for (QStringList::Iterator it = list.begin(); it != list.end(); ++it) { QString item = *it; // Do something with item }Package library: Qt.