You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kstars/kstars/tools/modcalcequinox.h

61 lines
1.7 KiB

/***************************************************************************
modcalcazel.h - description
-------------------
begin : mier abr 20 2004
copyright : (C) 2004 by Pablo de Vicente
email : pvicentea@wanadoo.es
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MODCALCEQUINOX_H
#define MODCALCEQUINOX_H
#include <tdeapplication.h>
#include <tqwidget.h>
#include "modcalcequinoxdlg.h"
class TQWidget;
class TQTextStream;
/**
*@author Pablo de Vicente
*/
class modCalcEquinox : public modCalcEquinoxDlg {
Q_OBJECT
public:
modCalcEquinox(TQWidget *p, const char *n);
~modCalcEquinox();
public slots:
void slotComputeEquinoxesAndSolstices(void);
void slotClear(void);
void slotYearCheckedBatch();
void slotInputFile();
void slotOutputFile();
void slotRunBatch();
private:
int getYear (TQString eName);
void showCurrentYear (void);
void showStartDateTime(long double jd);
void showSeasonDuration(float deltaJd);
void processLines( TQTextStream &istream );
};
#endif