diff -r 48e74db5d516 -r bbb98528c666 videocollection/videocollectionview/inc/videohintwidget.h --- a/videocollection/videocollectionview/inc/videohintwidget.h Thu Apr 01 23:13:36 2010 +0300 +++ b/videocollection/videocollectionview/inc/videohintwidget.h Thu Apr 01 23:22:15 2010 +0300 @@ -20,6 +20,7 @@ #define VIDEOHINTWIDGET_H #include +#include class HbPushButton; class HbLabel; @@ -71,11 +72,19 @@ void setLevel(HintLevel level); /** - * Overridden from QGraphicsItem. Sets the visibility of this widget. - * - * @param visible true if widget is set visible, false othervise. + * Adjusts if the button is shown in landscape. + */ + void setButtonShown(bool shown); + + /** + * Method enables and displays this widget. */ - void setVisible(bool visible); + void activate(); + + /** + * Method disables and hides this widget. + */ + void deactivate(); private slots: @@ -87,18 +96,6 @@ private: /** - * Method enables and displays current active view - * - * @return int 0 initialization ok, < 0 if fails. - */ - void activate(); - - /** - * Method disables and hides current active view - */ - void deactivate(); - - /** * Shows/hides the correct UI components for current state. */ void updateUiComponents(); @@ -112,16 +109,6 @@ */ VideoCollectionUiLoader *mUiLoader; - /** - * Service button object. - */ - HbPushButton *mServiceButton; - - /** - * Hint text label (ie. the second row label). - */ - HbLabel *mHintLabel; - /** * Service icon resource string. */ @@ -138,9 +125,24 @@ HbIcon *mServiceIcon; /** + * Add videos icon. + */ + HbIcon *mAddVideosIcon; + + /** * Current hint level. */ HintLevel mCurrentLevel; + + /** + * If button is shown in landscape at all. + */ + bool mButtonShown; + + /** + * true if widget has been activated. + */ + bool mActivated; };