qtinternetradio/ui/src/irbaseview.cpp
changeset 2 2e1adbfc62af
parent 0 09774dfdd46b
child 3 ee64f059b8e1
equal deleted inserted replaced
0:09774dfdd46b 2:2e1adbfc62af
   119     return iApplication->getViewManager();
   119     return iApplication->getViewManager();
   120 }
   120 }
   121 
   121 
   122 void IRBaseView::popupNote(const QString &aNote, const HbMessageBox::MessageBoxType &aNoteType) const
   122 void IRBaseView::popupNote(const QString &aNote, const HbMessageBox::MessageBoxType &aNoteType) const
   123 {
   123 {
   124     HbMessageBox note(aNote, aNoteType);
   124     switch (aNoteType)
   125     note.exec();
   125     {
       
   126     case HbMessageBox::MessageTypeInformation:
       
   127         HbMessageBox::information(aNote, (QObject*)NULL, NULL);
       
   128         break;
       
   129         
       
   130     case HbMessageBox::MessageTypeWarning:
       
   131         HbMessageBox::warning(aNote, (QObject*)NULL, NULL);
       
   132         break;
       
   133         
       
   134     default:
       
   135         break;
       
   136     }
   126 }
   137 }