• 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
asteroidscomponent.h
Go to the documentation of this file.
1 /***************************************************************************
2  asteroidscomponent.h - K Desktop Planetarium
3  -------------------
4  begin : 2005/30/08
5  copyright : (C) 2005 by Thomas Kabelmann
6  email : thomas.kabelmann@gmx.de
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 ASTEROIDSCOMPONENT_H
19 #define ASTEROIDSCOMPONENT_H
20 
21 #include "solarsystemlistcomponent.h"
22 #include "datahandlers/ksparser.h"
23 #include <QList>
24 #include "typedef.h"
25 
32 class AsteroidsComponent: public SolarSystemListComponent
33 {
34 public:
38  explicit AsteroidsComponent(SolarSystemComposite *parent);
39 
40  virtual ~AsteroidsComponent();
41  virtual void draw( SkyPainter *skyp );
42  virtual bool selected();
43  virtual SkyObject* objectNearest( SkyPoint *p, double &maxrad );
44  void updateDataFile();
45  QString ans();
46 private:
47  void loadData();
48 };
49 
50 #endif
AsteroidsComponent::ans
QString ans()
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
AsteroidsComponent::draw
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: asteroidscomponent.cpp:176
AsteroidsComponent::updateDataFile
void updateDataFile()
Definition: asteroidscomponent.cpp:224
AsteroidsComponent::AsteroidsComponent
AsteroidsComponent(SolarSystemComposite *parent)
Default constructor.
Definition: asteroidscomponent.cpp:39
typedef.h
SolarSystemListComponent
Definition: solarsystemlistcomponent.h:32
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
AsteroidsComponent::~AsteroidsComponent
virtual ~AsteroidsComponent()
Definition: asteroidscomponent.cpp:44
AsteroidsComponent::selected
virtual bool selected()
Definition: asteroidscomponent.cpp:47
ksparser.h
AsteroidsComponent::objectNearest
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Find the SkyObject nearest the given SkyPoint.
Definition: asteroidscomponent.cpp:206
AsteroidsComponent
Represents the asteroids on the sky map.
Definition: asteroidscomponent.h:32
SkyObject
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object.
Definition: skyobject.h:46
solarsystemlistcomponent.h
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:19 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