11#include <kweathercore/kweathercore_export.h>
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)
54 std::optional<QString> subdivision = std::nullopt);
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;
87 const std::optional<QString> &subdivision()
const;
90 class LocationQueryResultPrivate;
91 std::unique_ptr<LocationQueryResultPrivate> d;
Class represents location query result.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:07 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.