marble
WeatherPlugin.cpp
Go to the documentation of this file.
162 m_settings.insert( "showTemperature", settings.value( "showTemperature", showTemperatureDefault ) );
163 m_settings.insert( "showWindDirection", settings.value( "showWindDirection", showWindDirectionDefault ) );
void setNumberOfItems(quint32 number)
Set the number of items to be shown at the same time.
Definition: AbstractDataPlugin.cpp:156
Definition: WeatherData.h:120
iterator insert(const Key &key, const T &value)
MarbleLocale::MeasurementSystem measurementSystem() const
Definition: MarbleLocale.cpp:45
Definition: WeatherModel.h:32
QList< PluginAuthor > pluginAuthors() const
Definition: WeatherPlugin.cpp:108
virtual void setFavoriteItems(const QStringList &list)
Definition: AbstractDataPluginModel.cpp:466
void setMarbleWidget(MarbleWidget *widget)
Definition: WeatherModel.cpp:116
QDialog * configDialog()
Returns a pointer to the configuration dialog of the plugin.
Definition: WeatherPlugin.cpp:125
bool eventFilter(QObject *, QEvent *)
Definition: RenderPlugin.cpp:216
Definition: PluginInterface.h:28
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
QString join(const QString &separator) const
QString copyrightYears() const
Definition: WeatherPlugin.cpp:103
QString tr(const char *sourceText, const char *disambiguation, int n)
int size() const
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
bool isInitialized() const
Definition: AbstractDataPlugin.cpp:81
QString aboutDataText() const
Returns about text (credits) for external data the plugin uses.
Definition: WeatherPlugin.cpp:115
const_iterator constEnd() const
Definition: WeatherPlugin.h:30
void setItemSettings(QHash< QString, QVariant > itemSettings)
Sets the settings for all items.
Definition: AbstractDataPluginModel.cpp:568
void settingsChanged(QString nameId)
This signal is emitted if the settings of the RenderPlugin changed.
Definition: WeatherData.h:110
void setModel(AbstractDataPluginModel *model)
Set the model of the plugin.
Definition: AbstractDataPlugin.cpp:134
Definition: WeatherData.h:102
void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: WeatherPlugin.cpp:157
const T value(const Key &key) const
A class that contains all localization stuff for Marble.
Definition: MarbleLocale.h:31
bool eventFilter(QObject *object, QEvent *event)
Definition: WeatherPlugin.cpp:203
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
const_iterator constBegin() const
QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: WeatherPlugin.cpp:144
Definition: WeatherData.h:103
void setFavoriteItemsOnly(bool favoriteOnly)
Definition: AbstractDataPluginModel.cpp:483
QString description() const
Returns a user description of the plugin.
Definition: WeatherPlugin.cpp:98
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: RenderPlugin.cpp:185
AbstractDataPluginModel * model()
Definition: AbstractDataPlugin.cpp:124
Definition: WeatherData.h:111
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: RenderPlugin.cpp:195
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.