Kgapi
staticmapmarker.cpp
55StaticMapMarker::StaticMapMarker(const QString &address, const QChar &label, const MarkerSize size, const QColor &color)
67StaticMapMarker::StaticMapMarker(const KContacts::Address &address, QChar label, const MarkerSize size, const QColor &color)
79StaticMapMarker::StaticMapMarker(const KContacts::Geo &address, QChar label, const MarkerSize size, const QColor &color)
91StaticMapMarker::StaticMapMarker(const QStringList &locations, QChar label, const MarkerSize size, const QColor &color)
101StaticMapMarker::StaticMapMarker(const KContacts::Address::List &locations, QChar label, const MarkerSize size, const QColor &color)
111StaticMapMarker::StaticMapMarker(const QList<KContacts::Geo> &locations, QChar label, const MarkerSize size, const QColor &color)
256 ret += QLatin1StringView("color:") + d->color.name().replace(QLatin1Char('#'), QLatin1StringView("0x")) + QLatin1Char('|');
275 ret += QString::number(addr.latitude()) + QLatin1Char(',') + QString::number(addr.longitude()) + QLatin1Char('|');
Represents marker with defined label, color, size and markers.
Definition staticmapmarker.h:26
LocationType locationType() const
Returns in which format is location saved.
Definition staticmapmarker.cpp:131
QString toString() const
Returns all locations and markers preferences in format to URL query.
Definition staticmapmarker.cpp:237
StaticMapMarker & operator=(const StaticMapMarker &other)
Assignment operator.
Definition staticmapmarker.cpp:288
void setLocation(const QString &location)
Sets one location for marker.
Definition staticmapmarker.cpp:166
void setLocations(const QStringList &locations)
Sets locations for marker.
Definition staticmapmarker.cpp:175
KContacts::Address::List locationsAddress() const
Returns locations in KContacts::Address.
Definition staticmapmarker.cpp:183
QList< KContacts::Geo > locationsGeo() const
Returns locations in KContacts::Geo.
Definition staticmapmarker.cpp:205
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
QString label(StandardShortcut id)
bool isLetterOrNumber(char32_t ucs4)
char32_t toUpper(char32_t ucs4)
QString name(NameFormat format) const const
void clear()
qsizetype lastIndexOf(QChar ch, Qt::CaseSensitivity cs) const const
QString number(double n, char format, int precision)
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
red
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.