summaryrefslogtreecommitdiffstats
path: root/kalzium/src/tempunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/tempunit.cpp')
-rw-r--r--kalzium/src/tempunit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kalzium/src/tempunit.cpp b/kalzium/src/tempunit.cpp
index a4e18ef7..bab2461c 100644
--- a/kalzium/src/tempunit.cpp
+++ b/kalzium/src/tempunit.cpp
@@ -94,40 +94,40 @@ TQString TempUnit::unitListSymbol( int i )
return l[i];
}
-QPair<double, double> TempUnit::rangeForUnit( TempUnit::Unit u )
+TQPair<double, double> TempUnit::rangeForUnit( TempUnit::Unit u )
{
switch( u )
{
case Kelvin:
{
- return QPair<double, double>( 0.0, 5000.0 );
+ return TQPair<double, double>( 0.0, 5000.0 );
break;
}
case Celsius:
{
- return QPair<double, double>( -273.16, 4726.84 );
+ return TQPair<double, double>( -273.16, 4726.84 );
break;
}
case Fahrenheit:
{
- return QPair<double, double>( -459.67, 8540.33 );
+ return TQPair<double, double>( -459.67, 8540.33 );
break;
}
case Rankine:
{
- return QPair<double, double>( 0.0, 9000.0 );
+ return TQPair<double, double>( 0.0, 9000.0 );
break;
}
case Reaumur:
{
- return QPair<double, double>( -218.52, 3781.48 );
+ return TQPair<double, double>( -218.52, 3781.48 );
break;
}
}
- return QPair<double, double>( 0.0, 5000.0 );
+ return TQPair<double, double>( 0.0, 5000.0 );
}
-QPair<double, double> TempUnit::rangeForUnit( int u )
+TQPair<double, double> TempUnit::rangeForUnit( int u )
{
return rangeForUnit( (TempUnit::Unit)u );
}