--- a/ganeswidgets/src/hgwidgets.cpp Tue Jul 06 15:29:26 2010 +0300
+++ b/ganeswidgets/src/hgwidgets.cpp Wed Aug 18 10:52:49 2010 +0300
@@ -25,7 +25,7 @@
#include "hgwidgets_p.h"
#include "hgcontainer.h"
#include "hgwidgetitem.h"
-#include "hgscrollBufferManager.h"
+#include "hgscrollbuffermanager.h"
#include "hggridcontainer.h"
#include "trace.h"
@@ -148,13 +148,11 @@
* Returns true if the scroll area handles
* long press gestures, false otherwise
*
- * \sa HbScrollArea::setHandleLongPress()
*/
bool HgWidget::longPressEnabled() const
{
Q_D( const HgWidget );
-
- return d->mHandleLongPress;
+ return d->handleLongPress();
}
/*!
@@ -163,22 +161,11 @@
*
* The default value is false.
*
- * \sa HbScrollArea::handleLongPress()
*/
void HgWidget::setLongPressEnabled (bool value)
{
Q_D( HgWidget );
-
- if (d->mHandleLongPress != value)
- {
- d->mHandleLongPress = value;
- }
-
- // TODO, should we do something like this?????
-// if (isChanged) {
-// d->updateGestures();
-// emit gestureSceneFilterChanged( d->mGestureFilter );
-// }
+ d->setHandleLongPress(value);
}
HgWidget::ScrollBarPolicy HgWidget::scrollBarPolicy() const