qtinternetradio/ui/src/irqsonghistoryinfo.cpp
changeset 17 38bbf2dcd608
equal deleted inserted replaced
16:5723da102db1 17:38bbf2dcd608
       
     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:
       
    15 *
       
    16 */
       
    17 #include "irqsonghistoryinfo.h"
       
    18 
       
    19 void IRQSongInfo::setSongName(const QString& aName)
       
    20 {
       
    21     iSongName = aName;
       
    22 }
       
    23 
       
    24 const QString& IRQSongInfo::getSongName() const
       
    25 {
       
    26     return iSongName;
       
    27 }
       
    28 
       
    29 void IRQSongInfo::setArtistName(const QString& aArtist)
       
    30 {
       
    31     iSongArtist = aArtist;
       
    32 }
       
    33 
       
    34 void IRQSongInfo::setStationName(const QString& aStationName)
       
    35 {
       
    36     iStationName = aStationName;
       
    37 }
       
    38 
       
    39 const QString& IRQSongInfo::getArtistName() const
       
    40 {
       
    41     return iSongArtist;
       
    42 }
       
    43 
       
    44 const QString& IRQSongInfo::getStationName() const
       
    45 {
       
    46     return iStationName;
       
    47 }
       
    48 void IRQSongInfo::setMusicshopStatus(const QString& aStatus)
       
    49 {
       
    50     iMusicshopStatus = aStatus;
       
    51 }
       
    52 
       
    53 const QString& IRQSongInfo::getMusicshopStatus() const
       
    54 {
       
    55     return iMusicshopStatus;
       
    56 }
       
    57 
       
    58 void IRQSongInfo::setChannelID(const QString& aChannelID)
       
    59 {
       
    60     iChannelID = aChannelID;
       
    61 }
       
    62 
       
    63 const QString& IRQSongInfo::getChannelID() const
       
    64 {
       
    65     return iChannelID;
       
    66 }
       
    67 
       
    68 void IRQSongInfo::setAllInfo(const QString& aStationName, const QString& aSongName, const QString& aArtist, const QString& aStatus, const QString& aChannelID)
       
    69 {
       
    70     iStationName = aStationName;
       
    71     iSongName =   aSongName;
       
    72     iSongArtist = aArtist;    
       
    73     iMusicshopStatus = aStatus;
       
    74     iChannelID = aChannelID;
       
    75 }
       
    76 
       
    77 
       
    78