marble
EarthquakePlugin.cpp
Go to the documentation of this file.
139 m_startDate = settings.value( "startDate", QDateTime::fromString( "2006-02-04", "yyyy-MM-dd" ) ).toDateTime();
141 m_maximumNumberOfItems = settings.value( "maximumNumberOfItems", m_maximumNumberOfItems ).toInt();
void setNumberOfItems(quint32 number)
Set the number of items to be shown at the same time.
Definition: AbstractDataPlugin.cpp:156
iterator insert(const Key &key, const T &value)
Definition: EarthquakePlugin.h:27
This file contains the headers for MarbleModel.
Definition: PluginInterface.h:28
void restoreDefaultSettings()
Passes an empty set of settings to the plugin.
Definition: RenderPlugin.cpp:221
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
QString name() const
Returns the user-visible name of the plugin.
Definition: EarthquakePlugin.cpp:52
QString description() const
Returns a user description of the plugin.
Definition: EarthquakePlugin.cpp:72
QString tr(const char *sourceText, const char *disambiguation, int n)
QList< PluginAuthor > pluginAuthors() const
Definition: EarthquakePlugin.cpp:82
quint32 numberOfItems() const
QString fromUtf8(const char *str, int size)
void setMinMagnitude(double minMagnitude)
Definition: EarthquakeModel.cpp:43
void settingsChanged(QString nameId)
This signal is emitted if the settings of the RenderPlugin changed.
virtual QHash< QString, QVariant > settings() const
Definition: EarthquakePlugin.cpp:120
void setModel(AbstractDataPluginModel *model)
Set the model of the plugin.
Definition: AbstractDataPlugin.cpp:134
const T value(const Key &key) const
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the item.
Definition: EarthquakePlugin.cpp:133
QDateTime fromString(const QString &string, Qt::DateFormat format)
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QString copyrightYears() const
Definition: EarthquakePlugin.cpp:77
void setStartDate(const QDateTime &startDate)
Definition: EarthquakeModel.cpp:48
void setEndDate(const QDateTime &endDate)
Definition: EarthquakeModel.cpp:53
QDialog * configDialog()
Returns a pointer to the configuration dialog of the plugin.
Definition: EarthquakePlugin.cpp:94
Definition: EarthquakeModel.h:20
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
QString guiString() const
String that should be displayed in GUI.
Definition: EarthquakePlugin.cpp:57
AbstractDataPluginModel * model()
Definition: AbstractDataPlugin.cpp:124
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:38 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:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.