diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:26:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:26:45 -0600 |
commit | 45f3927b0ffec2599bc0e1ce361c5386474a85f4 (patch) | |
tree | 29e1842fe4d93f4e99481385a771e8bef061158b /tdeabc/geo.cpp | |
parent | 04105ef07304a9358e87eff0cb1a6d6f2a725192 (diff) | |
download | tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.tar.gz tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.zip |
Rename KABC namespace
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; |