diff -r 63aabac4416d -r f54ebcfc1b80 radioapp/radiowidgets/inc/radiomainwindow.h --- a/radioapp/radiowidgets/inc/radiomainwindow.h Fri Apr 16 14:58:55 2010 +0300 +++ b/radioapp/radiowidgets/inc/radiomainwindow.h Mon May 03 12:31:41 2010 +0300 @@ -23,8 +23,7 @@ #include #include -//#define QT_SHAREDPOINTER_TRACK_POINTERS // Debugging support for QSharedPointer -#include +#include // User includes #include "radiowidgetsexport.h" @@ -34,11 +33,11 @@ class RadioUiEngine; class HbVolumeSliderPopup; -typedef QSharedPointer VolumeSliderPtr; +typedef QScopedPointer VolumeSliderPtr; /** * QPointer is used to store the views because it tracks the deletion of the object and nulls - * the reference. Transient views like RadioWizardView and RadioPlayLogView are destroyed after they are closed + * the reference. Transient view like RadioHistoryView is destroyed after they are closed * and QPointer will notice it. */ typedef QPointer ViewPtr; @@ -71,17 +70,15 @@ void activateTuningView(); - void activateWizardView(); - void activateStationsView(); - void activatePlayLogView(); + void activateHistoryView(); private slots: void updateOrientation( Qt::Orientation orientation ); void showVolumeLevel( int volume ); - void headsetStatusChanged( bool connected ); + void updateAntennaStatus( bool connected ); private: @@ -112,16 +109,10 @@ ViewPtr mStationsView; /** - * Wizard view + * Play history view * Own. */ - ViewPtr mWizardView; - - /** - * Play log view - * Own. - */ - ViewPtr mPlayLogView; + ViewPtr mHistoryView; /** * Pointer to the volume slider