kstars
modcalcprec.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 modcalcprec.h - description 00003 ------------------- 00004 begin : Sun Jan 27 2002 00005 copyright : (C) 2002 by Pablo de Vicente 00006 email : vicente@oan.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 MODCALCPREC_H 00019 #define MODCALCPREC_H 00020 00021 #include "modcalcprecdlg.h" 00022 00034 class QString; 00035 class dms; 00036 class SkyPoint; 00037 00038 class modCalcPrec : public modCalcPrecDlg { 00039 00040 Q_OBJECT 00041 public: 00042 modCalcPrec(QWidget *p, const char *n); 00043 ~modCalcPrec(); 00044 SkyPoint precess (dms ra0, dms dec0, double e0, double ef); 00045 00046 public slots: 00047 void slotClearCoords (void); 00048 void slotComputeCoords (void); 00049 void slotRaCheckedBatch(void); 00050 void slotDecCheckedBatch(void); 00051 void slotEpochCheckedBatch(void); 00052 void slotTargetEpochCheckedBatch(void); 00053 void slotInputFile(void); 00054 void slotOutputFile(void); 00055 void slotRunBatch(void); 00056 00057 private: 00058 SkyPoint getEquCoords(void); 00059 QString showCurrentEpoch(void); 00060 double setCurrentEpoch(void); 00061 double getEpoch (QString eName); 00062 void showEquCoords ( SkyPoint sp ); 00063 void processLines( QTextStream &istream ); 00064 00065 }; 00066 00067 #endif