• 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
pointlistcomponent.h
Go to the documentation of this file.
1 /***************************************************************************
2  pointlistcomponent.h - K Desktop Planetarium
3  -------------------
4  begin : 2005/10/01
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 POINTLISTCOMPONENT_H
19 #define POINTLISTCOMPONENT_H
20 
21 #define NCIRCLE 360 //number of points used to define equator, ecliptic and horizon
22 
23 #include <QList>
24 
25 #include "skycomponent.h"
26 
27 class SkyPoint;
28 
37 class PointListComponent : public SkyComponent
38 {
39 public:
40 
41  explicit PointListComponent( SkyComposite *parent );
42 
43  virtual ~PointListComponent();
44 
56  virtual void update( KSNumbers *num=0 );
57 
58  QList<SkyPoint*>& pointList() { return m_PointList; }
59 
60 private:
61  QList<SkyPoint*> m_PointList;
62 };
63 
64 #endif
PointListComponent::PointListComponent
PointListComponent(SkyComposite *parent)
Definition: pointlistcomponent.cpp:23
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
SkyComponent
SkyComponent represents an object on the sky map.
Definition: skycomponent.h:44
PointListComponent::~PointListComponent
virtual ~PointListComponent()
Definition: pointlistcomponent.cpp:27
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
skycomponent.h
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
PointListComponent::pointList
QList< SkyPoint * > & pointList()
Definition: pointlistcomponent.h:58
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
PointListComponent
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyPoints.
Definition: pointlistcomponent.h:37
PointListComponent::update
virtual void update(KSNumbers *num=0)
Update the sky positions of this component.
Definition: pointlistcomponent.cpp:32
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 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