Okay, this is the solution I didn't found when I was implementing this, thanks. Bye the way, should I use a QVector or a QList?