--- a/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp Fri Sep 17 08:27:32 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp Mon Oct 04 00:06:02 2010 +0300
@@ -79,6 +79,8 @@
addButton->setIcon(plusIcon);
connect(addButton, SIGNAL(clicked()), popup, SLOT(close()));
connect(addButton, SIGNAL(clicked()), this, SLOT(saveNew()));
+ connect(addButton, SIGNAL(longPress(QPointF)), popup, SLOT(close()));
+ connect(addButton, SIGNAL(longPress(QPointF)), this, SLOT(saveNew()));
HbPushButton* updateButton = new HbPushButton(buttonWidget);
updateButton->setStretched(true);
@@ -86,6 +88,9 @@
updateButton->setIcon(plusIcon);
connect(updateButton, SIGNAL(clicked()), popup, SLOT(close()));
connect(updateButton, SIGNAL(clicked()), this, SLOT(updateExisting()));
+ connect(updateButton, SIGNAL(longPress(QPointF)), popup, SLOT(close()));
+ connect(updateButton, SIGNAL(longPress(QPointF)), this, SLOT(updateExisting()));
+
layout->addItem(addButton);
layout->addItem(updateButton);