diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:34:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:34:02 -0600 |
commit | 96842585886a67c6ab4e2cf83bc69e6156ee2c11 (patch) | |
tree | 525102d4e6980878fb2f3ae6ea448a6425c015fc /juk | |
parent | 58284d8f7334ed4da083d197b854e73edf8b294b (diff) | |
download | tdemultimedia-96842585886a67c6ab4e2cf83bc69e6156ee2c11.tar.gz tdemultimedia-96842585886a67c6ab4e2cf83bc69e6156ee2c11.zip |
Rename additional global TQt functions
Diffstat (limited to 'juk')
-rw-r--r-- | juk/cache.cpp | 8 | ||||
-rw-r--r-- | juk/tag.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/juk/cache.cpp b/juk/cache.cpp index 6cfed63f..34d59b46 100644 --- a/juk/cache.cpp +++ b/juk/cache.cpp @@ -84,7 +84,7 @@ void Cache::save() TQDataStream fs(&f); - TQ_INT32 checksum = qChecksum(data.data(), data.size()); + TQ_INT32 checksum = tqChecksum(data.data(), data.size()); fs << TQ_INT32(m_currentVersion) << checksum @@ -120,7 +120,7 @@ void Cache::loadPlaylists(PlaylistCollection *collection) // static TQ_UINT16 checksum; fs >> checksum >> data; - if(checksum != qChecksum(data.data(), data.size())) + if(checksum != tqChecksum(data.data(), data.size())) return; // Create a new stream just based on the data. @@ -244,7 +244,7 @@ void Cache::savePlaylists(const PlaylistList &playlists) TQDataStream fs(&f); fs << TQ_INT32(playlistCacheVersion); - fs << qChecksum(data.data(), data.size()); + fs << tqChecksum(data.data(), data.size()); fs << data; f.close(); @@ -297,7 +297,7 @@ void Cache::load() buffer.open(IO_ReadOnly); s.setDevice(&buffer); - if(checksum != qChecksum(data.data(), data.size())) { + if(checksum != tqChecksum(data.data(), data.size())) { KMessageBox::sorry(0, i18n("The music data cache has been corrupted. JuK " "needs to rescan it now. This may take some time.")); return; diff --git a/juk/tag.cpp b/juk/tag.cpp index 27f0a91c..08a717ea 100644 --- a/juk/tag.cpp +++ b/juk/tag.cpp @@ -54,9 +54,9 @@ Tag::Tag(const TQString &fileName) : m_bitrate(0), m_isValid(false) { - // using qDebug here since we want this to show up in non-debug builds as well + // using tqDebug here since we want this to show up in non-debug builds as well - qDebug("Reading tag for %s", fileName.local8Bit().data()); + tqDebug("Reading tag for %s", fileName.local8Bit().data()); if(MediaFiles::isMP3(fileName)) { TagLib::MPEG::File file(TQFile::encodeName(fileName).data()); |