summaryrefslogtreecommitdiffstats
path: root/kaddressbook/common
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 11:58:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 11:58:35 +0900
commitef5d32c49ddf0e3536e3a1a06f8fc84e56a8f42e (patch)
tree1b2d4c4e28e640b2a5415510afe926471ebaa759 /kaddressbook/common
parentaaf564ace324cba8f96be63c505293f3f893bcd8 (diff)
downloadtdepim-master.tar.gz
tdepim-master.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/common')
-rw-r--r--kaddressbook/common/locationmap.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/kaddressbook/common/locationmap.cpp b/kaddressbook/common/locationmap.cpp
index 63ed10ac..8ef225cf 100644
--- a/kaddressbook/common/locationmap.cpp
+++ b/kaddressbook/common/locationmap.cpp
@@ -23,7 +23,6 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
-#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
@@ -78,19 +77,11 @@ TQString LocationMap::createUrl( const TDEABC::Address &addr )
return TQString();
}
-#if TDE_VERSION >= 319
return urlTemplate.replace( "%s", addr.street() ).
replace( "%r", addr.region() ).
replace( "%l", addr.locality() ).
replace( "%z", addr.postalCode() ).
replace( "%c", addr.countryToISO( addr.country() ) );
-#else
- return urlTemplate.replace( "%s", addr.street() ).
- replace( "%r", addr.region() ).
- replace( "%l", addr.locality() ).
- replace( "%z", addr.postalCode() ).
- replace( "%c", "" );
-#endif
}
#include "locationmap.moc"