KWeatherCore

kweathercore

Introduction

Get weather forecast and alerts anywhere on the earth easy. LibKWeather provides you a highly abstracted library for things related to weather.

Main Components

Minimal Example

#include <KWeatherCore/WeatherForecastSource>
using namespace KWeatherCore;
//...
// Get the weatherforecast of Paris
auto m_pendingForecast = m_source.requestData(48.86, 2.34);
connect(m_pendingForecast, &PendingWeatherForecast::finished, [m_pendingForecast]{auto m_weatherData = m_pendingForecast->value();
m_pendingForecast->deleteLater();});
connect(m_pendingForecast, &PendingWeatherForecast::networkError, []{qDebug() << "network error";});
//...
Author(s):
Han Young <hanyo[email protected][email protected][email protected]proto[email protected]nmai[email protected]l.com>
Devin Lin <espid[email protected][email protected][email protected]mail.[email protected]com>
License(s):
GPLv2
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jun 12 2021 23:03:29 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.