else if(b[0]=="new"){
entry(c);
}
+ else if(b[0]==QString("a/b")){
+ QString e=QInputDialog::getItem(this, QString("choice"), QString("On vous offre un choix."), c.split(QString("<q>")), 0, 0);
+ action(e);
+ }
else if(b[0]=="back"){
if(way.size()>=2){
way.removeLast();
}
}
else if(b[0]=="run"){
- for(int b=0; b<=a.count(QString("<q>")); b++){
- action(a.split(QString("<q>"))[b]);
+ for(int d=0; d<=a.count(QString("<q>")); d++){
+ action(b.split(QString("<q>"))[d]);
}
}
else if(b[0]=="setfile"){