qtinternetradio/ui/inc/irchannelmodel.h
changeset 8 3b03c28289e6
parent 0 09774dfdd46b
child 11 f683e24efca3
--- a/qtinternetradio/ui/inc/irchannelmodel.h	Thu May 27 12:46:34 2010 +0300
+++ b/qtinternetradio/ui/inc/irchannelmodel.h	Fri Jun 11 13:30:40 2010 +0300
@@ -22,6 +22,7 @@
 
 class HbIcon;
 class IRQChannelItem;
+class IRSearchResultDB;
 
 class IrChannelModel : public QAbstractListModel
 {
@@ -35,7 +36,11 @@
     QVariant data(const QModelIndex &aIndex, int aRole = Qt::DisplayRole) const;
     QString imageUrl(int aRow);
     void setLogo(HbIcon *aIcon, int aIndex);
-
+    void initWithCache();    
+    void save2Cache();
+    //not take ownership
+    IRQChannelItem * getChannelItemByIndex(int aIndex);
+    
     void clearAndDestroyLogos();
     
 public slots:
@@ -51,6 +56,7 @@
     QList<IRQChannelItem*> *iChannelList;
     QMap<int, HbIcon*>     iLogos;
     HbIcon *iStationLogo;
+    IRSearchResultDB *iDB;
 };
 
 #endif