mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/stub/src/mpcollectiontbonelistdatamodel.cpp
equal
deleted
inserted
replaced
|
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: Music Player collection abstract data model (for TBone) stub |
|
15 * for testing mpcollectioncontainers. |
|
16 * |
|
17 */ |
|
18 |
|
19 #include "stub/inc/mpcollectiontbonelistdatamodel.h" |
|
20 #include "stub/inc/mpmpxcollectiondata.h" |
|
21 #include "mptrace.h" |
|
22 |
|
23 /*! |
|
24 Stub function |
|
25 */ |
|
26 MpCollectionTBoneListDataModel::MpCollectionTBoneListDataModel(MpMpxCollectionData *collectionData, |
|
27 MpPlaybackData *playbackData, QObject *parent ) |
|
28 : QAbstractListModel(parent) |
|
29 { |
|
30 Q_UNUSED(collectionData); |
|
31 Q_UNUSED(playbackData); |
|
32 } |
|
33 |
|
34 /*! |
|
35 Stub function |
|
36 */ |
|
37 MpCollectionTBoneListDataModel::~MpCollectionTBoneListDataModel() |
|
38 { |
|
39 } |
|
40 |
|
41 /*! |
|
42 Stub function |
|
43 */ |
|
44 int MpCollectionTBoneListDataModel::rowCount( const QModelIndex &parent ) const |
|
45 { |
|
46 Q_UNUSED(parent); |
|
47 return 0; |
|
48 } |
|
49 |
|
50 /*! |
|
51 Stub function |
|
52 */ |
|
53 QVariant MpCollectionTBoneListDataModel::data(const QModelIndex &index, int role) const |
|
54 { |
|
55 Q_UNUSED(index); |
|
56 Q_UNUSED(role); |
|
57 return QVariant();; |
|
58 } |
|
59 |