• 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
modcalcdaylength.h
Go to the documentation of this file.
1 /***************************************************************************
2  modcalcdaylength.h - description
3  -------------------
4  begin : wed jun 12 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 MODCALCDAYLENGTH_H_
19 #define MODCALCDAYLENGTH_H_
20 
21 #include "ui_modcalcdaylength.h"
22 
23 class GeoLocation;
24 class QTextStream;
25 
30 class modCalcDayLength : public QFrame, public Ui::modCalcDayLengthDlg {
31  Q_OBJECT
32 public:
34  explicit modCalcDayLength(QWidget *p);
36  ~modCalcDayLength();
37 
38 public slots:
39  void slotLocation();
40  void slotLocationBatch();
41  void slotComputeAlmanac();
42  void slotRunBatch();
43  void slotViewBatch();
44  void slotCheckFiles();
45 
46 private:
47  void updateAlmanac( const QDate &d, GeoLocation *geo );
48  QTime lengthOfDay(QTime setQTime, QTime riseQTime);
49 
50  void showCurrentDate(void);
51  void initGeo(void);
52  void processLines( QTextStream &istream );
53 
54  GeoLocation *geoPlace, *geoBatch;
55  QString srTimeString, stTimeString, ssTimeString;
56  QString mrTimeString, mtTimeString, msTimeString;
57  QString srAzString, stAltString, ssAzString;
58  QString mrAzString, mtAltString, msAzString;
59  QString daylengthString, lunarphaseString;
60 };
61 
62 #endif
modCalcDayLength::~modCalcDayLength
~modCalcDayLength()
Destructor.
Definition: modcalcdaylength.cpp:59
modCalcDayLength
Module to compute the equatorial coordinates for a given date and time from a given epoch or equinox...
Definition: modcalcdaylength.h:30
modCalcDayLength::slotComputeAlmanac
void slotComputeAlmanac()
Definition: modcalcdaylength.cpp:214
QWidget
GeoLocation
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
modCalcDayLength::slotViewBatch
void slotViewBatch()
Definition: modcalcdaylength.cpp:297
modCalcDayLength::slotLocationBatch
void slotLocationBatch()
Definition: modcalcdaylength.cpp:98
modCalcDayLength::modCalcDayLength
modCalcDayLength(QWidget *p)
Constructor.
Definition: modcalcdaylength.cpp:35
QTextStream
modCalcDayLength::slotCheckFiles
void slotCheckFiles()
Definition: modcalcdaylength.cpp:234
NaN::d
const double d
Definition: nan.h:35
modCalcDayLength::slotLocation
void slotLocation()
Definition: modcalcdaylength.cpp:84
QFrame
modCalcDayLength::slotRunBatch
void slotRunBatch()
Definition: modcalcdaylength.cpp:239
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