marble
#include <TrackerPluginItem.h>
Public Member Functions | |
TrackerPluginItem (const QString &name) | |
virtual | ~TrackerPluginItem () |
virtual bool | isEnabled () const |
virtual bool | isVisible () const |
QString | name () |
GeoDataPlacemark * | placemark () |
virtual void | setEnabled (bool enabled) |
virtual void | setVisible (bool visible) |
virtual void | update ()=0 |
Detailed Description
Subclass this to represent items in your TrackerPluginModel.
Definition at line 29 of file TrackerPluginItem.h.
Constructor & Destructor Documentation
|
explicit |
Constructs an item and set the wrapped placemark name to name
.
Definition at line 30 of file TrackerPluginItem.cpp.
|
virtual |
Destroy the item.
Definition at line 35 of file TrackerPluginItem.cpp.
Member Function Documentation
|
virtual |
Returns whether the item is enabled or disabled.
Definition at line 45 of file TrackerPluginItem.cpp.
|
virtual |
Return whether the item is visible or invisible.
Definition at line 55 of file TrackerPluginItem.cpp.
QString Marble::TrackerPluginItem::name | ( | ) |
Satellite's name.
GeoDataPlacemark * Marble::TrackerPluginItem::placemark | ( | ) |
Returns the wrapped placemark which will be displayed if this item is in a TrackerPluginModel.
Definition at line 40 of file TrackerPluginItem.cpp.
|
virtual |
Enable/Disable the item according to enabled
.
Definition at line 50 of file TrackerPluginItem.cpp.
|
virtual |
Set item visible/invisible according to visible
.
Definition at line 60 of file TrackerPluginItem.cpp.
|
pure virtual |
Reimplement this method to update the placemark, for example to change its coordinates.
If this item is in a TrackerPluginModel, this method will be called regularly.
Implemented in Marble::SatellitesMSCItem, and Marble::SatellitesTLEItem.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.