• 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
ecliptic.h
Go to the documentation of this file.
1 /***************************************************************************
2  ecliptic.h - K Desktop Planetarium
3  -------------------
4  begin : 2007-08-09
5  copyright : (C) 2007 by James B. Bowlin
6  email : bowlin@mindspring.com
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 ECLIPTIC_H
19 #define ECLIPTIC_H
20 
21 #include "linelistindex.h"
22 #include "linelistlabel.h"
23 
31 class Ecliptic : public LineListIndex
32 {
33 public:
34 
35  /* @short Constructor
36  * @p parent pointer to the parent SkyComposite object
37  * name is the name of the subclass
38  */
39  explicit Ecliptic( SkyComposite *parent );
40 
41  virtual void draw( SkyPainter *skyp );
42  virtual void drawCompassLabels();
43  virtual bool selected();
44 
45  virtual LineListLabel* label() { return &m_label; }
46 
47 private:
48  LineListLabel m_label;
49 };
50 
51 #endif
Ecliptic::Ecliptic
Ecliptic(SkyComposite *parent)
Definition: ecliptic.cpp:32
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
LineListLabel
Definition: linelistlabel.h:36
Ecliptic::drawCompassLabels
virtual void drawCompassLabels()
Definition: ecliptic.cpp:82
linelistindex.h
linelistlabel.h
Ecliptic
Represents the ecliptic on the sky map.
Definition: ecliptic.h:31
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
LineListIndex
Definition: linelistindex.h:39
Ecliptic::label
virtual LineListLabel * label()
Definition: ecliptic.h:45
Ecliptic::selected
virtual bool selected()
Definition: ecliptic.cpp:61
SkyPainter
Draws things on the sky, without regard to backend.
Definition: skypainter.h:47
Ecliptic::draw
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: ecliptic.cpp:66
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