File indexing completed on 2024-05-12 15:31:20
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2011 Valery Kharitonov <kharvd@gmail.com> 0004 // 0005 0006 #include "GeoNamesWeatherItem.h" 0007 0008 using namespace Marble; 0009 0010 GeoNamesWeatherItem::GeoNamesWeatherItem( QObject *parent ) 0011 : WeatherItem( parent ) 0012 { 0013 } 0014 0015 GeoNamesWeatherItem::~GeoNamesWeatherItem() 0016 { 0017 } 0018 0019 void GeoNamesWeatherItem::addDownloadedFile( const QString& url, const QString& type ) 0020 { 0021 Q_UNUSED( url ) 0022 Q_UNUSED( type ) 0023 } 0024 0025 QString GeoNamesWeatherItem::service() const 0026 { 0027 return QString( "GeoNames" ); 0028 } 0029 0030 QString GeoNamesWeatherItem::creditHtml() const 0031 { 0032 return tr( "Supported by <a href=\"https://www.geonames.org/export/JSON-webservices.html\" target=\"_BLANK\">geonames.org</a>" ); 0033 } 0034 0035 #include "moc_GeoNamesWeatherItem.cpp"