diff options
Diffstat (limited to 'tdeabc/geo.cpp')
-rw-r--r-- | tdeabc/geo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeabc/geo.cpp b/tdeabc/geo.cpp index 44f9851e4..9883595a4 100644 --- a/tdeabc/geo.cpp +++ b/tdeabc/geo.cpp @@ -22,7 +22,7 @@ #include "geo.h" -using namespace KABC; +using namespace TDEABC; Geo::Geo() : mLatitude( 91 ), mLongitude( 181 ), mValidLat( false ), mValidLong( false ) @@ -93,12 +93,12 @@ TQString Geo::asString() const return "(" + TQString::number(mLatitude) + "," + TQString::number(mLongitude) + ")"; } -TQDataStream &KABC::operator<<( TQDataStream &s, const Geo &geo ) +TQDataStream &TDEABC::operator<<( TQDataStream &s, const Geo &geo ) { return s << (float)geo.mLatitude << (float)geo.mLongitude; } -TQDataStream &KABC::operator>>( TQDataStream &s, Geo &geo ) +TQDataStream &TDEABC::operator>>( TQDataStream &s, Geo &geo ) { s >> geo.mLatitude >> geo.mLongitude; |