- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
//retrive the weather file
QProcess* process = new QProcess(this);
QString command = "wget -O " + QDir::homePath() + "/.weather.xml http://weather.yahooapis.com/forecastrss?p=" + zip;
if(tempType == "C")
{
command.append("&u=c");
}
process->start(command);
process->waitForFinished();
delete process;
Комментарии (0) RSS
Добавить комментарий