summaryrefslogtreecommitdiffstats
path: root/weather
diff options
context:
space:
mode:
authorLuiz Agostini <luiz.agostini@openbossa.org>2009-11-16 17:56:44 -0300
committerLuiz Agostini <luiz.agostini@openbossa.org>2009-11-16 19:02:35 -0300
commitf1c16d44f28fc7d41f44aa0e7ad06449e514eb41 (patch)
tree7c5657294bf6867f23b959ecd537debc27dee930 /weather
parentbda3892ba96da3103c978fee7fa81cc7d289bfb1 (diff)
Weather: removing debug messages.
Signed-off-by: Luiz Agostini <luiz.agostini@openbossa.org>
Diffstat (limited to 'weather')
-rw-r--r--weather/carroussel.h1
-rw-r--r--weather/networkforecastsource.cpp3
-rw-r--r--weather/xoapweatherresponse.cpp2
-rw-r--r--weather/yahooweatherresponse.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/weather/carroussel.h b/weather/carroussel.h
index 796fd60..983cbc8 100644
--- a/weather/carroussel.h
+++ b/weather/carroussel.h
@@ -98,7 +98,6 @@ template<class T> int Carroussel<T>::add(const T &item)
template<class T> void Carroussel<T>::remove(int idx)
{
idx = getIndex(m_pos + idx);
- qDebug() << idx << m_pos << m_list.count();
m_list.removeAt(idx);
m_pos = getIndex(idx < m_pos ? m_pos - 1 : m_pos);
}
diff --git a/weather/networkforecastsource.cpp b/weather/networkforecastsource.cpp
index c2a7dbe..98456c8 100644
--- a/weather/networkforecastsource.cpp
+++ b/weather/networkforecastsource.cpp
@@ -219,10 +219,7 @@ int NetworkForecastSource::getForecast(const QString &key, bool locationId)
void NetworkForecastSource::newForecastResponse(int reqId, YahooWeatherResponse *forecast)
{
- qDebug() << "----------------------------------------------";
- qDebug() << "forecast response received: " << reqId;
forecast->print();
- qDebug() << "----------------------------------------------";
emit forecastReceived(reqId, ForecastData(forecast));
}
diff --git a/weather/xoapweatherresponse.cpp b/weather/xoapweatherresponse.cpp
index 3c520e2..5804bc9 100644
--- a/weather/xoapweatherresponse.cpp
+++ b/weather/xoapweatherresponse.cpp
@@ -42,7 +42,9 @@ void XoapWeatherResponse::read(QDomElement element)
void XoapWeatherResponse::print()
{
+ /*
qDebug() << m_version << m_list.count() << " items";
for (int i = 0; i < m_list.count(); ++i)
qDebug() << "item " << i << " : " << m_list[i].id() << m_list[i].type() << m_list[i].texts();
+ */
}
diff --git a/weather/yahooweatherresponse.cpp b/weather/yahooweatherresponse.cpp
index 325b632..652d2c8 100644
--- a/weather/yahooweatherresponse.cpp
+++ b/weather/yahooweatherresponse.cpp
@@ -144,6 +144,7 @@ YahooWeatherResponse::YahooWeatherResponse(const QString &locationCode, QDomElem
void YahooWeatherResponse::print()
{
+ /*
qDebug() << "location code" << m_locationCode;
qDebug() << "buildDate" << m_buildDate;
qDebug() << "timeToLive" << m_timeToLive;
@@ -160,4 +161,5 @@ void YahooWeatherResponse::print()
qDebug() << "location" << m_location.city() << m_location.region() << m_location.country();
qDebug() << "units" << m_units.distance() << m_units.pressure() << m_units.speed() << m_units.temperature();
qDebug() << "wind" << m_wind.chill() << m_wind.direction() << m_wind.speed();
+ */
}