marble
WikipediaPlugin.cpp
Go to the documentation of this file.
93 return tr( "Automatically downloads Wikipedia articles and shows them on the right position on the map" );
151 setNumberOfItems( qMin<int>( maximumNumberOfItems, settings.value( "numberOfItems", 15 ).toInt() ) );
virtual QHash< QString, QVariant > settings() const
Definition: WikipediaPlugin.cpp:137
void setNumberOfItems(quint32 number)
Set the number of items to be shown at the same time.
Definition: AbstractDataPlugin.cpp:156
QString copyrightYears() const
Definition: WikipediaPlugin.cpp:96
iterator insert(const Key &key, const T &value)
void changedNumberOfItems(quint32 number)
void setShowThumbnail(bool show)
Definition: WikipediaModel.cpp:55
bool eventFilter(QObject *, QEvent *)
Definition: RenderPlugin.cpp:216
QString name() const
Returns the user-visible name of the plugin.
Definition: WikipediaPlugin.cpp:71
Definition: PluginInterface.h:28
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
QString guiString() const
String that should be displayed in GUI.
Definition: WikipediaPlugin.cpp:76
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
QString tr(const char *sourceText, const char *disambiguation, int n)
QList< PluginAuthor > pluginAuthors() const
Definition: WikipediaPlugin.cpp:101
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
quint32 numberOfItems() const
bool isInitialized() const
Definition: AbstractDataPlugin.cpp:81
QString description() const
Returns a user description of the plugin.
Definition: WikipediaPlugin.cpp:91
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: WikipediaModel.h:25
void setMarbleWidget(MarbleWidget *widget)
Definition: WikipediaModel.cpp:123
void setModel(AbstractDataPluginModel *model)
Set the model of the plugin.
Definition: AbstractDataPlugin.cpp:134
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the item.
Definition: WikipediaPlugin.cpp:147
const T value(const Key &key) const
bool eventFilter(QObject *object, QEvent *event)
Definition: WikipediaPlugin.cpp:158
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QString aboutDataText() const
Returns about text (credits) for external data the plugin uses.
Definition: WikipediaPlugin.cpp:107
Definition: WikipediaPlugin.h:30
This file contains the headers for MarbleWidget.
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
QDialog * configDialog()
Returns a pointer to the configuration dialog of the plugin.
Definition: WikipediaPlugin.cpp:117
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.