add network request source

This commit is contained in:
2016-11-04 01:12:25 +03:00
parent 7565ea2e82
commit 06f4882a2d
28 changed files with 750 additions and 42 deletions

View File

@ -227,7 +227,7 @@ void ExtWeather::readConfiguration()
settings.value(QString("X-AW-Provider"), strProvider()).toString());
settings.endGroup();
bumpApi(AWEWAPI);
bumpApi(AW_EXTWEATHER_API);
}
@ -301,7 +301,7 @@ int ExtWeather::showConfiguration(const QVariant args)
setName(ui->lineEdit_name->text());
setComment(ui->lineEdit_comment->text());
setNumber(ui->label_numberValue->text().toInt());
setApiVersion(AWEWAPI);
setApiVersion(AW_EXTWEATHER_API);
setCity(ui->lineEdit_city->text());
setCountry(ui->lineEdit_country->text());
setProvider(static_cast<Provider>(ui->comboBox_provider->currentIndex()));