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

marble

  • Marble
  • TrackerPluginItem
Public Member Functions | List of all members
Marble::TrackerPluginItem Class Referenceabstract

#include <TrackerPluginItem.h>

Inheritance diagram for Marble::TrackerPluginItem:
Inheritance graph
[legend]

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

Marble::TrackerPluginItem::TrackerPluginItem ( const QString &  name)
explicit

Constructs an item and set the wrapped placemark name to name.

Definition at line 30 of file TrackerPluginItem.cpp.

Marble::TrackerPluginItem::~TrackerPluginItem ( )
virtual

Destroy the item.

Definition at line 35 of file TrackerPluginItem.cpp.

Member Function Documentation

bool Marble::TrackerPluginItem::isEnabled ( ) const
virtual

Returns whether the item is enabled or disabled.

Definition at line 45 of file TrackerPluginItem.cpp.

bool Marble::TrackerPluginItem::isVisible ( ) const
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.

void Marble::TrackerPluginItem::setEnabled ( bool  enabled)
virtual

Enable/Disable the item according to enabled.

Definition at line 50 of file TrackerPluginItem.cpp.

void Marble::TrackerPluginItem::setVisible ( bool  visible)
virtual

Set item visible/invisible according to visible.

Definition at line 60 of file TrackerPluginItem.cpp.

virtual void Marble::TrackerPluginItem::update ( )
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:
  • TrackerPluginItem.h
  • TrackerPluginItem.cpp
This file is part of the KDE documentation.
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.

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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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