mirror of
https://github.com/taglib/taglib.git
synced 2025-11-12 20:52:52 -05:00
more API review
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@774207 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -147,6 +147,11 @@ StringList APE::Item::toStringList() const
|
||||
return d->text;
|
||||
}
|
||||
|
||||
StringList APE::Item::values() const
|
||||
{
|
||||
return d->text;
|
||||
}
|
||||
|
||||
String APE::Item::toString() const
|
||||
{
|
||||
return isEmpty() ? String::null : d->text.front();
|
||||
|
||||
@ -61,6 +61,7 @@ namespace TagLib {
|
||||
/*!
|
||||
* Constructs an item with \a key and \a value.
|
||||
*/
|
||||
// BIC: Remove this, StringList has a constructor from a single string
|
||||
Item(const String &key, const String &value);
|
||||
|
||||
/*!
|
||||
@ -143,10 +144,16 @@ namespace TagLib {
|
||||
String toString() const;
|
||||
|
||||
/*!
|
||||
* Returns the value as a string list.
|
||||
* \deprecated
|
||||
* \see values
|
||||
*/
|
||||
StringList toStringList() const;
|
||||
|
||||
/*!
|
||||
* Returns the list of values.
|
||||
*/
|
||||
StringList values() const;
|
||||
|
||||
/*!
|
||||
* Render the item to a ByteVector.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user