KI18n
kcountrysubdivision.h
49 /** Returns @c false if this is an empty/invalid/default constructed instance, @c true otherwise. */
Information about an ISO 3166-2 country subdivision.
Definition kcountrysubdivision.h:28
static KCountrySubdivision fromCode(QStringView code)
Create a KCountrySubdivision instance from an ISO 3166-2 code.
Definition kcountrysubdivision.cpp:173
KCountrySubdivision()
Creates an invalid/empty KCountrySubdivision instance.
Definition kcountrysubdivision.cpp:20
bool isValid() const
Returns false if this is an empty/invalid/default constructed instance, true otherwise.
Definition kcountrysubdivision.cpp:39
static KCountrySubdivision fromLocation(float latitude, float longitude)
Looks up the country subdivision at the given geographic coordinate.
Definition kcountrysubdivision.cpp:189
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:51 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:51 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.