taskswitcherapp/tsdevicedialogplugin/inc/tsmodelitem.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: tsmodelitem.h
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TSMODELITEM_H
       
    19 #define TSMODELITEM_H
       
    20 #include <QVariant>
       
    21 #include <QModelIndex>
       
    22 /*!
       
    23     Abstract class which define model item for taskswitcher
       
    24 */
       
    25 class TsModelItem: public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30     virtual QVariant data(int role) const =0;
       
    31     virtual void close() =0;
       
    32     virtual void open() =0;
       
    33 };
       
    34 
       
    35 #endif // TSMODELITEM_H