I need help to make the doc ! (all my soft capabilities is into action())
The first time this soft is launched, it will ask an URL to download the buttons
-(read ui.sql to understand what is expected).<br>
+(read ui.sql+ to understand what is expected).<br>
To upload in real time, you've to set ftp server (with "hack"->"action", and "set userftp",
"set passftp", "set host" and "set filebuttons", but filebuttons can be whatever you choose)
to a ftp server where you've an account on with syntax :
QString b=way.last();
way.removeLast();
qDebug()<<"a="<<a<<" b="<<b;
- lastprint=b;
- get(a, b);
+ //lastprint=b;
+ //get(a, b);
+ action(b);
}
qDebug()<<"quit() way.last()="<<way.last();
q->finish();
qq->finish();
- if(way.size())conf->setValue(QString("start"), way);
+ //if(way.size())conf->setValue(QString("start"), way);
//savButtons();
db.commit();
db.close();
else if(b[0]==QString("but")){
if(c!=""){
download(c);
+ qDebug()<<"but : "<<c;
}else{
downloadData();
};
};
}else if(k==Qt::Key_Back){
const QString a=conf->value(QString("menuback"), QString("")).toString();
- if(a!="")accepted++;
+ if(a=="")accepted++;
if(a!=lastprint){
beforekey=label->text();
action(a);
}else if(k==Qt::Key_VolumeDown){
qDebug()<<"keyvolumdown";
const QString a=conf->value(QString("volumdown"), QString("")).toString();
- if(a!="")accepted++;
+ if(a=="")accepted++;
if(a!=lastprint){
beforekey=lastprint;
action(a);
};
}else if(k==Qt::Key_VolumeUp){
const QString a=conf->value(QString("volumup"), QString("")).toString();
- if(a!="")accepted++;
+ if(a=="")accepted++;
if(a!=lastprint){
beforekey=lastprint;
action(a);