summaryrefslogtreecommitdiffstats
path: root/kgpg/listkeys.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:59 -0600
commit82be30e1721d153b0592f2f01b421a9bc6999233 (patch)
tree0e094bfe9fc3aa8db70fb0d9bddc80b5fc0ad474 /kgpg/listkeys.cpp
parent09024f6a7414aceb3fced1e94c97b1a3db7137d2 (diff)
downloadtdeutils-82be30e1721d153b0592f2f01b421a9bc6999233.tar.gz
tdeutils-82be30e1721d153b0592f2f01b421a9bc6999233.zip
Rename KABC namespace
Diffstat (limited to 'kgpg/listkeys.cpp')
-rw-r--r--kgpg/listkeys.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kgpg/listkeys.cpp b/kgpg/listkeys.cpp
index f42e6b7..f7af318 100644
--- a/kgpg/listkeys.cpp
+++ b/kgpg/listkeys.cpp
@@ -1119,18 +1119,18 @@ void listKeys::findNextKey()
void listKeys::addToKAB()
{
- KABC::Key key;
+ TDEABC::Key key;
if (!keysList2->currentItem()) return;
//TQString email=extractKeyMail(keysList2->currentItem()).stripWhiteSpace();
TQString email=keysList2->currentItem()->text(1);
- KABC::AddressBook *ab = KABC::StdAddressBook::self();
+ TDEABC::AddressBook *ab = TDEABC::StdAddressBook::self();
if ( !ab->load() ) {
KMessageBox::sorry(this,i18n("Unable to contact the address book. Please check your installation."));
return;
}
- KABC::Addressee::List addresseeList = ab->findByEmail(email);
+ TDEABC::Addressee::List addresseeList = ab->findByEmail(email);
kapp->startServiceByDesktopName( "kaddressbook" );
DCOPRef call( "kaddressbook", "KAddressBookIface" );
if( !addresseeList.isEmpty() ) {
@@ -1144,12 +1144,12 @@ void listKeys::addToKAB()
/*
void listKeys::allToKAB()
{
- KABC::Key key;
+ TDEABC::Key key;
TQString email;
TQStringList keylist;
- KABC::Addressee a;
+ TDEABC::Addressee a;
- KABC::AddressBook *ab = KABC::StdAddressBook::self();
+ TDEABC::AddressBook *ab = TDEABC::StdAddressBook::self();
if ( !ab->load() ) {
KMessageBox::sorry(this,i18n("Unable to contact the address book. Please check your installation."));
return;
@@ -1159,7 +1159,7 @@ void listKeys::allToKAB()
while( myChild ) {
//email=extractKeyMail(myChild).stripWhiteSpace();
email=myChild->text(1);
- KABC::Addressee::List addressees = ab->findByEmail( email );
+ TDEABC::Addressee::List addressees = ab->findByEmail( email );
if (addressees.count()==1) {
a=addressees.first();
KgpgInterface *ks=new KgpgInterface();
@@ -1171,7 +1171,7 @@ void listKeys::allToKAB()
// doSomething( myChild );
myChild = myChild->nextSibling();
}
- KABC::StdAddressBook::save();
+ TDEABC::StdAddressBook::save();
if (!keylist.isEmpty())
KMessageBox::informationList(this,i18n("The following keys were exported to the address book:"),keylist);
else