Changeset View
Changeset View
Standalone View
Standalone View
src/databaseinterface.h
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | 175 | { | |||
---|---|---|---|---|---|
176 | return operator[](key_type::ComposerRole).toString(); | 176 | return operator[](key_type::ComposerRole).toString(); | ||
177 | } | 177 | } | ||
178 | 178 | | |||
179 | QString lyricist() const | 179 | QString lyricist() const | ||
180 | { | 180 | { | ||
181 | return operator[](key_type::LyricistRole).toString(); | 181 | return operator[](key_type::LyricistRole).toString(); | ||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | QString comment() const | ||||
185 | { | ||||
186 | return operator[](key_type::CommentRole).toString(); | ||||
187 | } | ||||
188 | | ||||
189 | int year() const | ||||
190 | { | ||||
191 | return operator[](key_type::YearRole).toInt(); | ||||
192 | } | ||||
193 | | ||||
194 | int channels() const | ||||
195 | { | ||||
196 | return operator[](key_type::ChannelsRole).toInt(); | ||||
197 | } | ||||
198 | | ||||
199 | int bitRate() const | ||||
200 | { | ||||
201 | return operator[](key_type::BitRateRole).toInt(); | ||||
202 | } | ||||
203 | | ||||
204 | int sampleRate() const | ||||
205 | { | ||||
206 | return operator[](key_type::SampleRateRole).toInt(); | ||||
207 | } | ||||
208 | | ||||
184 | bool hasEmbeddedCover() const | 209 | bool hasEmbeddedCover() const | ||
185 | { | 210 | { | ||
186 | return operator[](key_type::HasEmbeddedCover).toBool(); | 211 | return operator[](key_type::HasEmbeddedCover).toBool(); | ||
187 | } | 212 | } | ||
188 | 213 | | |||
189 | QDateTime fileModificationTime() const | 214 | QDateTime fileModificationTime() const | ||
190 | { | 215 | { | ||
191 | return operator[](key_type::FileModificationTime).toDateTime(); | 216 | return operator[](key_type::FileModificationTime).toDateTime(); | ||
▲ Show 20 Lines • Show All 339 Lines • Show Last 20 Lines |