phoneapp/phoneuiview2/inc/phoneuiqtview.h
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 27 2f8f8080a020
--- a/phoneapp/phoneuiview2/inc/phoneuiqtview.h	Fri Mar 19 09:28:42 2010 +0200
+++ b/phoneapp/phoneuiview2/inc/phoneuiqtview.h	Fri Apr 16 14:58:25 2010 +0300
@@ -29,6 +29,7 @@
 class HbToolBar;
 class HbVolumeSliderPopup;
 class Dialpad;
+class QTimer;
 
 #ifdef BUILD_PHONEUIQTVIEW
 #define PHONEUIQTVIEW_EXPORT Q_DECL_EXPORT
@@ -263,6 +264,13 @@
         Shutdown phone application.
     */
     void shutdownPhoneApp();
+    
+    /*!
+        \fn void PhoneUIQtView::longEndKeyPressEvent()
+        
+        This is called when end key's long press timer times out.
+    */
+    void longEndKeyPressEvent();
    
 signals:
 
@@ -279,6 +287,8 @@
         This signal is emitted when key is released.
     */
     void keyReleased (QKeyEvent *event);
+
+    void endKeyLongPress();
     
     /*!
         \fn void command(int command)
@@ -294,6 +304,7 @@
     */
     void dialpadIsAboutToClose();
     
+    
 protected:
 
     /*!
@@ -340,9 +351,9 @@
     QList<HbAction *>   m_participantListActions;
     int                 m_volumeCommandId;
     HbAction            *m_backAction;
-    HbAction            *m_emptyAction; 
     Dialpad             *m_dialpad;
     QSignalMapper       *m_menuSignalMapper;
+    QTimer              *m_longPressTimer;
 };
 
 #endif // PHONEUIQTVIEW_H