• 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
satellitegroup.h
Go to the documentation of this file.
1 /***************************************************************************
2  satellitegroup.h - K Desktop Planetarium
3  -------------------
4  begin : Tue 22 Mar 2011
5  copyright : (C) 2011 by Jerome SONRIER
6  email : jsid@emor3j.fr.eu.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 SATELLITEGROUP_H
19 #define SATELLITEGROUP_H
20 
21 
22 #include <QString>
23 
24 #include <KUrl>
25 #include "skyobjects/satellite.h"
26 #include "skypainter.h"
27 
28 
35 class SatelliteGroup : public QList<Satellite*>
36 {
37 public:
41  SatelliteGroup( QString name, QString tle_filename, KUrl update_url );
42 
46  ~SatelliteGroup();
47 
51  void readTLE();
52 
56  void updateSatellitesPos();
57 
61  KUrl tleFilename();
62 
66  KUrl tleUrl();
67 
71  QString name();
72 
73 private:
74  QString m_name; // Group name
75  QString m_tle_file; // TLE filename
76  KUrl m_tle_url; // URL used to update TLE file
77 };
78 
79 #endif
SatelliteGroup
Represents a group of artificial satellites.
Definition: satellitegroup.h:35
SatelliteGroup::tleUrl
KUrl tleUrl()
Definition: satellitegroup.cpp:79
SatelliteGroup::SatelliteGroup
SatelliteGroup(QString name, QString tle_filename, KUrl update_url)
Constructor.
Definition: satellitegroup.cpp:26
SatelliteGroup::name
QString name()
Definition: satellitegroup.cpp:84
skypainter.h
SatelliteGroup::~SatelliteGroup
~SatelliteGroup()
Destructor.
Definition: satellitegroup.cpp:36
SatelliteGroup::updateSatellitesPos
void updateSatellitesPos()
Compute current position of the each satellites in the group.
Definition: satellitegroup.cpp:64
SatelliteGroup::readTLE
void readTLE()
Read TLE file of the group and create all satellites found in the file.
Definition: satellitegroup.cpp:40
satellite.h
QList
SatelliteGroup::tleFilename
KUrl tleFilename()
Definition: satellitegroup.cpp:73
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