equal
deleted
inserted
replaced
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 } |