144 Returns the song genre. |
144 Returns the song genre. |
145 */ |
145 */ |
146 QString MpSongDataPrivate::genre() const |
146 QString MpSongDataPrivate::genre() const |
147 { |
147 { |
148 TX_LOG |
148 TX_LOG |
149 QString localizedString(mGenre); |
149 return mGenre; |
150 |
|
151 if ( mGenre == "Acoustic" ) { |
|
152 localizedString = hbTrId( "txt_mus_dblist_genre_val_acoustic" ); |
|
153 } |
|
154 else if ( mGenre == "Alternative" ) { |
|
155 localizedString = hbTrId( "txt_mus_dblist_genre_val_alternative" ); |
|
156 } |
|
157 else if ( mGenre == "Blues" ) { |
|
158 localizedString = hbTrId( "txt_mus_dblist_genre_val_blues" ); |
|
159 } |
|
160 else if ( mGenre == "Classical" ) { |
|
161 localizedString = hbTrId( "txt_mus_dblist_genre_val_classical" ); |
|
162 } |
|
163 else if ( mGenre == "Country" ) { |
|
164 localizedString = hbTrId( "txt_mus_dblist_genre_val_country" ); |
|
165 } |
|
166 else if ( mGenre == "Dance" ) { |
|
167 localizedString = hbTrId( "txt_mus_dblist_genre_val_dance" ); |
|
168 } |
|
169 else if ( mGenre == "Easy Listening" ) { |
|
170 localizedString = hbTrId( "txt_mus_dblist_genre_val_easy_listening" ); |
|
171 } |
|
172 else if ( mGenre == "Electronic" ) { |
|
173 localizedString = hbTrId( "txt_mus_dblist_genre_val_electronic" ); |
|
174 } |
|
175 else if ( mGenre == "Folk" ) { |
|
176 localizedString = hbTrId( "txt_mus_dblist_genre_val_folk" ); |
|
177 } |
|
178 else if ( mGenre == "Hip-Hop" ) { |
|
179 localizedString = hbTrId( "txt_mus_dblist_genre_val_hiphop" ); |
|
180 } |
|
181 else if ( mGenre == "Jazz" ) { |
|
182 localizedString = hbTrId( "txt_mus_dblist_genre_val_jazz" ); |
|
183 } |
|
184 else if ( mGenre == "Latin" ) { |
|
185 localizedString = hbTrId( "txt_mus_dblist_genre_val_latin" ); |
|
186 } |
|
187 else if ( mGenre == "Metal" ) { |
|
188 localizedString = hbTrId( "txt_mus_dblist_genre_val_metal" ); |
|
189 } |
|
190 else if ( mGenre == "New Age" ) { |
|
191 localizedString = hbTrId( "txt_mus_dblist_genre_val_new_age" ); |
|
192 } |
|
193 else if ( mGenre == "Other" ) { |
|
194 localizedString = hbTrId( "txt_mus_dblist_genre_val_other" ); |
|
195 } |
|
196 else if ( mGenre == "Pop" ) { |
|
197 localizedString = hbTrId( "txt_mus_dblist_genre_val_pop" ); |
|
198 } |
|
199 else if ( mGenre == "R&B" ) { |
|
200 localizedString = hbTrId( "txt_mus_dblist_genre_val_rb" ); |
|
201 } |
|
202 else if ( mGenre == "Rap" ) { |
|
203 localizedString = hbTrId( "txt_mus_dblist_genre_val_rap" ); |
|
204 } |
|
205 else if ( mGenre == "Reggae" ) { |
|
206 localizedString = hbTrId( "txt_mus_dblist_genre_val_reggae" ); |
|
207 } |
|
208 else if ( mGenre == "Rock" ) { |
|
209 localizedString = hbTrId( "txt_mus_dblist_genre_val_rock" ); |
|
210 } |
|
211 else if ( mGenre == "Soundtrack" ) { |
|
212 localizedString = hbTrId( "txt_mus_dblist_genre_val_soundtrack" ); |
|
213 } |
|
214 else if ( mGenre == "Spoken" ) { |
|
215 localizedString = hbTrId( "txt_mus_dblist_genre_val_spoken" ); |
|
216 } |
|
217 else if ( mGenre == "World" ) { |
|
218 localizedString = hbTrId( "txt_mus_dblist_genre_val_world" ); |
|
219 } |
|
220 TX_EXIT_ARGS( "Logical String = " << localizedString ); |
|
221 return localizedString; |
|
222 } |
150 } |
223 |
151 |
224 /*! |
152 /*! |
225 Returns the song composer. |
153 Returns the song composer. |
226 */ |
154 */ |