Kstars

modcalcjd.h
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_modcalcjd.h"
10
11class QTextStream;
12class QWidget;
13
14/**
15 * Class for KStars module which computes JD, MJD and Date/Time from the
16 * any of the other entries.
17 *
18 * Inherits QVBox
19 *
20 * @author Pablo de Vicente
21 * @version 0.9
22 */
23class modCalcJD : public QFrame, public Ui::modCalcJdDlg
24{
26 public:
27 explicit modCalcJD(QWidget *p);
28 virtual ~modCalcJD() override = default;
29
30 public slots:
31 void slotUpdateCalendar();
32 void slotUpdateModJD();
33 void slotUpdateJD();
34 void showCurrentTime(void);
35 void slotRunBatch();
36 void slotViewBatch();
37 void slotCheckFiles();
38
39 private:
40 void processLines(QTextStream &istream, int inputData);
41 /** Shows Julian Day in the Box */
42 void showJd(long double jd);
43 /** Shows the modified Julian Day in the Box */
44 void showMjd(long double mjd);
45};
Class for KStars module which computes JD, MJD and Date/Time from the any of the other entries.
Definition modcalcjd.h:24
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.