summaryrefslogtreecommitdiffstats
path: root/src/metadata/asf/asffile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
commit6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 (patch)
tree6830f75fd57d0fac7e33c097ee98b210e90c5239 /src/metadata/asf/asffile.cpp
parent6318b8bb3ef964cfa99ba454a2630779cc9ac3ec (diff)
downloadsoundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.tar.gz
soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.zip
TQt4 port soundkonverter
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1239038 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/metadata/asf/asffile.cpp')
-rw-r--r--src/metadata/asf/asffile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/metadata/asf/asffile.cpp b/src/metadata/asf/asffile.cpp
index 55a12cc..bbe5ee5 100644
--- a/src/metadata/asf/asffile.cpp
+++ b/src/metadata/asf/asffile.cpp
@@ -325,7 +325,7 @@ ASF::File::HeaderExtensionObject::parse(ASF::File *file, uint /*size*/)
long long dataPos = 0;
while(dataPos < dataSize) {
ByteVector guid = file->readBlock(16);
- long long size = file->readQWORD();
+ long long size = file->readTQWORD();
BaseObject *obj;
if(guid == metadataGuid) {
obj = new MetadataObject();
@@ -401,13 +401,13 @@ void ASF::File::read(bool /*readProperties*/, Properties::ReadStyle /*properties
d->tag = new ASF::Tag();
d->properties = new ASF::Properties();
- d->size = readQWORD();
+ d->size = readTQWORD();
int numObjects = readDWORD();
seek(2, Current);
for(int i = 0; i < numObjects; i++) {
ByteVector guid = readBlock(16);
- long size = (long)readQWORD();
+ long size = (long)readTQWORD();
BaseObject *obj;
if(guid == filePropertiesGuid) {
obj = new FilePropertiesObject();
@@ -513,7 +513,7 @@ unsigned int ASF::File::readDWORD()
return v.toUInt(false);
}
-long long ASF::File::readQWORD()
+long long ASF::File::readTQWORD()
{
ByteVector v = readBlock(8);
return v.toLongLong(false);