summaryrefslogtreecommitdiffstats
path: root/kalzium/src/kalziumutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/kalziumutils.cpp')
-rw-r--r--kalzium/src/kalziumutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/kalziumutils.cpp b/kalzium/src/kalziumutils.cpp
index 1522e495..d2b2baa8 100644
--- a/kalzium/src/kalziumutils.cpp
+++ b/kalzium/src/kalziumutils.cpp
@@ -38,7 +38,7 @@ int KalziumUtils::maxSize( const TQString& string, const TQRect& rect, TQFont fo
r = p->boundingRect( TQRect(), Qt::AlignAuto, string );
r.moveBy( rect.left(), rect.top() );
- if ( rect.contains( r ) )
+ if ( rect.tqcontains( r ) )
goodSizeFound = true;
else
size--;
@@ -69,7 +69,7 @@ double KalziumUtils::strippedValue( double num )
power *= 10;
num = num / power * 10000;
- num = qRound( num );
+ num = tqRound( num );
return num * power / 10000;
}