taskswitcherapp/tsdevicedialogplugin/inc/tstasksgriditem.h
branchGCC_SURGE
changeset 68 4c11ecddf6b2
parent 53 f75922b9e380
parent 61 2b1b11a301d2
equal deleted inserted replaced
53:f75922b9e380 68:4c11ecddf6b2
     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 #ifndef TSTASKSGRIDITEM_H
       
    18 #define TSTASKSGRIDITEM_H
       
    19 
       
    20 #include <hbabstractviewitem.h>
       
    21 
       
    22 class HbLabel;
       
    23 class HbPushButton;
       
    24 
       
    25 class TsTasksGridItem : public HbAbstractViewItem
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30     TsTasksGridItem();
       
    31     TsTasksGridItem(const TsTasksGridItem &item);
       
    32     ~TsTasksGridItem();
       
    33 
       
    34     HbAbstractViewItem *createItem();
       
    35     void updateChildItems();
       
    36 
       
    37 private slots:
       
    38     void handleDeleteClicked();
       
    39 
       
    40 signals:
       
    41     void deleteClicked(const QModelIndex &index);
       
    42 
       
    43 private:
       
    44     HbLabel *mScreenshotLabel;
       
    45     HbLabel *mApplicationNameLabel;
       
    46     HbPushButton *mDeleteButton;
       
    47 
       
    48 };
       
    49 
       
    50 #endif //TSTASKSGRIDITEM_H