Kstars
ksdssdownloader.h
43 * @short Constructor that initiates a "standard" DSS download job, calls the downloadReady slot, and finally self destructs
53 * @note Does not self-delete this object. Construct with default constructor, and delete as usual.
59 void startSingleDownload(const QUrl srcUrl, const QString &destFileName, KSDssImage::Metadata &md);
72 * @note This method includes an option to set the height, but uses default values for many parameters
74 static QString getDSSURL(const SkyPoint *const p, float width, float height = 0, const QString &version = "all",
101 static bool writeImageWithMetadata(const QString &srcFile, const QString &destFile, const KSDssImage::Metadata &md);
void startSingleDownload(const QUrl srcUrl, const QString &destFileName, KSDssImage::Metadata &md)
Stateful single-download of a supplied URL.
Definition ksdssdownloader.cpp:218
static QString getDSSURL(const SkyPoint *const p, const QString &version="all", struct KSDssImage::Metadata *md=nullptr)
High-level method to create a URL to obtain a DSS image for a given SkyPoint.
Definition ksdssdownloader.cpp:49
static bool writeImageWithMetadata(const QString &srcFile, const QString &destFile, const KSDssImage::Metadata &md)
Write image metadata into file.
Definition ksdssdownloader.cpp:317
Q_OBJECTQ_OBJECT
QObject * parent() const const
Structure to hold some DSS image metadata.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:45 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:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.