filebrowser/ui/inc/notifications.h
changeset 24 6053b7ae82ab
parent 17 4f2773374eff
child 25 31fc1277642e
equal deleted inserted replaced
17:4f2773374eff 24:6053b7ae82ab
    20 
    20 
    21 //#include <hbdeviceprogressdialog.h>
    21 //#include <hbdeviceprogressdialog.h>
    22 #include <hbmessagebox.h>
    22 #include <hbmessagebox.h>
    23 
    23 
    24 class Notifications
    24 class Notifications
    25 {
    25     {
    26 public:
    26 public:
    27     
    27     
    28     static void showAboutNote();
    28     /**
       
    29      * shows about box
       
    30      */
       
    31     static void about();
    29     static void showMessageBox(HbMessageBox::MessageBoxType type, const QString &text, const QString &label, int timeout = HbPopup::NoTimeout);
    32     static void showMessageBox(HbMessageBox::MessageBoxType type, const QString &text, const QString &label, int timeout = HbPopup::NoTimeout);
    30     static void showInformationNote(const QString &text, const QString &title = QString());
    33     static void showInformationNote(const QString &text);
    31     static void showErrorNote(const QString &text, bool noTimeout = false);
    34     static void showErrorNote(const QString &text, bool noTimeout = false);
    32     static void showConfirmationNote(const QString &text, bool noTimeout = false);
    35     static void showConfirmationNote(const QString &text, bool noTimeout = false);
    33     static bool showConfirmationQuery(const QString &aText);
    36     static bool showConfirmationQuery(const QString &aText);
    34     
    37     
       
    38 //     /**
       
    39 //     * shows progressbar
       
    40 //     */
       
    41 //    static HbDeviceProgressDialog* showWaitDialog(const QString &text);
       
    42  
       
    43 private:
       
    44     
       
    45 //    /**
       
    46 //     * shows global HbGlobalCommonNote type note
       
    47 //     */
       
    48 //    static void showGlobalNote(const QString& text, HbCommonNote::NoteType type);
       
    49     
       
    50     };
    35 
    51 
    36 //    static HbDeviceProgressDialog* showWaitDialog(const QString &text);
       
    37 
    52 
    38 private:    
       
    39 };
       
    40 
    53 
    41 #endif // NOTIFICATIONS_H_
    54 #endif // NOTIFICATIONS_H_