Kstars
satellitegroup.cpp
15SatelliteGroup::SatelliteGroup(const QString& name, const QString& tle_filename, const QUrl& update_url)
73 //return QUrl( "file:" + (QDir(KSPaths::writableLocation(QStandardPaths::AppLocalDataLocation)).filePath(m_tle_file));
74 return QUrl::fromLocalFile(QDir(KSPaths::writableLocation(QStandardPaths::AppLocalDataLocation)).filePath(m_tle_file));
void updateSatellitesPos()
Compute current position of the each satellites in the group.
Definition satellitegroup.cpp:52
SatelliteGroup(const QString &name, const QString &tle_filename, const QUrl &update_url)
Constructor.
Definition satellitegroup.cpp:15
void readTLE()
Read TLE file of the group and create all satellites found in the file.
Definition satellitegroup.cpp:25
virtual void close() override
void append(QList< T > &&value)
void clear()
bool hasNext() const const
T & next()
void remove()
AppLocalDataLocation
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
QString trimmed() const const
bool atEnd() const const
QString readLine(qint64 maxlen)
QUrl fromLocalFile(const QString &localFile)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.