void WeatherData::setMeasurements( float temperature, float humidity, float pressure ) { this->temperature=temperature; this->humidity=humidity; this->pressure=pressure; measurementsChanged(); }
void WeatherData::setMeasurements(float temp, float hum, float pres){ temperature = temp; humidity = hum; pressure = pres; measurementsChanged(); }