videocollection/tsrc/stubs/src/hbmessagebox.cpp
changeset 44 518105d52e45
parent 38 ff53afa8ad05
child 63 4707a0db12f6
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
    77     HbMessageBoxData::mOpenCallCount++;
    77     HbMessageBoxData::mOpenCallCount++;
    78 }
    78 }
    79 
    79 
    80 void HbMessageBox::emitDialogFinished( QObject* receiver, const char* member, int actionNum )
    80 void HbMessageBox::emitDialogFinished( QObject* receiver, const char* member, int actionNum )
    81 {
    81 {
    82     if(connect(this, SIGNAL(finished(HbAction *)), receiver, member))
    82     if(connect(this, SIGNAL(finished(int)), receiver, member))
    83     {
    83     {
    84         emit finished(mActions.value(actionNum));
    84         emit finished(actionNum);
    85         disconnect(this, SIGNAL(finished(HbAction *)), receiver, member);
    85         disconnect(this, SIGNAL(finished(int)), receiver, member);
    86     }
    86     }
       
    87 }
       
    88 
       
    89 void HbMessageBox::setStandardButtons(StandardButtons buttons)
       
    90 {
       
    91     Q_UNUSED(buttons);
       
    92 	//NOP
    87 }
    93 }
    88 
    94 
    89 void HbMessageBox::information(const QString &informationText,
    95 void HbMessageBox::information(const QString &informationText,
    90     QGraphicsWidget *headWidget,
    96     QGraphicsWidget *headWidget,
    91     QGraphicsScene *scene,
    97     QGraphicsScene *scene,