mpviewplugins/mpcollectionviewplugin/inc/mpcollectioncontainerplaylists.h
branchRCL_3
changeset 52 14979e23cb5e
equal deleted inserted replaced
50:26a1709b9fec 52:14979e23cb5e
       
     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 container definition - Playlists.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPCOLLECTIONCONTAINERPLAYLISTS_H
       
    19 #define MPCOLLECTIONCONTAINERPLAYLISTS_H
       
    20 
       
    21 #include "mpcollectionlistcontainer.h"
       
    22 
       
    23 
       
    24 class MpCollectionContainerPlaylists : public MpCollectionListContainer
       
    25 {
       
    26     Q_OBJECT
       
    27 
       
    28 public:
       
    29 
       
    30     explicit MpCollectionContainerPlaylists( HbDocumentLoader *loader, QGraphicsItem *parent=0 );
       
    31     virtual ~MpCollectionContainerPlaylists();
       
    32 
       
    33     void setDataModel( MpCollectionDataModel *dataModel );
       
    34 
       
    35 public slots:
       
    36 
       
    37     void itemActivated( const QModelIndex &index );
       
    38     void dataReloaded();
       
    39 
       
    40 private:
       
    41 
       
    42     void setupContainer();
       
    43 
       
    44 private:
       
    45     int             mCurrentPlaylistIndex;
       
    46     
       
    47 };
       
    48 
       
    49 #endif  // MPCOLLECTIONCONTAINERPLAYLISTS_H
       
    50