• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • tools
modcalcsidtime.h
Go to the documentation of this file.
1 /***************************************************************************
2  modcalcsidtime.h - description
3  -------------------
4  begin : Wed Jan 23 2002
5  copyright : (C) 2002 by Pablo de Vicente
6  email : vicente@oan.es
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
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. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef MODCALCSIDTIME_H_
19 #define MODCALCSIDTIME_H_
20 
21 #include <QFrame>
22 #include "ui_modcalcsidtime.h"
23 
24 class QTime;
25 class GeoLocation;
26 
35 class modCalcSidTime : public QFrame, public Ui::modCalcSidTimeDlg {
36  Q_OBJECT
37 public:
38  modCalcSidTime(QWidget *p);
39  ~modCalcSidTime();
40 
41 private slots:
42  void slotChangeLocation();
43  void slotChangeDate();
44  void slotConvertST( const QTime &lt );
45  void slotConvertLT( const QTime &st );
46 
47  void slotDateChecked();
48  void slotLocationChecked();
49  void slotLocationBatch();
50  void slotCheckFiles();
51  void slotRunBatch();
52  void slotViewBatch();
53  void slotHelpLabel();
54  void processLines( QTextStream &istream );
55 
56 private:
57  /* Fills the UT, Date boxes with the current time
58  * and date and the longitude box with the current Geo location
59  */
60  void showCurrentTimeAndLocation();
61 
62  QTime computeLTtoST(QTime lt);
63  QTime computeSTtoLT(QTime st);
64 
65  GeoLocation *geo, *geoBatch;
66 };
67 
68 #endif
QWidget
modCalcSidTime::modCalcSidTime
modCalcSidTime(QWidget *p)
Definition: modcalcsidtime.cpp:32
GeoLocation
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
modCalcSidTime
Class which implements the KStars calculator module to compute Universal time to/from Sidereal time...
Definition: modcalcsidtime.h:35
modCalcSidTime::~modCalcSidTime
~modCalcSidTime()
Definition: modcalcsidtime.cpp:64
QTextStream
QFrame
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal