From f81481c50f5c89a90db2958125bf40863807f611 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 5 Apr 2007 22:10:55 +0000 Subject: [PATCH] - Still cleaning up rss --- src/rss.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/rss.h b/src/rss.h index d61528329..cec12ef5a 100644 --- a/src/rss.h +++ b/src/rss.h @@ -202,11 +202,11 @@ class RssStream : public QObject{ return filePath; } - RssItem* getItem(unsigned short index) const{ + RssItem* getItem(unsigned int index) const{ return listItem.at(index); } - unsigned short getListSize() const{ + unsigned int getListSize() const{ return listItem.size(); } @@ -216,7 +216,8 @@ class RssStream : public QObject{ void displayStream(){ qDebug(" # "+getTitle().toUtf8()+" - "+getUrl().toUtf8()+" - "+getAlias().toUtf8()); - for(int i=0; idisplayItem(); } } @@ -307,7 +308,8 @@ class RssManager{ ~RssManager(){ saveStreamList(); - for(unsigned short i=0; isetAlias(streamListAlias.at(i)); streamList.append(stream); @@ -367,7 +370,7 @@ class RssManager{ short index = hasStream(stream); if(index != -1){ unsigned int streamListSize = streamList.size(); - for(unsigned short i=0; igetUrl() == stream->getUrl()){ delete streamList.takeAt(i); } @@ -429,7 +432,8 @@ class RssManager{ } void displayManager(){ - for(unsigned short i=0; idisplayStream(); } }