phoneapp/phoneuiview2/inc/phoneuiqtview.h
changeset 46 bc5a64e5bc3c
parent 45 6b911d05207e
child 51 f39ed5e045e0
child 60 1eef62f5c541
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
    29 class QSignalMapper;
    29 class QSignalMapper;
    30 class HbToolBar;
    30 class HbToolBar;
    31 class HbVolumeSliderPopup;
    31 class HbVolumeSliderPopup;
    32 class Dialpad;
    32 class Dialpad;
    33 class XqKeyCapture;
    33 class XqKeyCapture;
       
    34 class DialpadKeyHandler;
    34 
    35 
    35 #ifdef BUILD_PHONEUIQTVIEW
    36 #ifdef BUILD_PHONEUIQTVIEW
    36 #define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
    37 #define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
    37 #else
    38 #else
    38 #define PHONEUIQTVIEW_EXPORT Q_DECL_IMPORT
    39 #define PHONEUIQTVIEW_EXPORT Q_DECL_IMPORT
   222         
   223         
   223         Returns HbMenu reference.
   224         Returns HbMenu reference.
   224     */
   225     */
   225     HbMenu &menuReference();
   226     HbMenu &menuReference();
   226 
   227 
       
   228     /*!
       
   229         \fn void PhoneUIQtViewIF::captureKey()
       
   230         
       
   231         Captures key.
       
   232     */
       
   233     void captureKey(Qt::Key key, bool capture);
       
   234     
       
   235     /*
       
   236         \fn void setRestrictedMode()
       
   237         
       
   238         Sets Ui to restricted mode. Decides which keyevent are allowed.
       
   239      */
       
   240     void setRestrictedMode(bool restrictedMode);
       
   241     
   227 public slots:
   242 public slots:
   228 
   243 
   229     /*!
   244     /*!
   230         \fn void PhoneUIQtView::volumeSliderClosed ()
   245         \fn void PhoneUIQtView::volumeSliderClosed ()
   231         
   246         
   376     HbAction            *m_backAction;
   391     HbAction            *m_backAction;
   377     Dialpad             *m_dialpad;
   392     Dialpad             *m_dialpad;
   378     QSignalMapper       *m_menuSignalMapper;
   393     QSignalMapper       *m_menuSignalMapper;
   379     XqKeyCapture        *m_keyCapture;
   394     XqKeyCapture        *m_keyCapture;
   380     QSystemNetworkInfo  *m_networkInfo;
   395     QSystemNetworkInfo  *m_networkInfo;
       
   396     QList<Qt::Key>      m_keyCaptures;
       
   397     DialpadKeyHandler   *m_dialpadKeyHandler;
       
   398     bool                m_restrictedMode;
   381 };
   399 };
   382 
   400 
   383 #endif // PHONEUIQTVIEW_H
   401 #endif // PHONEUIQTVIEW_H