kstars
modcalcequinox.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 modcalcazel.h - description 00003 ------------------- 00004 begin : mier abr 20 2004 00005 copyright : (C) 2004 by Pablo de Vicente 00006 email : pvicentea@wanadoo.es 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MODCALCEQUINOX_H 00019 #define MODCALCEQUINOX_H 00020 00021 #include <kapplication.h> 00022 #include <qwidget.h> 00023 #include "modcalcequinoxdlg.h" 00024 00025 class QWidget; 00026 class QTextStream; 00027 00032 class modCalcEquinox : public modCalcEquinoxDlg { 00033 00034 Q_OBJECT 00035 00036 public: 00037 modCalcEquinox(QWidget *p, const char *n); 00038 ~modCalcEquinox(); 00039 00040 public slots: 00041 00042 void slotComputeEquinoxesAndSolstices(void); 00043 void slotClear(void); 00044 void slotYearCheckedBatch(); 00045 void slotInputFile(); 00046 void slotOutputFile(); 00047 void slotRunBatch(); 00048 00049 private: 00050 00051 int getYear (QString eName); 00052 void showCurrentYear (void); 00053 void showStartDateTime(long double jd); 00054 void showSeasonDuration(float deltaJd); 00055 void processLines( QTextStream &istream ); 00056 00057 }; 00058 00059 #endif