|
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: VideoProxyModelContent implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "videoproxymodeldata.h" |
|
22 #include "videoproxymodelcontent.h" |
|
23 #include "videolistdatamodel.h" |
|
24 #include "videocollectiontrace.h" |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // VideoProxyModelContent::VideoProxyModelGeneric |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 VideoProxyModelContent::VideoProxyModelContent(QObject *parent) : |
|
31 VideoProxyModelGeneric(parent) |
|
32 { |
|
33 } |
|
34 |
|
35 // ----------------------------------------------------------------------------- |
|
36 // VideoProxyModelContent::~VideoProxyModelContent |
|
37 // ----------------------------------------------------------------------------- |
|
38 // |
|
39 VideoProxyModelContent::~VideoProxyModelContent() |
|
40 { |
|
41 |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // VideoProxyModelContent::connectSignals |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 bool VideoProxyModelContent::connectSignals() |
|
49 { |
|
50 return true; |
|
51 } |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // VideoProxyModelContent::disconnectSignals |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 void VideoProxyModelContent::disconnectSignals() |
|
58 { |
|
59 |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // VideoProxyModelContent::filterAcceptsRow |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 bool VideoProxyModelContent::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const |
|
67 { |
|
68 Q_UNUSED(source_row); |
|
69 Q_UNUSED(source_parent); |
|
70 return true; |
|
71 } |
|
72 |
|
73 // ----------------------------------------------------------------------------- |
|
74 // VideoProxyModelContent::getOpenItem() |
|
75 // ----------------------------------------------------------------------------- |
|
76 // |
|
77 TMPXItemId VideoProxyModelContent::getOpenItem() const |
|
78 { |
|
79 return VideoProxyModelData::mOpenedItemId; |
|
80 } |
|
81 |
|
82 // ----------------------------------------------------------------------------- |
|
83 // VideoProxyModelContent::albumChangedSlot() |
|
84 // ----------------------------------------------------------------------------- |
|
85 // |
|
86 void VideoProxyModelContent::albumChangedSlot() |
|
87 { |
|
88 |
|
89 } |
|
90 |
|
91 // End of file |