videocollection/tsrc/stubs/inc/hbview.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 67 72c709219fcd
--- a/videocollection/tsrc/stubs/inc/hbview.h	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/tsrc/stubs/inc/hbview.h	Fri Apr 16 18:13:14 2010 +0300
@@ -20,6 +20,7 @@
 #define HBVIEW_H
 
 #include <QGraphicsWidget>
+#include "qstring.h"
 #include "hbinstance.h"
 #include "hbtoolbar.h"
 #include "hbeffect.h"
@@ -28,7 +29,6 @@
 {
     Q_OBJECT
 
-
 public:
 
     HbView(QGraphicsItem *parent = 0) : QGraphicsWidget(parent), mToolBar(0), mNavigationAction(0)
@@ -45,7 +45,7 @@
     
     void setTitle(const QString &title)
     {
-        Q_UNUSED(title);
+        mTitle = title;
     }
     
     HbToolBar *toolBar() const
@@ -59,7 +59,7 @@
     void setItemVisible(Hb::SceneItem item, bool visible)
     {
         Q_UNUSED(item);
-        Q_UNUSED(visible);
+        mSetItemVisibleLast = visible;
     }
     
     void setNavigationAction(HbAction *action)
@@ -71,6 +71,12 @@
     HbAction *mNavigationAction;
     
     mutable HbToolBar* mToolBar;
+    
+    QString mTitle;
+    
+public:
+    
+    static bool mSetItemVisibleLast;
 };
 
 #endif // HBVIEW_H