diff options
Diffstat (limited to 'libkdepim/kaddrbook.cpp')
-rw-r--r-- | libkdepim/kaddrbook.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/kaddrbook.cpp b/libkdepim/kaddrbook.cpp index 3a0c7dc02..1036a263b 100644 --- a/libkdepim/kaddrbook.cpp +++ b/libkdepim/kaddrbook.cpp @@ -32,7 +32,7 @@ #include <unistd.h> //----------------------------------------------------------------------------- -void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *tqparent ) { +void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *parent ) { TQString email; TQString name; @@ -78,12 +78,12 @@ void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *tqparent ) { #else TQString text = email + " " + i18n( "is not in address book" ); #endif - KMessageBox::information( tqparent, text, TQString(), "notInAddressBook" ); + KMessageBox::information( parent, text, TQString(), "notInAddressBook" ); } } //----------------------------------------------------------------------------- -void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *tqparent) { +void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *parent) { TQString email; TQString name; @@ -91,7 +91,7 @@ void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *tqparent) { KABC::AddressBook *ab = KABC::StdAddressBook::self( true ); - ab->setErrorHandler( new KABC::GuiErrorHandler( tqparent ) ); + ab->setErrorHandler( new KABC::GuiErrorHandler( parent ) ); // force a reload of the address book file so that changes that were made // by other programs are loaded @@ -151,12 +151,12 @@ void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *tqparent) { TQString text = i18n("<qt>The email address <b>%1</b> was added to your " "addressbook; you can add more information to this " "entry by opening the addressbook.</qt>").tqarg( addr ); - KMessageBox::information( tqparent, text, TQString(), "addedtokabc" ); + KMessageBox::information( parent, text, TQString(), "addedtokabc" ); } } else { TQString text = i18n("<qt>The email address <b>%1</b> is already in your " "addressbook.</qt>").tqarg( addr ); - KMessageBox::information( tqparent, text, TQString(), + KMessageBox::information( parent, text, TQString(), "alreadyInAddressBook" ); } ab->setErrorHandler( 0 ); @@ -173,12 +173,12 @@ void KAddrBookExternal::addNewAddressee( TQWidget* ) call.send("newContact()"); } -bool KAddrBookExternal::addVCard( const KABC::Addressee& addressee, TQWidget *tqparent ) +bool KAddrBookExternal::addVCard( const KABC::Addressee& addressee, TQWidget *parent ) { KABC::AddressBook *ab = KABC::StdAddressBook::self( true ); bool inserted = false; - ab->setErrorHandler( new KABC::GuiErrorHandler( tqparent ) ); + ab->setErrorHandler( new KABC::GuiErrorHandler( parent ) ); KABC::Addressee::List addressees = ab->findByEmail( addressee.preferredEmail() ); @@ -188,7 +188,7 @@ bool KAddrBookExternal::addVCard( const KABC::Addressee& addressee, TQWidget *tq TQString text = i18n("The VCard was added to your addressbook; " "you can add more information to this " "entry by opening the addressbook."); - KMessageBox::information( tqparent, text, TQString(), "addedtokabc" ); + KMessageBox::information( parent, text, TQString(), "addedtokabc" ); inserted = true; } } else { @@ -196,7 +196,7 @@ bool KAddrBookExternal::addVCard( const KABC::Addressee& addressee, TQWidget *tq "your addressbook; however, you may save the VCard " "into a file and import it into the addressbook " "manually."); - KMessageBox::information( tqparent, text ); + KMessageBox::information( parent, text ); inserted = true; } |