|
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: VideoProxyModelAllVideos implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <vcxmyvideosdefs.h> |
|
22 #include "videoproxymodeldata.h" |
|
23 #include "videoproxymodelallvideos.h" |
|
24 #include "videolistdatamodel.h" |
|
25 #include "videocollectiontrace.h" |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // VideoProxyModelAllVideos::VideoProxyModelGeneric |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 VideoProxyModelAllVideos::VideoProxyModelAllVideos(QObject *parent) : |
|
32 VideoProxyModelGeneric(parent) |
|
33 { |
|
34 |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // VideoProxyModelAllVideos::~VideoProxyModelAllVideos |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 VideoProxyModelAllVideos::~VideoProxyModelAllVideos() |
|
42 { |
|
43 |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // VideoProxyModelAllVideos::filterAcceptsRow |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 bool VideoProxyModelAllVideos::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const |
|
51 { |
|
52 Q_UNUSED(source_row); |
|
53 Q_UNUSED(source_parent); |
|
54 return true; |
|
55 } |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // VideoProxyModelAllVideos::getOpenItem() |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 TMPXItemId VideoProxyModelAllVideos::getOpenItem() const |
|
62 { |
|
63 return VideoProxyModelData::mOpenedItemId; |
|
64 } |
|
65 |
|
66 // End of file |