16,815
社区成员




test << "ab" << "cd";
qDebug() << test[0];
T & QList::operator[] ( int i )
Returns the item at index position i as a modifiable reference. i must be a valid index position in the list (i.e., 0 <= i < size()).
This function is very fast (constant time).
See also at() and value().