videocollection/videofiledetailsview/tsrc/testplugin/stub/src/hbmessagebox.cpp
changeset 44 518105d52e45
parent 38 ff53afa8ad05
child 58 d2b028fd1f7d
--- a/videocollection/videofiledetailsview/tsrc/testplugin/stub/src/hbmessagebox.cpp	Fri Jul 02 17:14:33 2010 +0300
+++ b/videocollection/videofiledetailsview/tsrc/testplugin/stub/src/hbmessagebox.cpp	Thu Jul 08 13:05:19 2010 +0300
@@ -54,6 +54,11 @@
     }
 }
 
+void HbMessageBox::setStandardButtons(StandardButtons buttons)
+{
+	//NOP
+}
+
 void HbMessageBox::show()
 {
     HbMessageBox::mShowCallCount++;
@@ -68,10 +73,10 @@
 
 void HbMessageBox::emitDialogFinished( QObject* receiver, const char* member, int actionNum )
 {
-    if(connect(this, SIGNAL(finished(HbAction *)), receiver, member))
+    if(connect(this, SIGNAL(finished(int)), receiver, member))
     {
-        emit finished(mActions.value(actionNum));
-        disconnect(this, SIGNAL(finished(HbAction *)), receiver, member);
+        emit finished(actionNum);
+        disconnect(this, SIGNAL(finished(int)), receiver, member);
     }
 }