else if(b[0]=="quit"){
quit();
}
+ else if(b[0]==QString("clear")){
+ way.clear();
+ }
else getButtons(a);
}
void MainWindow::createMenuBar(){
q->exec("BEGIN TRANSACTION;");
readButtons(m->downloadedData());
m->deleteLater();
+ conf->setValue(QString("lastdownload"), QDateTime::currentDateTime().toString(Qt::ISODate));
}
void MainWindow::sendRAW(){
exec(QList<QString> ({conf->value(QString("selectraw")).toString()}));
config$restore DB$settext restore
config$selectraw$settext selectraw
config$menu$settext menuback
-main help$action$box action can be : set #1 #2, settext #1, setint #1, setfile #1, box #, quit, # (getbuttons)
+main help$action$box action can be : set #1 #2, settext #1, setint #1, setfile #1, box #, quit, # (getbuttons), clear (way clear)