kstars
modcalcangdist.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 modcalcapcoord.h - description 00003 ------------------- 00004 begin : Sun May 30 2004 00005 copyright : (C) 2004 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 MODCALCANGDIST_H 00019 #define MODCALCANGDIST_H 00020 00021 #include "modcalcangdistdlg.h" 00022 #include <kapplication.h> 00023 00029 class dms; 00030 class dmsBox; 00031 class SkyPoint; 00032 class QTextStream; 00033 00034 class modCalcAngDist : public modCalcAngDistDlg { 00035 00036 Q_OBJECT 00037 public: 00039 modCalcAngDist(QWidget *p, const char *n); 00041 ~modCalcAngDist(); 00042 00043 public slots: 00044 void slotComputeDist(); 00045 void slotClearCoords(); 00046 void slotInputFile(); 00047 void slotOutputFile(); 00048 void slotRunBatch(); 00049 00050 private: 00052 void processLines( QTextStream &istream ); 00053 00055 SkyPoint getCoords(dmsBox * rBox, dmsBox* dBox); 00056 00058 void showDist ( dms dist ); 00059 00060 }; 00061 00062 #endif