• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

wutdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           wutdialog.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Die Feb 25 2003
00005     copyright            : (C) 2003 by Thomas Kabelmann
00006     email                : tk78@gmx.de
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 WUTDIALOG_H
00019 #define WUTDIALOG_H
00020 
00021 #include <qwidget.h>
00022 #include <kdialogbase.h>
00023 #include "kstarsdatetime.h"
00024 
00025 #define NCATEGORY 8
00026 
00027 class KStars;
00028 class ObjectNameList;
00029 class GeoLocation;
00030 class SkyObject;
00031 class SkyObjectName;
00032 class WUTDialogUI;
00033 class QFrame;
00034 
00042 class WUTDialog : public KDialogBase  {
00043     Q_OBJECT
00044 
00045     public:
00046 
00048         WUTDialog(KStars *ks);
00050         ~WUTDialog();
00051 
00052     private slots:
00053 
00058         void slotLoadList(int type);
00059 
00063         void init();
00064 
00067         void slotDisplayObject(QListBoxItem *item);
00068 
00075         void slotEveningMorning( int index );
00076 
00080         void slotChangeDate();
00081         
00085         void slotChangeLocation();
00086         
00089         void slotDetails();
00090 
00093         void slotCenter();
00094     private:
00095 
00096         KStars *kstars;
00097         WUTDialogUI *WUT;
00098         
00100         void makeConnections();
00101         
00103         void initCategories();
00104         
00109         bool checkVisibility(SkyObjectName *oname);
00110 
00112         void splitObjectList();
00113 
00115         void appendToList(SkyObjectName *o);
00116 
00117         ObjectNameList *objectList;
00118 
00119         QTime sunRiseTomorrow, sunSetToday, sunRiseToday, moonRise, moonSet;
00120         KStarsDateTime T0, UT0, Tomorrow, TomorrowUT, Evening, EveningUT;
00121 
00122         GeoLocation *geo;
00123         int EveningFlag;
00124         
00125         struct List {
00126             QPtrList <SkyObjectName> visibleList[NCATEGORY];
00127             bool initialized[NCATEGORY];
00128         } lists;
00129 
00130 };
00131 
00132 #endif

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal