qtinternetradio/ui/inc/irfavoritesmodel.h
changeset 5 0930554dc389
parent 3 ee64f059b8e1
child 8 3b03c28289e6
equal deleted inserted replaced
3:ee64f059b8e1 5:0930554dc389
    37     QString    getImgUrl(int aIndex) const;
    37     QString    getImgUrl(int aIndex) const;
    38     
    38     
    39     int rowCount(const QModelIndex &aParent = QModelIndex()) const;
    39     int rowCount(const QModelIndex &aParent = QModelIndex()) const;
    40     QVariant data(const QModelIndex &aIndex, int aRole = Qt::DisplayRole) const;
    40     QVariant data(const QModelIndex &aIndex, int aRole = Qt::DisplayRole) const;
    41     void setLogo(HbIcon *aIcon, int aIndex);
    41     void setLogo(HbIcon *aIcon, int aIndex);
       
    42     bool isLogoReady(int aIndex) const;
    42     bool checkFavoritesUpdate();
    43     bool checkFavoritesUpdate();
    43     
    44     
    44     void clearFavoriteDB();
    45     void clearFavoriteDB();
    45     void clearAndDestroyLogos();
    46     void clearAndDestroyLogos();
    46     bool deleteOneFavorite(int aIndex);    
    47     bool deleteOneFavorite(int aIndex);  
       
    48     bool deleteMultiFavorites(const QModelIndexList &aIndexList);
    47     
    49     
    48 signals:
    50 signals:
    49     void modelChanged();
    51     void modelChanged();
    50     
    52     
    51     
    53