• 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
moonphasetool.h
Go to the documentation of this file.
1 /***************************************************************************
2  moonphasetool.h - K Desktop Planetarium
3  -------------------
4  begin : Sat Jun 26 2010
5  copyright : (C) 2010 by Akarsh Simha
6  email : akarshsimha@gmail.com
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 _MOONPHASETOOL_H_
19 #define _MOONPHASETOOL_H_
20 
21 #include "widgets/genericcalendarwidget.h"
22 #include "widgets/moonphasecalendarwidget.h"
23 
24 #include "ksnumbers.h"
25 
26 #include <KDialog>
27 
28 class KSMoon;
29 class KSSun;
30 
46 class MoonPhaseTool : public KDialog {
47 
48  Q_OBJECT
49 
50 public:
51  MoonPhaseTool(QWidget *p);
52  ~MoonPhaseTool();
53 
54  /*
55 public slots:
56 
57  void slotUpdate();
58  void slotSetMonth();
59  */
60 
61 private:
62  KSMoon *m_Moon;
63  KSSun *m_Sun;
64  KSNumbers *m_Num;
65  unsigned short month;
66  unsigned int year;
67  GenericCalendarWidget *gcw;
68  MoonPhaseCalendar *mpc;
69 };
70 
71 #endif
KSSun
Child class of KSPlanetBase; encapsulates information about the Sun.
Definition: kssun.h:31
MoonPhaseTool
Shows a moon phase calendar for an entire month.
Definition: moonphasetool.h:46
QWidget
MoonPhaseTool::MoonPhaseTool
MoonPhaseTool(QWidget *p)
Definition: moonphasetool.cpp:22
KDialog
MoonPhaseTool::~MoonPhaseTool
~MoonPhaseTool()
Definition: moonphasetool.cpp:36
moonphasecalendarwidget.h
GenericCalendarWidget
Uses any KDateTable subclass for the date table and provides a calendar with options to choose a mont...
Definition: genericcalendarwidget.h:38
ksnumbers.h
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
KSMoon
A subclass of SkyObject that provides information needed for the Moon.
Definition: ksmoon.h:36
MoonPhaseCalendar
Definition: moonphasecalendarwidget.h:28
genericcalendarwidget.h
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