radioapp/radiouiengine/src/radiohistoryitem_p.cpp
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 19 afea38384506
parent 32 189d20c34778
equal deleted inserted replaced
26:6bcf277166c1 37:451b2e1545b2
    32 }
    32 }
    33 
    33 
    34 /*!
    34 /*!
    35  *
    35  *
    36  */
    36  */
       
    37 RadioHistoryItemPrivate::RadioHistoryItemPrivate( const RadioHistoryItemPrivate& other ) :
       
    38     QSharedData( other ),
       
    39     mId( other.mId ),
       
    40     mArtist( other.mArtist ),
       
    41     mTitle( other.mTitle ),
       
    42     mFrequency( other.mFrequency ),
       
    43     mTagged( other.mTagged ),
       
    44     mFromRds( other.mFromRds )
       
    45 {
       
    46 }
       
    47 
       
    48 /*!
       
    49  *
       
    50  */
    37 RadioHistoryItemPrivate::RadioHistoryItemPrivate( const QString& artist,
    51 RadioHistoryItemPrivate::RadioHistoryItemPrivate( const QString& artist,
    38                                                   const QString& title )
    52                                                   const QString& title )
    39 {
    53 {
    40     init( artist, title );
    54     init( artist, title );
    41 }
    55 }
    43 /*!
    57 /*!
    44  *
    58  *
    45  */
    59  */
    46 void RadioHistoryItemPrivate::init( const QString& artist, const QString& title )
    60 void RadioHistoryItemPrivate::init( const QString& artist, const QString& title )
    47 {
    61 {
    48     ref = 1;
       
    49     mId = -1;
    62     mId = -1;
    50     mArtist = artist;
    63     mArtist = artist;
    51     mTitle = title;
    64     mTitle = title;
    52     mFrequency = 0;
    65     mFrequency = 0;
    53     mTagged = false;
    66     mTagged = false;