Remove some deprecated methods from APE::Item

This commit is contained in:
Lukáš Lalinský 2012-09-30 10:42:38 +02:00
parent 231eb08396
commit 738e2ae7a7
3 changed files with 1 additions and 25 deletions

View File

@ -127,14 +127,6 @@ void APE::Item::setBinaryData(const ByteVector &value)
d->value = value;
}
ByteVector APE::Item::value() const
{
// This seems incorrect as it won't be actually rendering the value to keep it
// up to date.
return d->value;
}
void APE::Item::setKey(const String &key)
{
d->key = key;
@ -188,11 +180,6 @@ int APE::Item::size() const
return result;
}
StringList APE::Item::toStringList() const
{
return d->text;
}
StringList APE::Item::values() const
{
return d->text;

View File

@ -61,7 +61,6 @@ namespace TagLib {
/*!
* Constructs a text 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);
/*!
@ -107,11 +106,6 @@ namespace TagLib {
*/
void setBinaryData(const ByteVector &value);
#ifndef DO_NOT_DOCUMENT
/* Remove in next binary incompatible release */
ByteVector value() const;
#endif
/*!
* Sets the key for the item to \a key.
*/
@ -157,11 +151,6 @@ namespace TagLib {
*/
String toString() const;
#ifndef DO_NOT_DOCUMENT
/* Remove in next binary incompatible release */
StringList toStringList() const;
#endif
/*!
* Returns the list of text values.
*/

View File

@ -199,7 +199,7 @@ PropertyMap APE::Tag::properties() const
for(uint i = 0; i < keyConversionsSize; ++i)
if(tagName == keyConversions[i][1])
tagName = keyConversions[i][0];
properties[tagName].append(it->second.toStringList());
properties[tagName].append(it->second.values());
}
}
return properties;