1 /***************************************************************************
2 modcalcgeodcoord.h - description
4 begin : Tue Jan 15 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 MODCALCGEODCOORD_H
19 #define MODCALCGEODCOORD_H
21 #include "modcalcgeoddlg.h"
24 * Class which implements the KStars calculator module to compute
25 * Geodetic coordinates to/from Cartesian coordinates.
28 *@author Pablo de Vicente
38 class modCalcGeodCoord
: public modCalcGeodCoordDlg
{
43 modCalcGeodCoord(QWidget
*p
, const char *n
);
46 void genGeoCoords(void);
47 void getCartGeoCoords (void);
48 void getSphGeoCoords (void);
49 void showSpheGeoCoords(void);
50 void showCartGeoCoords(void);
54 void slotComputeGeoCoords (void);
55 void slotClearGeoCoords (void);
56 void setEllipsoid(int i
);
57 void slotLongCheckedBatch();
58 void slotLatCheckedBatch();
59 void slotElevCheckedBatch();
60 void slotXCheckedBatch();
61 void slotYCheckedBatch();
62 void slotZCheckedBatch();
63 void slotOutputFile();
69 void showLongLat(void);
70 void processLines( QTextStream
&istream
);
71 void slotRunBatch(void);
73 // QRadioButton *cartRadio, *spheRadio;
74 // QVBox *vbox, *rightBox;
75 // QLineEdit *xGeoName, *yGeoName, *zGeoName, *altGeoName;
76 // dmsBox *timeBox, *dateBox, *lonGeoBox, *latGeoBox;
78 GeoLocation
*geoPlace
;