Commit 767b0aa8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix calzy warning

parent fb396456
......@@ -80,7 +80,7 @@ StaticMapMarker::StaticMapMarker (const QString& address, const QChar& label, co
d->color = color;
}
StaticMapMarker::StaticMapMarker (const KContacts::Address& address, const QChar& label, const MarkerSize size, const QColor& color):
StaticMapMarker::StaticMapMarker (const KContacts::Address& address, QChar label, const MarkerSize size, const QColor& color):
d(new Private)
{
KContacts::Address::List list;
......@@ -92,7 +92,7 @@ StaticMapMarker::StaticMapMarker (const KContacts::Address& address, const QChar
d->color = color;
}
StaticMapMarker::StaticMapMarker (const KContacts::Geo& address, const QChar& label, const MarkerSize size, const QColor& color):
StaticMapMarker::StaticMapMarker (const KContacts::Geo& address, QChar label, const MarkerSize size, const QColor& color):
d(new Private)
{
QList<KContacts::Geo> list;
......@@ -104,7 +104,7 @@ StaticMapMarker::StaticMapMarker (const KContacts::Geo& address, const QChar& la
d->color = color;
}
StaticMapMarker::StaticMapMarker(const QStringList & locations, const QChar& label,
StaticMapMarker::StaticMapMarker(const QStringList & locations, QChar label,
const MarkerSize size, const QColor& color):
d(new Private)
{
......@@ -115,7 +115,7 @@ StaticMapMarker::StaticMapMarker(const QStringList & locations, const QChar& lab
d->color = color;
}
StaticMapMarker::StaticMapMarker(const KContacts::Address::List & locations, const QChar& label,
StaticMapMarker::StaticMapMarker(const KContacts::Address::List & locations, QChar label,
const MarkerSize size, const QColor& color):
d(new Private)
{
......@@ -126,7 +126,7 @@ StaticMapMarker::StaticMapMarker(const KContacts::Address::List & locations, con
d->color = color;
}
StaticMapMarker::StaticMapMarker(const QList< KContacts::Geo >& locations, const QChar& label,
StaticMapMarker::StaticMapMarker(const QList< KContacts::Geo >& locations, QChar label,
const MarkerSize size, const QColor& color):
d(new Private)
{
......@@ -172,7 +172,7 @@ QChar StaticMapMarker::label() const
return d->label;
}
void StaticMapMarker::setLabel(const QChar& label)
void StaticMapMarker::setLabel(QChar label)
{
d->label = label;
}
......
......@@ -83,7 +83,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param size Specifies the size of marker
* @param color Color of marker
*/
explicit StaticMapMarker(const KContacts::Address & address, const QChar & label = QChar(),
explicit StaticMapMarker(const KContacts::Address & address, QChar label = QChar(),
const MarkerSize size = Normal, const QColor & color = Qt::red);
/**
......@@ -95,7 +95,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param size Specifies the size of marker
* @param color Color of marker
*/
explicit StaticMapMarker(const KContacts::Geo & address, const QChar & label = QChar(),
explicit StaticMapMarker(const KContacts::Geo & address, QChar label = QChar(),
const MarkerSize size = Normal, const QColor & color = Qt::red);
/**
......@@ -107,7 +107,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param size Specifies the size of marker
* @param color Color of marker
*/
explicit StaticMapMarker(const QStringList & locations, const QChar & label = QChar(),
explicit StaticMapMarker(const QStringList & locations, QChar label = QChar(),
const MarkerSize size = Normal, const QColor & color = Qt::red);
/**
......@@ -119,7 +119,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param size Specifies the size of marker
* @param color Color of marker
*/
explicit StaticMapMarker(const KContacts::Address::List &locations, const QChar & label = QChar(),
explicit StaticMapMarker(const KContacts::Address::List &locations, QChar label = QChar(),
const MarkerSize size = Normal, const QColor & color = Qt::red);
/**
......@@ -131,7 +131,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param size Specifies the size of marker
* @param color Color of marker
*/
explicit StaticMapMarker(const QList<KContacts::Geo> & locations, const QChar & label = QChar(),
explicit StaticMapMarker(const QList<KContacts::Geo> & locations, QChar label = QChar(),
const MarkerSize size = Normal, const QColor & color = Qt::red);
/**
......@@ -177,7 +177,7 @@ class KGAPIMAPS_EXPORT StaticMapMarker
* @param label Specifies a single uppercase alphanumeric character from
* set {A-Z, 0-9} which will be displayed in the marker
*/
void setLabel(const QChar & label);
void setLabel(QChar label);
/**
* @brief Returns locations in QString
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment