diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kalzium/src/tempunit.cpp | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/tempunit.cpp')
-rw-r--r-- | kalzium/src/tempunit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kalzium/src/tempunit.cpp b/kalzium/src/tempunit.cpp index 55d3630f..a4e18ef7 100644 --- a/kalzium/src/tempunit.cpp +++ b/kalzium/src/tempunit.cpp @@ -75,20 +75,20 @@ double TempUnit::convert( const double value, int from, int to ) return convert( value, (TempUnit::Unit)from, (TempUnit::Unit)to ); } -QStringList TempUnit::unitListSymbols() +TQStringList TempUnit::unitListSymbols() { - QStringList list; + TQStringList list; list << "K"; - list << QString::fromUtf8("°C"); - list << QString::fromUtf8("°F"); - list << QString::fromUtf8("°Ra"); - list << QString::fromUtf8("°R"); + list << TQString::fromUtf8("°C"); + list << TQString::fromUtf8("°F"); + list << TQString::fromUtf8("°Ra"); + list << TQString::fromUtf8("°R"); return list; } -QString TempUnit::unitListSymbol( int i ) +TQString TempUnit::unitListSymbol( int i ) { - QStringList l = unitListSymbols(); + TQStringList l = unitListSymbols(); if ( ( i < 0 ) || ( i >= (int)l.count() ) ) return l[0]; return l[i]; |