conf->setValue(QString("download"), QVariant("http://www.nothing2do.eu/ui.sql"));
conf->setValue(QString("uploadRAW"), QVariant("ftp://<user>:<pass>@<server>/raw"));
conf->setValue(QString("uploadUi"), QVariant("ftp://<user>:<pass>@<server>/ui.sql"));
- conf->setValue(QString("restore"), QVariant("http://www.abc.de/db"));
conf->setValue(QString("start"), QVariant("begin"));
+ conf->setValue(QString("restore"), QVariant("http://www.abc.de/db"));
conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/files/db"));
conf->setValue(QString("selectbuttons"), QVariant("select keyword,label,action from ui order by keyword;"));
conf->setValue(QString("selectraw"), QVariant("select date,texte from raw;"));
back();
//accepted=false;// close the app next time when the user press back button
}
+ else if(k==Qt::Key_VolumeDown){
+ action(conf->value(QString("volumdown")).toString());
+ }
+ else if(k==Qt::Key_VolumeUp){
+ action(conf->value(QString("volumup")).toString());
+ }
//Qt::Key_VolumeDown Qt::Key_VolumeUp
}