summaryrefslogtreecommitdiffstats
path: root/tdeabc/tdeab2tdeabc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
commit45f3927b0ffec2599bc0e1ce361c5386474a85f4 (patch)
tree29e1842fe4d93f4e99481385a771e8bef061158b /tdeabc/tdeab2tdeabc.cpp
parent04105ef07304a9358e87eff0cb1a6d6f2a725192 (diff)
downloadtdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.tar.gz
tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.zip
Rename KABC namespace
Diffstat (limited to 'tdeabc/tdeab2tdeabc.cpp')
-rw-r--r--tdeabc/tdeab2tdeabc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeabc/tdeab2tdeabc.cpp b/tdeabc/tdeab2tdeabc.cpp
index 13b433abc..20aef735c 100644
--- a/tdeabc/tdeab2tdeabc.cpp
+++ b/tdeabc/tdeab2tdeabc.cpp
@@ -35,7 +35,7 @@
#include "addressbook.h"
#include "stdaddressbook.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
@@ -46,7 +46,7 @@ static const TDECmdLineOptions options[] =
TDECmdLineLastOption
};
-void readKMailEntry( const TQString &kmailEntry, KABC::AddressBook *ab )
+void readKMailEntry( const TQString &kmailEntry, TDEABC::AddressBook *ab )
{
kdDebug() << "KMAILENTRY: " << kmailEntry << endl;
@@ -105,9 +105,9 @@ void readKMailEntry( const TQString &kmailEntry, KABC::AddressBook *ab )
kdDebug() << " NAME : " << name << endl;
kdDebug() << " COMMENT : " << comment << endl;
- KABC::Addressee::List al = ab->findByEmail( email );
+ TDEABC::Addressee::List al = ab->findByEmail( email );
if ( al.isEmpty() ) {
- KABC::Addressee a;
+ TDEABC::Addressee a;
a.setNameFromString( name );
a.insertEmail( email );
a.setNote( comment );
@@ -118,7 +118,7 @@ void readKMailEntry( const TQString &kmailEntry, KABC::AddressBook *ab )
}
}
-void importKMailAddressBook( KABC::AddressBook *ab )
+void importKMailAddressBook( TDEABC::AddressBook *ab )
{
TQString fileName = locateLocal( "data", "kmail/addressbook" );
TQString kmailConfigName = locate( "config", "kmailrc" );
@@ -278,7 +278,7 @@ void readKAddressBookEntries( const TQString &dataString, Addressee &a )
if ( !otherAddress.isEmpty() ) a.insertAddress( otherAddress );
}
-void importKab( KABC::AddressBook *ab, bool override, bool quiet )
+void importKab( TDEABC::AddressBook *ab, bool override, bool quiet )
{
TQString fileName = TDEGlobal::dirs()->saveLocation( "data", "kab/" );
fileName += "addressbook.kab";
@@ -463,7 +463,7 @@ int main( int argc, char **argv )
config->writeEntry( "EnableAutostart", false );
}
- KABC::AddressBook *kabcBook = StdAddressBook::self();
+ TDEABC::AddressBook *kabcBook = StdAddressBook::self();
importKMailAddressBook( kabcBook );