Kgapi
staticmappath.cpp
60StaticMapPath::StaticMapPath(const QStringList &locations, const quint8 weight, const QColor &color, const QColor &fillColor)
70StaticMapPath::StaticMapPath(const KContacts::Address::List &locations, const quint8 weight, const QColor &color, const QColor &fillColor)
80StaticMapPath::StaticMapPath(const QList<KContacts::Geo> &locations, const quint8 weight, const QColor &color, const QColor &fillColor)
169 ret += QLatin1StringView("color:") + d->color.name().replace(QLatin1Char('#'), QLatin1StringView("0x")) + QLatin1Char('|');
175 ret += QLatin1StringView("fillcolor:") + d->fillColor.name().replace(QLatin1Char('#'), QLatin1StringView("0x")) + QLatin1Char('|');
190 ret += QString::number(addr.latitude()) + QLatin1StringView(",") + QString::number(addr.longitude()) + QLatin1Char('|');
Represents path with defined locations, weight, color and color for filled area.
Definition staticmappath.h:27
KContacts::Address::List locationsAddress() const
Returns locations in KContacts::Address.
Definition staticmappath.cpp:138
QString toString() const
Returns all locations and path preferences in format to URL query.
Definition staticmappath.cpp:164
StaticMapPath & operator=(const StaticMapPath &other)
Assignment operator.
Definition staticmappath.cpp:213
void setFillColor(const QColor &color)
Sets color for filled area in path.
Definition staticmappath.cpp:120
QList< KContacts::Geo > locationsGeo() const
Returns locations in KContacts::Geo.
Definition staticmappath.cpp:151
void setLocations(const QStringList &locations)
Sets locations for path.
Definition staticmappath.cpp:130
QCA_EXPORT void init()
bool isValid() const const
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)
blue
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:12 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:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.