}
else if(b[0]==QString("a/b")){
bool ok;
- QString e=QInputDialog::getItem(this, QString("choice"), QString("On vous offre un choix."), c.split(QString("<q>")), 0, 1, &ok);
+ QString e=QInputDialog::getItem(this, QString("choice"), QString("On vous offre un choix."), c.split(QString("!q!")), 0, 1, &ok);
if(ok)action(e);
}
else if(b[0]=="back"){
}
}
else if(b[0]=="run"){
- for(int d=0; d<=a.count(QString("<q>")); d++){
- action(c.split(QString("<q>"))[d]);
+ for(int d=0; d<=a.count(QString("!q!")); d++){
+ action(c.split(QString("!q!"))[d]);
}
}
else if(b[0]=="setfile"){
}
else if(b[0]==QString("box")){
QMessageBox::information(this, QString("box"), c);
+
}
else if(b[0]=="quit"){
quit();