summaryrefslogtreecommitdiffstats
path: root/libk3b/tools/k3bwavefilewriter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/tools/k3bwavefilewriter.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/tools/k3bwavefilewriter.cpp')
-rw-r--r--libk3b/tools/k3bwavefilewriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libk3b/tools/k3bwavefilewriter.cpp b/libk3b/tools/k3bwavefilewriter.cpp
index 36267c2..31ad6e0 100644
--- a/libk3b/tools/k3bwavefilewriter.cpp
+++ b/libk3b/tools/k3bwavefilewriter.cpp
@@ -29,7 +29,7 @@ K3bWaveFileWriter::~K3bWaveFileWriter()
}
-bool K3bWaveFileWriter::open( const QString& filename )
+bool K3bWaveFileWriter::open( const TQString& filename )
{
close();
@@ -65,7 +65,7 @@ void K3bWaveFileWriter::close()
}
}
- m_filename = QString::null;
+ m_filename = TQString();
}
@@ -75,7 +75,7 @@ bool K3bWaveFileWriter::isOpen()
}
-const QString& K3bWaveFileWriter::filename() const
+const TQString& K3bWaveFileWriter::filename() const
{
return m_filename;
}
@@ -135,8 +135,8 @@ void K3bWaveFileWriter::updateHeader()
m_outputFile.flush();
- Q_INT32 dataSize( m_outputFile.at() - 44 );
- Q_INT32 wavSize(dataSize + 44 - 8);
+ TQ_INT32 dataSize( m_outputFile.at() - 44 );
+ TQ_INT32 wavSize(dataSize + 44 - 8);
char c[4];
// jump to the wavSize position in the header