phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp
changeset 72 6abfb1094884
parent 61 d30183af6ca6
child 81 640d30f4fb64
--- a/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp	Thu Sep 09 16:37:32 2010 +0300
+++ b/phonebookui/phonebookservices/src/cntserviceassigncontactcardview.cpp	Tue Sep 21 17:07:25 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);