summaryrefslogtreecommitdiffstats
path: root/src/metadata/asf
diff options
context:
space:
mode:
Diffstat (limited to 'src/metadata/asf')
-rw-r--r--src/metadata/asf/asfattribute.cpp4
-rw-r--r--src/metadata/asf/asffile.cpp6
-rw-r--r--src/metadata/asf/asftag.cpp4
-rw-r--r--src/metadata/asf/asftag.h8
4 files changed, 12 insertions, 10 deletions
diff --git a/src/metadata/asf/asfattribute.cpp b/src/metadata/asf/asfattribute.cpp
index 5c83243..b73bd48 100644
--- a/src/metadata/asf/asfattribute.cpp
+++ b/src/metadata/asf/asfattribute.cpp
@@ -23,9 +23,11 @@
#include "asfattribute.h"
#include "asffile.h"
+#include "tqshared.h"
+
using namespace TagLib;
-class ASF::Attribute::AttributePrivate : public RefCounter
+class ASF::Attribute::AttributePrivate : public TQShared
{
public:
AttributePrivate()
diff --git a/src/metadata/asf/asffile.cpp b/src/metadata/asf/asffile.cpp
index bbe5ee5..3000007 100644
--- a/src/metadata/asf/asffile.cpp
+++ b/src/metadata/asf/asffile.cpp
@@ -252,7 +252,7 @@ ASF::File::ExtendedContentDescriptionObject::render(ASF::File *file)
{
data.clear();
data.append(ByteVector::fromShort(attributeData.size(), false));
- data.append(attributeData.toByteVector(ByteVector::null));
+ data.append(attributeData.toByteVector(ByteVector()));
return BaseObject::render(file);
}
@@ -279,7 +279,7 @@ ASF::File::MetadataObject::render(ASF::File *file)
{
data.clear();
data.append(ByteVector::fromShort(attributeData.size(), false));
- data.append(attributeData.toByteVector(ByteVector::null));
+ data.append(attributeData.toByteVector(ByteVector()));
return BaseObject::render(file);
}
@@ -306,7 +306,7 @@ ASF::File::MetadataLibraryObject::render(ASF::File *file)
{
data.clear();
data.append(ByteVector::fromShort(attributeData.size(), false));
- data.append(attributeData.toByteVector(ByteVector::null));
+ data.append(attributeData.toByteVector(ByteVector()));
return BaseObject::render(file);
}
diff --git a/src/metadata/asf/asftag.cpp b/src/metadata/asf/asftag.cpp
index 300887e..9056ee7 100644
--- a/src/metadata/asf/asftag.cpp
+++ b/src/metadata/asf/asftag.cpp
@@ -63,7 +63,7 @@ ASF::Tag::album() const
{
if(d->attributeListMap.contains("WM/AlbumTitle"))
return d->attributeListMap["WM/AlbumTitle"][0].toString();
- return String::null;
+ return String();
}
String
@@ -107,7 +107,7 @@ ASF::Tag::genre() const
{
if(d->attributeListMap.contains("WM/Genre"))
return d->attributeListMap["WM/Genre"][0].toString();
- return String::null;
+ return String();
}
void
diff --git a/src/metadata/asf/asftag.h b/src/metadata/asf/asftag.h
index f282dee..f33bd09 100644
--- a/src/metadata/asf/asftag.h
+++ b/src/metadata/asf/asftag.h
@@ -56,7 +56,7 @@ namespace TagLib {
/*!
* Returns the album name; if no album name is present in the tag
- * String::null will be returned.
+ * a null String will be returned.
*/
virtual String album() const;
@@ -66,7 +66,7 @@ namespace TagLib {
virtual String comment() const;
/*!
- * Returns the genre name; if no genre is present in the tag String::null
+ * Returns the genre name; if no genre is present in the tag a null String
* will be returned.
*/
virtual String genre() const;
@@ -77,7 +77,7 @@ namespace TagLib {
virtual String rating() const;
/*!
- * Returns the genre name; if no genre is present in the tag String::null
+ * Returns the genre name; if no genre is present in the tag a null String
* will be returned.
*/
virtual String copyright() const;
@@ -104,7 +104,7 @@ namespace TagLib {
virtual void setArtist(const String &s);
/*!
- * Sets the album to \a s. If \a s is String::null then this value will be
+ * Sets the album to \a s. If \a s is a null String then this value will be
* cleared.
*/
virtual void setAlbum(const String &s);