--- a/phoneuis/bubblemanager2/bubblecore/src/bubbleexpandedhandler.cpp Tue Jun 15 14:14:38 2010 +0100
+++ b/phoneuis/bubblemanager2/bubblecore/src/bubbleexpandedhandler.cpp Thu Jul 22 16:33:21 2010 +0100
@@ -100,6 +100,8 @@
mButtonCenter->setIcon( action->icon() );
connect(mButtonCenter, SIGNAL( clicked() ),
action, SLOT( trigger() ) );
+ connect(mButtonCenter, SIGNAL( longPress(QPointF)),
+ action, SLOT( trigger() ) );
BubbleUtils::setButtonStyleForAction(*mButtonCenter,*action);
mButtonCenter->show();
} else if (actions.count()==2 && mButtonLeft && mButtonRight ) {
@@ -108,6 +110,8 @@
mButtonLeft->setIcon(action1->icon());
connect( mButtonLeft, SIGNAL( clicked() ),
action1, SLOT( trigger() ) );
+ connect( mButtonLeft, SIGNAL( longPress(QPointF)),
+ action1, SLOT( trigger() ) );
BubbleUtils::setButtonStyleForAction(*mButtonLeft,*action1);
mButtonLeft->show();
// Right button
@@ -115,6 +119,8 @@
mButtonRight->setIcon( action2->icon() );
connect( mButtonRight, SIGNAL( clicked() ),
action2, SLOT( trigger() ) );
+ connect( mButtonRight, SIGNAL( longPress(QPointF)),
+ action2, SLOT( trigger() ) );
BubbleUtils::setButtonStyleForAction(*mButtonRight,*action2);
mButtonRight->show();
}