1 /*
2     SPDX-FileCopyrightText: 2004 Pablo de Vicente <p.devicente@wanadoo.es>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "kstarsdatetime.h"
10 #include "ui_modcalceclipticcoords.h"
11 
12 /**
13  * Class which implements the KStars calculator module to compute
14  * geocentric ecliptic coordinates to/from geocentric equatorial coordinates.
15  *
16  * Inherits QWidget
17  *
18  * @author Pablo de Vicente
19  */
20 class modCalcEclCoords : public QFrame, public Ui::modCalcEclCoordsDlg
21 {
22   Q_OBJECT
23 
24   public:
25     explicit modCalcEclCoords(QWidget *p);
26     virtual ~modCalcEclCoords() override = default;
27 
28   public slots:
29     void slotNow(void);
30     void slotObject(void);
31     void slotDateTimeChanged(const QDateTime &edt);
32     void slotCompute(void);
33 
34   private:
35     KStarsDateTime kdt;
36 };
37