radioapp/radiowidgets/inc/radiomainview.h
changeset 32 189d20c34778
parent 28 075425b8d9a4
child 33 11b6825f0862
equal deleted inserted replaced
28:075425b8d9a4 32:189d20c34778
    55     void setFrequencyFromWidget( uint frequency, int reason, int direction );
    55     void setFrequencyFromWidget( uint frequency, int reason, int direction );
    56     void setFrequencyFromEngine( uint frequency, int reason );
    56     void setFrequencyFromEngine( uint frequency, int reason );
    57     void skip( int skipMode );
    57     void skip( int skipMode );
    58     void openStationsView();
    58     void openStationsView();
    59     void toggleScanning();
    59     void toggleScanning();
       
    60     void toggleFavorite();
    60     void seekingStarted();
    61     void seekingStarted();
    61     void updateAntennaStatus( bool connected );
    62     void updateAntennaStatus( bool connected );
    62     void updateAudioRoute( bool loudspeaker );
    63     void updateAudioRoute( bool loudspeaker );
    63     void setManualSeekMode( bool manualSeekActive );
    64     void setManualSeekMode( bool manualSeekActive );
    64     void handleFavoriteChange( const RadioStation& station );
    65     void handleFavoriteChange( const RadioStation& station );
    76 
    77 
    77 // from base class QObject
    78 // from base class QObject
    78 
    79 
    79     bool eventFilter( QObject* watched, QEvent* event );
    80     bool eventFilter( QObject* watched, QEvent* event );
    80 
    81 
       
    82 // New functions
       
    83 
       
    84     void updateFavoriteButton();
       
    85 
    81 private: // data
    86 private: // data
    82 
    87 
    83     QScopedPointer<RadioFrequencyScanner>   mFrequencyScanner;
    88     QScopedPointer<RadioFrequencyScanner>   mFrequencyScanner;
    84     RadioStationCarousel*                   mCarousel;
    89     RadioStationCarousel*                   mCarousel;
    85     RadioFrequencyStrip*                    mFrequencyStrip;
    90     RadioFrequencyStrip*                    mFrequencyStrip;