summaryrefslogtreecommitdiffstats
path: root/kabc/kabc2mutt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kabc/kabc2mutt
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/kabc2mutt')
-rw-r--r--kabc/kabc2mutt/kabc2mutt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kabc/kabc2mutt/kabc2mutt.cpp b/kabc/kabc2mutt/kabc2mutt.cpp
index 96cf79232..b86521dd5 100644
--- a/kabc/kabc2mutt/kabc2mutt.cpp
+++ b/kabc/kabc2mutt/kabc2mutt.cpp
@@ -86,9 +86,9 @@ void KABC2Mutt::loadingFinished()
else
if ( !(*iaddr).familyName().isEmpty() )
key = (*iaddr).givenName().left( 1 ).lower() +
- (*iaddr).familyName().lower().replace( space, underscore );
+ (*iaddr).familyName().lower().tqreplace( space, underscore );
else
- key = (*iaddr).givenName().lower().replace( space, underscore );
+ key = (*iaddr).givenName().lower().tqreplace( space, underscore );
while ( from != to ) {
std::cout << "alias " << key;
@@ -101,7 +101,7 @@ void KABC2Mutt::loadingFinished()
if ( !(*iaddr).nickName().isEmpty() ) {
std::cout << "alias "
- << (*iaddr).nickName().lower().replace( space, underscore )
+ << (*iaddr).nickName().lower().tqreplace( space, underscore )
<< '\t' << name << " <"
<< (*iaddr).preferredEmail() << '>' << std::endl;
}
@@ -140,7 +140,7 @@ void KABC2Mutt::loadingFinished()
continue;
if ( mFormat == Aliases ) {
- std::cout << "alias " << (*iaddr).replace( TQRegExp( " " ), "_" )
+ std::cout << "alias " << (*iaddr).tqreplace( TQRegExp( " " ), "_" )
<< '\t' << emails.join( "," ) << std::endl;
} else {
std::cout << emails.join( "," ) << '\t' << (*iaddr) << '\t' << std::endl;