QQueue与struct有关问题请问

QQueue与struct问题请教struct myStruct{QStringList listint countbool typeQString nameint pre}Q

QQueue与struct问题请教
struct myStruct
{
  QStringList list;
  int count;
  bool type;
  QString name;
  int pre;
};
QQueue<myStruct> myQueue;
请问怎么获取队列中的指定值,谢谢!

[解决办法]
遍历。。。我找不到好方法了
[解决办法]
我也觉得只能遍历。