okay got it...

well i use append function as my QList is like this...
QList<QPair<QString, int> > instructionList; to add items...i hope its correct