moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kstars / kstars / tools / modcalcequinox.h
blob25645202a3cfbd2538133b25a4e9e21fdf655325
1 /***************************************************************************
2 modcalcazel.h - description
3 -------------------
4 begin : mier abr 20 2004
5 copyright : (C) 2004 by Pablo de Vicente
6 email : pvicentea@wanadoo.es
7 ***************************************************************************/
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 ***************************************************************************/
18 #ifndef MODCALCEQUINOX_H
19 #define MODCALCEQUINOX_H
21 #include <kapplication.h>
22 #include <qwidget.h>
23 #include "modcalcequinoxdlg.h"
25 class QWidget;
26 class QTextStream;
28 /**
29 *@author Pablo de Vicente
32 class modCalcEquinox : public modCalcEquinoxDlg {
34 Q_OBJECT
36 public:
37 modCalcEquinox(QWidget *p, const char *n);
38 ~modCalcEquinox();
40 public slots:
42 void slotComputeEquinoxesAndSolstices(void);
43 void slotClear(void);
44 void slotYearCheckedBatch();
45 void slotInputFile();
46 void slotOutputFile();
47 void slotRunBatch();
49 private:
51 int getYear (QString eName);
52 void showCurrentYear (void);
53 void showStartDateTime(long double jd);
54 void showSeasonDuration(float deltaJd);
55 void processLines( QTextStream &istream );
59 #endif