summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:34:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:34:02 -0600
commit96842585886a67c6ab4e2cf83bc69e6156ee2c11 (patch)
tree525102d4e6980878fb2f3ae6ea448a6425c015fc /kioslave
parent58284d8f7334ed4da083d197b854e73edf8b294b (diff)
downloadtdemultimedia-96842585886a67c6ab4e2cf83bc69e6156ee2c11.tar.gz
tdemultimedia-96842585886a67c6ab4e2cf83bc69e6156ee2c11.zip
Rename additional global TQt functions
Diffstat (limited to 'kioslave')
-rw-r--r--kioslave/audiocd/audiocd.cpp8
-rw-r--r--kioslave/audiocd/plugins/flac/encoderflac.cpp2
-rw-r--r--kioslave/audiocd/plugins/vorbis/encodervorbis.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/kioslave/audiocd/audiocd.cpp b/kioslave/audiocd/audiocd.cpp
index c41a6543..bd65d49d 100644
--- a/kioslave/audiocd/audiocd.cpp
+++ b/kioslave/audiocd/audiocd.cpp
@@ -885,13 +885,13 @@ void AudioCDProtocol::paranoiaRead(
diff = (diff*(unsigned long)((100/(float)end)*(end-cur)))/2;
// Need 1% of data calculated as initial buffer, use %2 to be safe
if( percentDone < .02 ){
- //qDebug("val: %f, diff: %ld", ((float)cur/(float)end), diff);
+ //tqDebug("val: %f, diff: %ld", ((float)cur/(float)end), diff);
diff = 0;
}
// We are growing larger, increase total.
if(lastSize < estSize){
- //qDebug("lastGuess: %ld, guess: %ld diff: %ld", lastSize, estSize, diff);
+ //tqDebug("lastGuess: %ld, guess: %ld diff: %ld", lastSize, estSize, diff);
totalSize(estSize+diff);
lastSize = estSize+diff;
}
@@ -902,7 +902,7 @@ void AudioCDProtocol::paranoiaRead(
margin = 7;
unsigned long low = lastSize - lastSize/margin;
if(estSize < low){
- //qDebug("low: %ld, estSize: %ld, num: %i", low, estSize, margin);
+ //tqDebug("low: %ld, estSize: %ld, num: %i", low, estSize, margin);
totalSize( estSize );
lastSize = estSize;
}
@@ -911,7 +911,7 @@ void AudioCDProtocol::paranoiaRead(
/**
* End estimation.
*/
- //qDebug("processed: %ld, totalSize: %ld", processed, estSize);
+ //tqDebug("processed: %ld, totalSize: %ld", processed, estSize);
processedSize(processed);
}
diff --git a/kioslave/audiocd/plugins/flac/encoderflac.cpp b/kioslave/audiocd/plugins/flac/encoderflac.cpp
index dfb4f7ba..c208e659 100644
--- a/kioslave/audiocd/plugins/flac/encoderflac.cpp
+++ b/kioslave/audiocd/plugins/flac/encoderflac.cpp
@@ -199,7 +199,7 @@ void EncoderFLAC::fillSongInfo( KCDDB::CDInfo info, int track, const TQString &c
if (!comments[i].second.toString().isEmpty()) {
field = comments[i].first+"="+comments[i].second.toString();
cfield = field.utf8();
- entry.entry = (FLAC__byte*)qstrdup(cfield);
+ entry.entry = (FLAC__byte*)tqstrdup(cfield);
entry.length = cfield.length();
// Insert in vorbiscomment and assign ownership of pointers to FLAC
FLAC__metadata_object_vorbiscomment_insert_comment(d->metadata[0], num_comments, entry, false);
diff --git a/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp b/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
index 2caab8e5..5c88f844 100644
--- a/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
+++ b/kioslave/audiocd/plugins/vorbis/encodervorbis.cpp
@@ -321,8 +321,8 @@ void EncoderVorbis::fillSongInfo( KCDDB::CDInfo info, int track, const TQString
// if the value is not empty
if(!(*it).second.toString().isEmpty()) {
- char *key = qstrdup((*it).first);
- char *value = qstrdup((*it).second.toString().utf8().data());
+ char *key = tqstrdup((*it).first);
+ char *value = tqstrdup((*it).second.toString().utf8().data());
vorbis_comment_add_tag(&d->vc, key, value);