1 /* 2 SPDX-FileCopyrightText: 2002 Pablo de Vicente <vicente@oan.es> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "ui_modcalcapcoord.h" 10 11 class QTextStream; 12 13 /** 14 * Compute the equatorial coordinates for a given date and time 15 * from a given epoch or equinox 16 * 17 * @author Pablo de Vicente 18 * @version 0.9 19 */ 20 class modCalcApCoord : public QFrame, public Ui::modCalcApCoordDlg 21 { 22 Q_OBJECT 23 public: 24 /** Constructor. */ 25 explicit modCalcApCoord(QWidget *p); 26 27 /** Process Lines **/ 28 // void processLines( const QFile * f ); 29 void processLines(QTextStream &istream); 30 31 private slots: 32 void slotCompute(); 33 void slotObject(); 34 35 /** Fill the Time and Date fields with the current values from the CPU clock. */ 36 void showCurrentTime(); 37 38 void slotUtCheckedBatch(); 39 void slotDateCheckedBatch(); 40 void slotRaCheckedBatch(); 41 void slotDecCheckedBatch(); 42 void slotEpochCheckedBatch(); 43 void slotRunBatch(); 44 }; 45