36 } |
36 } |
37 |
37 |
38 void Notifications::showAboutNote() |
38 void Notifications::showAboutNote() |
39 { |
39 { |
40 showMessageBox(HbMessageBox::MessageTypeInformation, |
40 showMessageBox(HbMessageBox::MessageTypeInformation, |
41 "Version 5.0.1 - 21st May 2010. Copyright © 2010 Nokia Corporation" |
41 "Version 5.1.0 - 18th June 2010. Copyright © 2010 Nokia Corporation" |
42 "and/or its subsidiary(-ies). All rights reserved." |
42 "and/or its subsidiary(-ies). All rights reserved." |
43 "Licensed under Eclipse Public License v1.0.", |
43 "Licensed under Eclipse Public License v1.0.", |
44 "About File Browser" |
44 "About File Browser" |
45 ); |
45 ); |
46 } |
46 } |
47 |
47 |
48 // --------------------------------------------------------------------------- |
48 // --------------------------------------------------------------------------- |
49 |
49 |
50 void Notifications::showInformationNote(const QString &text, const QString &title) |
50 void Notifications::showInformationNote(const QString &text, const QString &title) |
51 { |
51 { |
52 showMessageBox(HbMessageBox::MessageTypeInformation, text, title, false); |
52 showMessageBox(HbMessageBox::MessageTypeInformation, text, title, 3000); |
53 } |
53 } |
54 |
54 |
55 // --------------------------------------------------------------------------- |
55 // --------------------------------------------------------------------------- |
56 |
56 |
57 void Notifications::showErrorNote(const QString &text, bool noTimeout) |
57 void Notifications::showErrorNote(const QString &text, bool noTimeout) |
58 { |
58 { |
59 showMessageBox(HbMessageBox::MessageTypeWarning, text, "", noTimeout ? HbPopup::NoTimeout : HbPopup::StandardTimeout); |
59 showMessageBox(HbMessageBox::MessageTypeWarning, text, "", |
|
60 noTimeout ? HbPopup::NoTimeout : 3000 /*HbPopup::StandardTimeout*/); |
60 } |
61 } |
61 |
62 |
62 // --------------------------------------------------------------------------- |
63 // --------------------------------------------------------------------------- |
63 |
64 |
64 void Notifications::showConfirmationNote(const QString &text, bool noTimeout) |
65 void Notifications::showConfirmationNote(const QString &text, bool noTimeout) |
65 { |
66 { |
66 showMessageBox(HbMessageBox::MessageTypeWarning, text, "", noTimeout ? HbPopup::NoTimeout : HbPopup::ConfirmationNoteTimeout); |
67 showMessageBox(HbMessageBox::MessageTypeInformation, text, "", |
|
68 noTimeout ? HbPopup::NoTimeout : 3000 /*HbPopup::ConfirmationNoteTimeout*/); |
67 } |
69 } |
68 |
70 |
69 // --------------------------------------------------------------------------- |
71 // --------------------------------------------------------------------------- |
70 |
72 |
71 bool Notifications::showConfirmationQuery(const QString &aText) |
73 bool Notifications::showConfirmationQuery(const QString &aText) |