1 /***************************************************************************
2 modcalcgal.h - description
4 begin : Thu Jan 17 2002
5 copyright : (C) 2002 by Pablo de Vicente
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef MODCALCGALCOORD_H
19 #define MODCALCGALCOORD_H
22 #include "modcalcgalcoorddlg.h"
25 * Class which implements the KStars calculator module to compute
26 * Galactic coordinates to/from Equatorial coordinates.
29 *@author Pablo de Vicente
33 class modCalcGalCoord
: public modCalcGalCoordDlg
{
39 modCalcGalCoord(QWidget
*p
, const char *n
);
42 * Obtains the galactic coords. from the Box.
44 void getGalCoords (void);
45 void getEquCoords (void);
47 double getEpoch( QString t
);
48 void showEquCoords(void);
49 void showGalCoords(void);
55 void slotClearCoords (void);
56 void slotComputeCoords (void);
57 void slotGalLatCheckedBatch(void);
58 void slotGalLongCheckedBatch(void);
59 void slotRaCheckedBatch(void);
60 void slotDecCheckedBatch(void);
61 void slotEpochCheckedBatch(void);
62 void slotInputFile(void);
63 void slotOutputFile(void);
69 void processLines( QTextStream
&is
);
71 dms galLong
, galLat
, raCoord
, decCoord
;