summaryrefslogtreecommitdiffstats
path: root/kcalc/stats.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kcalc/stats.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/stats.cpp')
-rw-r--r--kcalc/stats.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcalc/stats.cpp b/kcalc/stats.cpp
index 909bed6..45da5c3 100644
--- a/kcalc/stats.cpp
+++ b/kcalc/stats.cpp
@@ -64,7 +64,7 @@ void KStats::clearLast(void) {
KNumber KStats::sum(void) {
KNumber result = 0;
- QValueVector<KNumber>::iterator p;
+ TQValueVector<KNumber>::iterator p;
for(p = mData.begin(); p != mData.end(); ++p) {
result += *p;
@@ -94,7 +94,7 @@ KNumber KStats::median(void) {
return mData.at(0);
// need to copy mData-list, because sorting afterwards
- QValueVector<KNumber> tmp_mData(mData);
+ TQValueVector<KNumber> tmp_mData(mData);
qHeapSort(tmp_mData);
if( bound & 1) { // odd
@@ -113,7 +113,7 @@ KNumber KStats::std_kernel(void)
{
KNumber result = KNumber::Zero;
KNumber _mean;
- QValueVector<KNumber>::iterator p;
+ TQValueVector<KNumber>::iterator p;
_mean = mean();
@@ -128,7 +128,7 @@ KNumber KStats::std_kernel(void)
KNumber KStats::sum_of_squares() {
KNumber result = 0;
- QValueVector<KNumber>::iterator p;
+ TQValueVector<KNumber>::iterator p;
for(p = mData.begin(); p != mData.end(); ++p) {
result += ((*p) * (*p));