src/hbwidgets/dataform/hbdataform.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
--- a/src/hbwidgets/dataform/hbdataform.cpp	Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbwidgets/dataform/hbdataform.cpp	Mon Oct 04 00:38:12 2010 +0300
@@ -41,7 +41,9 @@
 #include <QCoreApplication>
 #include <QGraphicsScene>
 #include <QGestureRecognizer>
+
 #include <hbgesturerecognizers_p.h>
+#include <hbgestures_p.h>
 
 class HbTapDelayGesture:public HbTapGesture
 {
@@ -53,7 +55,7 @@
 class HbTapDelayGestureRecognizer : public HbTapGestureRecognizer
 {
 public:
-    explicit HbTapDelayGestureRecognizer(){};
+    explicit HbTapDelayGestureRecognizer(){}
     virtual ~HbTapDelayGestureRecognizer()
     {
         int i = 0;
@@ -847,9 +849,9 @@
 
 void HbDataForm::showEvent(QShowEvent * event)
 {
-    if(!isVisible() ){
-        delayGestureInstaller.install();       
-    }    
+    //if(!isVisible() ){
+    //    delayGestureInstaller.install();       
+    //}    
     HbAbstractItemView::showEvent( event );
 }
 
@@ -858,7 +860,7 @@
 */
 void HbDataForm::hideEvent ( QHideEvent * event )  
 {
-    delayGestureInstaller.unInstall();
+    //delayGestureInstaller.unInstall();
     HbAbstractItemView::hideEvent( event );
     
 }