mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-09-09 09:09:56 +00:00
Replace yahoo finance to stooq (#131)
Old code is dropped to separated provider
This commit is contained in:
@ -31,15 +31,14 @@ public:
|
||||
"u='c' and woeid in (select woeid from "
|
||||
"geo.places(1) where text='%1, %2')";
|
||||
|
||||
explicit YahooWeatherProvider(QObject *_parent, const int _number);
|
||||
explicit YahooWeatherProvider(QObject *_parent);
|
||||
virtual ~YahooWeatherProvider();
|
||||
void initUrl(const QString &_city, const QString &_country, const int);
|
||||
QVariantHash parse(const QVariantMap &_json) const;
|
||||
QUrl url() const;
|
||||
|
||||
private:
|
||||
QVariantHash parseCurrent(const QVariantMap &_json,
|
||||
const QVariantMap &_atmosphere) const;
|
||||
QVariantHash parseCurrent(const QVariantMap &_json, const QVariantMap &_atmosphere) const;
|
||||
QVariantHash parseForecast(const QVariantMap &_json) const;
|
||||
int m_ts = 0;
|
||||
QUrl m_url;
|
||||
|
Reference in New Issue
Block a user