summaryrefslogtreecommitdiffstats
path: root/kabc/geo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/geo.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/geo.cpp')
-rw-r--r--kabc/geo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/geo.cpp b/kabc/geo.cpp
index 2380f2061..44f9851e4 100644
--- a/kabc/geo.cpp
+++ b/kabc/geo.cpp
@@ -18,7 +18,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <qdatastream.h>
+#include <tqdatastream.h>
#include "geo.h"
@@ -88,17 +88,17 @@ bool Geo::operator!=( const Geo &g ) const
return true;
}
-QString Geo::asString() const
+TQString Geo::asString() const
{
- return "(" + QString::number(mLatitude) + "," + QString::number(mLongitude) + ")";
+ return "(" + TQString::number(mLatitude) + "," + TQString::number(mLongitude) + ")";
}
-QDataStream &KABC::operator<<( QDataStream &s, const Geo &geo )
+TQDataStream &KABC::operator<<( TQDataStream &s, const Geo &geo )
{
return s << (float)geo.mLatitude << (float)geo.mLongitude;
}
-QDataStream &KABC::operator>>( QDataStream &s, Geo &geo )
+TQDataStream &KABC::operator>>( TQDataStream &s, Geo &geo )
{
s >> geo.mLatitude >> geo.mLongitude;