homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsuinstallfailedstate.h
changeset 92 6727c5d0afc7
child 90 3ac3aaebaee5
equal deleted inserted replaced
85:35368b604b28 92:6727c5d0afc7
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSUINSTALLFAILEDSTATE_H_
       
    19 #define HSUINSTALLFAILEDSTATE_H_
       
    20 
       
    21 
       
    22 // System includes
       
    23 #include <QState>
       
    24 
       
    25 #include "hsmenustates_global.h"
       
    26 
       
    27 HS_STATES_TEST_CLASS(MenuStatesTest)
       
    28 
       
    29 class HbMessageBox;
       
    30 
       
    31 class HsUninstallFailedState: public QState
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    36 
       
    37 public:
       
    38 
       
    39     HsUninstallFailedState(QState *parent = 0);
       
    40 
       
    41     virtual ~HsUninstallFailedState();
       
    42 
       
    43 protected:
       
    44 
       
    45     void onEntry(QEvent *event);
       
    46     void onExit(QEvent *event);
       
    47 
       
    48 private slots:
       
    49 
       
    50     void stateExited();
       
    51     void cleanUp();
       
    52     
       
    53 signals:
       
    54 
       
    55     void exit();
       
    56 
       
    57 private:
       
    58 
       
    59     void construct();
       
    60 
       
    61 private:
       
    62 
       
    63     HbMessageBox *mBox;
       
    64 };
       
    65 
       
    66 #endif /* HSUINSTALLFAILEDSTATE_H_ */