KWeatherCore
11#include <kweathercore/kweathercore_export.h>
25class KWEATHERCORE_EXPORT LocationQueryResult
28 Q_PROPERTY(qreal latitude READ latitude)
29 Q_PROPERTY(qreal longitude READ longitude)
30 Q_PROPERTY(
QString toponymName READ toponymName)
31 Q_PROPERTY(
QString name READ name)
32 Q_PROPERTY(
QString countryCode READ countryCode)
33 Q_PROPERTY(
QString countryName READ countryName)
34 Q_PROPERTY(
QString geonameId READ geonameId)
37 LocationQueryResult();
48 LocationQueryResult(
double latitude,
55 LocationQueryResult(
const LocationQueryResult &other);
56 LocationQueryResult(LocationQueryResult &&other)
noexcept;
57 ~LocationQueryResult();
58 LocationQueryResult &operator=(
const LocationQueryResult &other);
59 LocationQueryResult &operator=(LocationQueryResult &&other)
noexcept;
60 double latitude()
const;
62 double longitude()
const;
66 const QString &toponymName()
const;
74 const QString &countryCode()
const;
78 [[nodiscard]]
QString countryName()
const;
82 const QString &geonameId()
const;
90 class LocationQueryResultPrivate;
91 std::unique_ptr<LocationQueryResultPrivate> d;
Class represents location query result.
const std::optional< QString > & subdivision() const
Country subdivision such as state, province, etc.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:57 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.