summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/voicesignature.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /khotkeys/shared/voicesignature.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/shared/voicesignature.cpp')
-rw-r--r--khotkeys/shared/voicesignature.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khotkeys/shared/voicesignature.cpp b/khotkeys/shared/voicesignature.cpp
index 773f28731..4f4266b7e 100644
--- a/khotkeys/shared/voicesignature.cpp
+++ b/khotkeys/shared/voicesignature.cpp
@@ -154,14 +154,14 @@ static TQMemArray<double> fft(const Sound& sound, unsigned int start, unsigned i
{
samples[f]=sound.at(start2+rev_carry)* hamming(rev_carry, size);
// KDEBUG(rev_carry);
- int mask = size>>1; // N / 2
+ int tqmask = size>>1; // N / 2
// add 1 backwards
- while (rev_carry >= mask)
+ while (rev_carry >= tqmask)
{
- rev_carry -= mask; // turn off this bit
- mask >>= 1;
+ rev_carry -= tqmask; // turn off this bit
+ tqmask >>= 1;
}
- rev_carry += mask;
+ rev_carry += tqmask;
}
samples[size-1]=sound.at(start2+size-1)*hamming(size-1, size);