radioapp/radiowidgets/inc/radiostationitem.h
changeset 16 f54ebcfc1b80
parent 14 63aabac4416d
child 19 afea38384506
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
    44     void updateChildItems();
    44     void updateChildItems();
    45 
    45 
    46 // New functions
    46 // New functions
    47 
    47 
    48     uint frequency() const;
    48     uint frequency() const;
    49 
       
    50     void update( const RadioStation* station = 0 );
    49     void update( const RadioStation* station = 0 );
    51 
       
    52     void setFrequency( uint frequency );
    50     void setFrequency( uint frequency );
    53     void setSeekingText();
    51     void cleanRdsData();
    54 
    52 
    55 private slots:
    53 private slots:
    56 
    54 
    57     void toggleFavorite();
    55     void toggleFavorite();
    58 
    56 
    59 private:
    57 private:
    60 
    58 
    61     void updateFavoriteIcon( bool isFavorite );
    59     void updateFavoriteIcon( bool isFavorite );
    62 
    60 
    63     RadioStationCarousel* carousel();
    61     RadioStationCarousel* carousel();
       
    62 
       
    63     QString parseFrequency( const uint frequency );
       
    64     QString nameOrFrequency( const RadioStation& station, uint frequency = 0 );
    64 
    65 
    65 private: // data
    66 private: // data
    66 
    67 
    67     RadioStationCarousel&   mCarousel;
    68     RadioStationCarousel&   mCarousel;
    68     HbAnchorLayout*         mLayout;
    69     HbAnchorLayout*         mLayout;