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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • skycomponents
solarsystemlistcomponent.h
Go to the documentation of this file.
1 /***************************************************************************
2  solarsystemlistcomponent.h - K Desktop Planetarium
3  -------------------
4  begin : 2005/22/09
5  copyright : (C) 2005 by Jason Harris
6  email : kstars@30doradus.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SOLARSYSTEMLISTCOMPONENT_H
19 #define SOLARSYSTEMLISTCOMPONENT_H
20 
21 #include "listcomponent.h"
22 
23 class KSPlanet;
24 class SolarSystemComposite;
25 
32 class SolarSystemListComponent : public ListComponent
33 {
34 public:
35  explicit SolarSystemListComponent( SolarSystemComposite *parent );
36 
37  virtual ~SolarSystemListComponent();
38 
39  virtual void update( KSNumbers *num );
40 
47  virtual void updatePlanets( KSNumbers *num );
48 
49 protected:
50  void drawTrails( SkyPainter* skyp );
51 
52 private:
53  KSPlanet *m_Earth;
54 };
55 
56 #endif
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
KSPlanet
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition: ksplanet.h:40
SolarSystemListComponent::updatePlanets
virtual void updatePlanets(KSNumbers *num)
Update the coordinates of the solar system bodies in this component.
Definition: solarsystemlistcomponent.cpp:51
SolarSystemListComponent::SolarSystemListComponent
SolarSystemListComponent(SolarSystemComposite *parent)
Definition: solarsystemlistcomponent.cpp:30
ListComponent
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyObjects.
Definition: listcomponent.h:36
SolarSystemListComponent
Definition: solarsystemlistcomponent.h:32
listcomponent.h
SolarSystemListComponent::drawTrails
void drawTrails(SkyPainter *skyp)
Draw trails for objects.
Definition: solarsystemlistcomponent.cpp:66
SolarSystemListComponent::~SolarSystemListComponent
virtual ~SolarSystemListComponent()
Definition: solarsystemlistcomponent.cpp:35
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
SolarSystemListComponent::update
virtual void update(KSNumbers *num)
Update the sky positions of this component.
Definition: solarsystemlistcomponent.cpp:40
SkyPainter
Draws things on the sky, without regard to backend.
Definition: skypainter.h:47
SolarSystemComposite
The solar system composite manages all planets, asteroids and comets.
Definition: solarsystemcomposite.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • 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