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

kstars

  • extragear
  • edu
  • kstars
  • kstars
  • tools
eclipsehandler.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  eclipsehandler.cpp - K Desktop Planetarium
3  -------------------
4  begin : Tue 18/09/2018
5  copyright : (C) 2018 Valentin Boettcher
6  email : [email protected]
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 #include "eclipsehandler.h"
19 
20 EclipseEvent::EclipseEvent(long double jd, GeoLocation geoPlace, ECLIPSE_TYPE type) : QObject(),
21  m_type { type }, m_geoPlace { geoPlace }, m_jd { jd }
22 {
23  qRegisterMetaType<EclipseEvent_s>("EclipseEvent_s");
24 }
25 
26 EclipseEvent::~EclipseEvent()
27 {
28 
29 }
30 
31 EclipseHandler::EclipseHandler(QObject * parent) : ApproachSolver (parent)
32 {
33 }
34 
35 EclipseHandler::~EclipseHandler()
36 {
37 
38 }
EclipseEvent::~EclipseEvent
virtual ~EclipseEvent()
Definition: eclipsehandler.cpp:26
EclipseEvent::ECLIPSE_TYPE
ECLIPSE_TYPE
The ECLIPSE_TYPE_T enum.
Definition: eclipsehandler.h:39
QObject
GeoLocation
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
EclipseHandler::EclipseHandler
EclipseHandler(QObject *parent=nullptr)
Definition: eclipsehandler.cpp:31
EclipseEvent::EclipseEvent
EclipseEvent(long double jd, GeoLocation geoPlace, ECLIPSE_TYPE type)
Definition: eclipsehandler.cpp:20
eclipsehandler.h
EclipseHandler::~EclipseHandler
virtual ~EclipseHandler() override
Definition: eclipsehandler.cpp:35
ApproachSolver
Implements algorithms to find close approaches of two objects on the sky.
Definition: approachsolver.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:57:10 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
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

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