ganeswidgets/src/hgwidgets.cpp
branchGCC_SURGE
changeset 10 c348b9772569
parent 9 dde80bf4a8c7
child 11 42505cd701c6
child 13 8bf920201dea
--- a/ganeswidgets/src/hgwidgets.cpp	Fri Jun 11 16:25:05 2010 +0100
+++ b/ganeswidgets/src/hgwidgets.cpp	Thu Jul 22 16:36:56 2010 +0100
@@ -16,16 +16,16 @@
 */
 
 #include <QGraphicsSceneResizeEvent>
-#include <hbmainwindow>
-#include <hbscrollbar.h>
-#include <qapplication.h>
+#include <HbMainWindow>
+#include <HbScrollBar>
+#include <QApplication>
 #include <hgwidgets/hgwidgets.h>
-#include <hbstyleloader.h>
+#include <HbStyleLoader>
 
 #include "hgwidgets_p.h"
 #include "hgcontainer.h"
 #include "hgwidgetitem.h"
-#include "hgscrollbuffermanager.h"
+#include "hgscrollBufferManager.h"
 #include "hggridcontainer.h"
 #include "trace.h"
 
@@ -172,14 +172,6 @@
     if (d->mHandleLongPress != value)
     {
         d->mHandleLongPress = value;
-        if (value)
-        {
-            grabGesture(Qt::TapAndHoldGesture);
-        }
-        else
-        {
-            ungrabGesture(Qt::TapAndHoldGesture);
-        }
     }
 
     // TODO, should we do something like this?????
@@ -247,12 +239,12 @@
         {
         case QEvent::ApplicationActivate:
             {
-            d->gainedForeground();
+//            d->gainedForeground();
             break;
             }
         case QEvent::ApplicationDeactivate:
             {
-            d->lostForeground();
+//            d->lostForeground();
             break;
             }
         case QEvent::GraphicsSceneResize: