videocollection/tsrc/stubs/src/videoproxymodelcollections.cpp
changeset 62 0e1e938beb1a
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
       
     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: VideoProxyModelCollections implementation
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <vcxmyvideosdefs.h>
       
    22 #include "videoproxymodeldata.h"
       
    23 #include "videoproxymodelcollections.h"
       
    24 #include "videolistdatamodel.h"
       
    25 #include "videocollectiontrace.h"
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // VideoProxyModelCollections::VideoProxyModelCollections
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 VideoProxyModelCollections::VideoProxyModelCollections(QObject *parent) :
       
    32 VideoProxyModelGeneric(parent)
       
    33 {
       
    34 	mDefaultSortRole = VideoCollectionCommon::KeyTitle;
       
    35 }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // VideoProxyModelCollections::~VideoProxyModelCollections
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 VideoProxyModelCollections::~VideoProxyModelCollections()
       
    42 {
       
    43 	
       
    44 }
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // VideoProxyModelCollections::lessThan
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 bool VideoProxyModelCollections::lessThan(const QModelIndex &left,
       
    51     const QModelIndex &right) const
       
    52 {
       
    53     Q_UNUSED(left);
       
    54     Q_UNUSED(right);
       
    55     return true;
       
    56 }
       
    57 // -----------------------------------------------------------------------------
       
    58 // VideoProxyModelCollections::filterAcceptsRow
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 bool VideoProxyModelCollections::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
       
    62 {
       
    63     Q_UNUSED(source_parent);
       
    64     Q_UNUSED(source_row);
       
    65     return true;
       
    66 }
       
    67 
       
    68 // End of file