23 #include "cfgip2country.h"
24 #include "ui_cfgip2country.h"
25 #include "configuration/doomseekerconfig.h"
27 DClass<CFGIP2Country> :
public Ui::CFGIP2Country
39 CFGIP2Country::~CFGIP2Country()
45 d->leIP2CUrl->setText(gConfig.doomseeker.ip2CountryUrl);
46 d->grbAutoUpdate->setChecked(gConfig.doomseeker.bIP2CountryAutoUpdate);
47 d->spinMaximumAge->setValue(gConfig.doomseeker.ip2CountryDatabaseMaximumAge);
52 gConfig.doomseeker.ip2CountryUrl = d->leIP2CUrl->text();
53 gConfig.doomseeker.bIP2CountryAutoUpdate = d->grbAutoUpdate->isChecked();
54 gConfig.doomseeker.ip2CountryDatabaseMaximumAge = d->spinMaximumAge->value();
void readSettings()
Reimplement this to read settings from config into widgets.
void saveSettings()
Reimplement this to write settings to config from widgets.
Base class for configuration pages.