homescreenapp/hsutils/inc/hstrashbinwidget.h
changeset 35 f9ce957a272c
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:  Trash bin widget.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef HSTRASHBINWIDGET_H
       
    19 #define HSTRASHBINWIDGET_H
       
    20 
       
    21 #include <hbwidget.h>
       
    22 
       
    23 #include "hsutils_global.h"
       
    24 #include "hstest_global.h"
       
    25 
       
    26 HOMESCREEN_TEST_CLASS(t_hsUtils)
       
    27 
       
    28 class HbIconItem;
       
    29 
       
    30 class HSUTILS_EXPORT HsTrashBinWidget : public HbWidget
       
    31 {
       
    32 	Q_OBJECT
       
    33 
       
    34 public:
       
    35     HsTrashBinWidget(QGraphicsItem *parent = 0);
       
    36 	virtual ~HsTrashBinWidget();
       
    37 
       
    38 public:
       
    39     void activate();
       
    40     void deactivate();
       
    41 
       
    42 private:
       
    43     HbIconItem *mIconItem;
       
    44     HbIcon *mNormalIcon;
       
    45     HbIcon *mHighlightIcon;
       
    46     bool mNormalIconVisible;
       
    47 
       
    48     HOMESCREEN_TEST_FRIEND_CLASS(t_hsUtils)
       
    49 };
       
    50  
       
    51 #endif // HSTRASHBINWIDGET_H