// QList 只读遍历
QList<int>list;
list << 1 << 2 << 3 << 4 << 5;
QListIterator<int>i(list);
for(;i.hasNext();)
{
qDebug() << "data <<" << i.next();
}