phoneapp/phoneuiview2/inc/phoneuiqtviewif.h
changeset 78 baacf668fe89
parent 46 bc5a64e5bc3c
--- a/phoneapp/phoneuiview2/inc/phoneuiqtviewif.h	Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuiview2/inc/phoneuiqtviewif.h	Fri Oct 15 12:58:46 2010 +0300
@@ -25,7 +25,6 @@
 class HbIcon;
 class HbAction;
 class HbMenu;
-class PhoneAction;
 
 class PhoneUIQtViewIF
 {
@@ -43,11 +42,11 @@
         \fn void PhoneUIQtViewIF::addBubbleCommand ()
         
         Adds new command to bubble. Command id will be emitted as
-        a parameter from view's command(int) signal.
+        a parameter from view's command(int) signal.  Ownership transferred.
     */
     virtual void addBubbleCommand ( 
         int bubbleId,
-        const PhoneAction& action ) = 0;
+        HbAction *action ) = 0;
     
     /*!
         \fn void PhoneUIQtViewIF::clearBubbleCommands ()
@@ -76,9 +75,9 @@
     /*!
         \fn void PhoneUIQtViewIF::setToolbarActions()
         
-        Sets toolbar actions.
+        Sets toolbar actions. Ownership transferred.
     */
-    virtual void setToolbarActions(const QList<PhoneAction*>& actions) = 0;    
+    virtual void setToolbarActions(const QList<HbAction *> &actions) = 0;    
     
     /*!
         \fn void PhoneUIQtViewIF::hideToolbar ()
@@ -184,11 +183,18 @@
     virtual void bringToForeground() = 0;
     
     /*!
+        \fn void PhoneUIQtViewIF::hide()
+        
+        Lowers the phone to the bottom of the stack.
+     */
+    virtual void hide() = 0;
+    
+    /*!
         \fn void PhoneUIQtViewIF::setToolbarActions()
         
-       Sets menu actions.
+       Sets menu actions. Ownership transferred.
     */
-    virtual void setMenuActions(const QList<PhoneAction*>& actions) = 0;
+    virtual void setMenuActions(const QList<HbAction *> &actions) = 0;
       
     /*!
         \fn void PhoneUIQtView::shutdownPhoneApp()