homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsdeletecollectionstate.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 HSDELETECOLLECTIONSTATE_H
       
    19 #define HSDELETECOLLECTIONSTATE_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 HsDeleteCollectionState: public QState
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    34 
       
    35 public:
       
    36 
       
    37     HsDeleteCollectionState(QState *parent = 0);
       
    38     virtual ~HsDeleteCollectionState();
       
    39 
       
    40 protected:
       
    41     void onEntry(QEvent *event);
       
    42 
       
    43 private:
       
    44 
       
    45     /**
       
    46      * Constructs contained objects.
       
    47      *
       
    48      * @since S60 ?S60_version.
       
    49      */
       
    50     void construct();
       
    51 
       
    52     /**
       
    53      * Convenience method returning the shortcut service.
       
    54      *
       
    55      * @since S60 ?S60_version.
       
    56      * @return Shortcut Service.
       
    57      */
       
    58     HsShortcutService *shortcutService() const;
       
    59 
       
    60 };
       
    61 
       
    62 #endif //HSDELETECOLLECTIONSTATE_H