• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • weather
FakeWeatherItem.cpp
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 // Self
12 #include "FakeWeatherItem.h"
13 
14 using namespace Marble;
15 
16 FakeWeatherItem::FakeWeatherItem( QObject *parent )
17  : WeatherItem( parent )
18 {
19 }
20 
21 FakeWeatherItem::~FakeWeatherItem()
22 {
23 }
24 
25 QString FakeWeatherItem::service() const
26 {
27  return QString( "fake" );
28 }
29 
30 void FakeWeatherItem::addDownloadedFile( const QString& url, const QString& type )
31 {
32  // There are no downloadable files for the fake backend
33  Q_UNUSED( url );
34  Q_UNUSED( type );
35 }
Marble::FakeWeatherItem::FakeWeatherItem
FakeWeatherItem(QObject *parent=0)
Definition: FakeWeatherItem.cpp:16
Marble::FakeWeatherItem::~FakeWeatherItem
~FakeWeatherItem()
Definition: FakeWeatherItem.cpp:21
QObject
QString
Marble::FakeWeatherItem::addDownloadedFile
void addDownloadedFile(const QString &url, const QString &type)
Definition: FakeWeatherItem.cpp:30
Marble::FakeWeatherItem::service
QString service() const
Returns the provider of the weather information.
Definition: FakeWeatherItem.cpp:25
FakeWeatherItem.h
Marble::WeatherItem
This is the class painting a weather item on the screen.
Definition: WeatherItem.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal