• 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
skycalendar.h
Go to the documentation of this file.
1 /***************************************************************************
2  skycalendar.h - description
3  -------------------
4  begin : Wed Jul 16 2008
5  copyright : (C) 2008 by Jason Harris
6  email : kstars@30doradus.org
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 SKYCALENDAR_H_
19 #define SKYCALENDAR_H_
20 
21 #include <KDialog>
22 
23 #include "ui_skycalendar.h"
24 
25 class GeoLocation;
26 
27 class SkyCalendarUI : public QFrame, public Ui::SkyCalendar {
28  Q_OBJECT
29 
30 public:
31  SkyCalendarUI( QWidget *p=0 );
32 };
33 
37 class SkyCalendar : public KDialog
38 {
39  Q_OBJECT
40  friend class CalendarWidget;
41 
42  public:
43  SkyCalendar( QWidget *parent=0 );
44  ~SkyCalendar();
45 
46  int year();
47  GeoLocation* get_geo();
48 
49  public slots:
50  void slotFillCalendar();
51  void slotPrint();
52  void slotLocation();
53 
54  private:
55  void addPlanetEvents( int nPlanet );
56  void drawEventLabel( float x1, float y1, float x2, float y2, QString LabelText );
57 
58  SkyCalendarUI *scUI;
59  GeoLocation *geo;
60 };
61 
62 #endif
SkyCalendar::year
int year()
Definition: skycalendar.cpp:99
SkyCalendar::get_geo
GeoLocation * get_geo()
Definition: skycalendar.cpp:384
SkyCalendarUI::SkyCalendarUI
SkyCalendarUI(QWidget *p=0)
Definition: skycalendar.cpp:60
QWidget
CalendarWidget
An extension of the KPlotWidget for the SkyCalendar tool.
Definition: calendarwidget.h:27
KDialog
GeoLocation
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
SkyCalendar::slotPrint
void slotPrint()
Definition: skycalendar.cpp:300
SkyCalendar::slotLocation
void slotLocation()
Definition: skycalendar.cpp:369
SkyCalendar::~SkyCalendar
~SkyCalendar()
Definition: skycalendar.cpp:96
SkyCalendar::slotFillCalendar
void slotFillCalendar()
Definition: skycalendar.cpp:101
SkyCalendarUI
Definition: skycalendar.h:27
SkyCalendar
Definition: skycalendar.h:37
QFrame
SkyCalendar::SkyCalendar
SkyCalendar(QWidget *parent=0)
Definition: skycalendar.cpp:66
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