From e5e3adc58f112d9d567692c0738c825d124bd0c8 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sat, 6 Nov 2004 14:24:40 +0000 Subject: [PATCH] Since these headers weren't even usable when installed, might as well go ahead and remove the deprecated crap... git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@360969 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ape/apeitem.cpp | 5 ----- ape/apeitem.h | 5 ----- ape/apetag.cpp | 5 ----- ape/apetag.h | 6 ------ 4 files changed, 21 deletions(-) diff --git a/ape/apeitem.cpp b/ape/apeitem.cpp index 1f8c4ba3..aba4063c 100644 --- a/ape/apeitem.cpp +++ b/ape/apeitem.cpp @@ -147,11 +147,6 @@ void APE::Item::parse(const ByteVector &data) d->text = StringList(ByteVectorList::split(d->value, '\0'), String::UTF8); } -ByteVector APE::Item::render() -{ - return const_cast(this)->render(); -} - ByteVector APE::Item::render() const { ByteVector data; diff --git a/ape/apeitem.h b/ape/apeitem.h index 72226a97..f0a1d16a 100644 --- a/ape/apeitem.h +++ b/ape/apeitem.h @@ -100,11 +100,6 @@ namespace TagLib { */ StringList toStringList() const; - /*! - * \deprecated Use the const version. - */ - ByteVector render(); - /*! * Render the item to a ByteVector. */ diff --git a/ape/apetag.cpp b/ape/apetag.cpp index 49260157..3fecad8b 100644 --- a/ape/apetag.cpp +++ b/ape/apetag.cpp @@ -238,11 +238,6 @@ ByteVector APE::Tag::render() const return d->footer.renderHeader() + data + d->footer.renderFooter(); } -void APE::Tag::parse(const ByteVector &data, uint) -{ - parse(data); -} - void APE::Tag::parse(const ByteVector &data) { uint pos = 0; diff --git a/ape/apetag.h b/ape/apetag.h index d715e64d..0d631b58 100644 --- a/ape/apetag.h +++ b/ape/apetag.h @@ -40,7 +40,6 @@ namespace TagLib { class Footer; - /*! * A mapping between a list of item names, or keys, and the associated item. * @@ -140,11 +139,6 @@ namespace TagLib { * Reads from the file specified in the constructor. */ void read(); - /*! - * Parses the body of the tag in \a data with \a count items. - * \deprecated Please use the version that doesn't require an item count. - */ - void parse(const ByteVector &data, uint count); /*! * Parses the body of the tag in \a data.