homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsdeletecollectionitemstate.h
changeset 35 f9ce957a272c
child 46 23b5d6a29cce
equal deleted inserted replaced
5:c743ef5928ba 35:f9ce957a272c
       
     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 HSDELETECOLLECTIONITEMSTATE_H
       
    19 #define HSDELETECOLLECTIONITEMSTATE_H
       
    20 
       
    21 #include <QState>
       
    22 
       
    23 #include "hsmenustates_global.h"
       
    24 HS_STATES_TEST_CLASS(MenuStatesTest)
       
    25 
       
    26 class HsShortcutService;
       
    27 class HsMenuService;
       
    28 
       
    29 class HsDeleteCollectionItemState: public QState
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    34 
       
    35 public:
       
    36 
       
    37     HsDeleteCollectionItemState(QState *parent = 0);
       
    38 
       
    39     virtual ~HsDeleteCollectionItemState();
       
    40 
       
    41 protected:
       
    42 
       
    43     void onEntry(QEvent *event);
       
    44 
       
    45 private:
       
    46 
       
    47     /**
       
    48      * Constructs contained objects.
       
    49      *
       
    50      * @since S60 ?S60_version.
       
    51      */
       
    52     void construct();
       
    53 
       
    54 };
       
    55 
       
    56 #endif //HSDELETECOLLECTIONITEMSTATE_H