phoneapp/phoneuiqtviewadapter/inc/phoneuicommandcontroller.h
changeset 72 c76a0b1755b9
parent 45 6b911d05207e
child 78 baacf668fe89
equal deleted inserted replaced
64:6aaf0276100e 72:c76a0b1755b9
   222     QList<int> buttonCommandList(int callState,
   222     QList<int> buttonCommandList(int callState,
   223                                  bool emergencyCall,
   223                                  bool emergencyCall,
   224                                  QList<int> callStates) const;
   224                                  QList<int> callStates) const;
   225     
   225     
   226     /*!
   226     /*!
   227         \fn void buttonCommandList()
   227         \fn void mapCommandToAction()
   228         
   228         
   229         Maps push button command to phone action.
   229         Maps push button command to phone action.
   230     */
   230     */
   231     PhoneAction *mapCommandToAction(int command,
   231     PhoneAction *mapCommandToAction(int command,
   232                                     bool disabled=false) const;
   232                                     bool disabled=false) const;
   233     
   233     
   234     
   234     /*!
       
   235         \fn void emergencyCall()
       
   236         
       
   237         Checks is an emergency call ongoing.
       
   238     */    
       
   239     bool emergencyCall(QMap<int,int> callStates) const;
   235     
   240     
   236 private:
   241 private:
   237 
   242 
   238     PhoneUIQtViewIF &m_view;
   243     PhoneUIQtViewIF &m_view;
   239     QList<HbAction *> m_customMenuActions;
   244     QList<HbAction *> m_customMenuActions;