videocollection/videofiledetailsview/tsrc/testplugin/stub/src/hbmessagebox.cpp
changeset 44 518105d52e45
parent 38 ff53afa8ad05
child 58 d2b028fd1f7d
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
    52     {
    52     {
    53         delete mActions.takeFirst();
    53         delete mActions.takeFirst();
    54     }
    54     }
    55 }
    55 }
    56 
    56 
       
    57 void HbMessageBox::setStandardButtons(StandardButtons buttons)
       
    58 {
       
    59 	//NOP
       
    60 }
       
    61 
    57 void HbMessageBox::show()
    62 void HbMessageBox::show()
    58 {
    63 {
    59     HbMessageBox::mShowCallCount++;
    64     HbMessageBox::mShowCallCount++;
    60 }
    65 }
    61 
    66 
    66     HbMessageBox::mOpenCallCount++;
    71     HbMessageBox::mOpenCallCount++;
    67 }
    72 }
    68 
    73 
    69 void HbMessageBox::emitDialogFinished( QObject* receiver, const char* member, int actionNum )
    74 void HbMessageBox::emitDialogFinished( QObject* receiver, const char* member, int actionNum )
    70 {
    75 {
    71     if(connect(this, SIGNAL(finished(HbAction *)), receiver, member))
    76     if(connect(this, SIGNAL(finished(int)), receiver, member))
    72     {
    77     {
    73         emit finished(mActions.value(actionNum));
    78         emit finished(actionNum);
    74         disconnect(this, SIGNAL(finished(HbAction *)), receiver, member);
    79         disconnect(this, SIGNAL(finished(int)), receiver, member);
    75     }
    80     }
    76 }
    81 }
    77 
    82 
    78 void HbMessageBox::setAttribute(int attribute)
    83 void HbMessageBox::setAttribute(int attribute)
    79 {
    84 {