phoneapp/phoneuiview2/inc/phoneuiqtview.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
    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
   188         Clears and hides dialpad.
   189         Clears and hides dialpad.
   189     */
   190     */
   190     void clearAndHideDialpad();
   191     void clearAndHideDialpad();
   191     
   192     
   192     /*!
   193     /*!
       
   194         \fn void PhoneUIQtView::clearDialpad()
       
   195         
       
   196         Clears text from dialpad.
       
   197     */
       
   198     void clearDialpad();
       
   199     
       
   200     /*!
   193         \fn void PhoneUIQtView::bringToForeground()
   201         \fn void PhoneUIQtView::bringToForeground()
   194         
   202         
   195         Brings to foreground.
   203         Brings to foreground.
   196     */
   204     */
   197     void bringToForeground();
   205     void bringToForeground();
   215         
   223         
   216         Returns HbMenu reference.
   224         Returns HbMenu reference.
   217     */
   225     */
   218     HbMenu &menuReference();
   226     HbMenu &menuReference();
   219 
   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     
   220 public slots:
   242 public slots:
   221 
   243 
   222     /*!
   244     /*!
   223         \fn void PhoneUIQtView::volumeSliderClosed ()
   245         \fn void PhoneUIQtView::volumeSliderClosed ()
   224         
   246         
   369     HbAction            *m_backAction;
   391     HbAction            *m_backAction;
   370     Dialpad             *m_dialpad;
   392     Dialpad             *m_dialpad;
   371     QSignalMapper       *m_menuSignalMapper;
   393     QSignalMapper       *m_menuSignalMapper;
   372     XqKeyCapture        *m_keyCapture;
   394     XqKeyCapture        *m_keyCapture;
   373     QSystemNetworkInfo  *m_networkInfo;
   395     QSystemNetworkInfo  *m_networkInfo;
       
   396     QList<Qt::Key>      m_keyCaptures;
       
   397     DialpadKeyHandler   *m_dialpadKeyHandler;
       
   398     bool                m_restrictedMode;
   374 };
   399 };
   375 
   400 
   376 #endif // PHONEUIQTVIEW_H
   401 #endif // PHONEUIQTVIEW_H