99
|
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: tsentrymodelitem.h
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef TSENTRYMODELITEM_H
|
|
19 |
#define TSENTRYMODELITEM_H
|
|
20 |
#include "tsmodelitem.h"
|
|
21 |
|
|
22 |
#include <qsharedpointer.h>
|
|
23 |
#include <qstring.h>
|
|
24 |
|
|
25 |
class TsTask;
|
|
26 |
|
|
27 |
/*!
|
|
28 |
Class implements model item which represents Content Arsenal entry
|
|
29 |
*/
|
|
30 |
class TsEntryModelItem : public TsModelItem
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
TsEntryModelItem(QSharedPointer<TsTask> entry);
|
|
34 |
~TsEntryModelItem();
|
|
35 |
QVariant data(int role) const;
|
|
36 |
void close();
|
|
37 |
void open();
|
|
38 |
|
|
39 |
private:
|
|
40 |
const QSharedPointer<TsTask> mEntry;
|
|
41 |
};
|
|
42 |
|
|
43 |
#endif // TSMODEL_H
|