From 94273bcb909fac42ef9427e3d8a614cab8c29c66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Feb 2013 16:27:27 -0600 Subject: Rename KABC namespace --- kontact/plugins/kmail/kmail_plugin.cpp | 4 ++-- kontact/plugins/korganizer/korganizerplugin.cpp | 4 ++-- kontact/plugins/korganizer/todoplugin.cpp | 4 ++-- kontact/plugins/specialdates/sdsummarywidget.cpp | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kontact/plugins') diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp index 1fa5fc9f..faf9f5f1 100644 --- a/kontact/plugins/kmail/kmail_plugin.cpp +++ b/kontact/plugins/kmail/kmail_plugin.cpp @@ -84,7 +84,7 @@ void KMailPlugin::processDropEvent( TQDropEvent * de ) { kdDebug() << k_funcinfo << endl; CalendarLocal cal( TQString::fromLatin1("UTC") ); - KABC::Addressee::List list; + TDEABC::Addressee::List list; if ( VCalDrag::decode( de, &cal ) || ICalDrag::decode( de, &cal ) ) { KTempFile tmp( locateLocal( "tmp", "incidences-" ), ".ics" ); @@ -92,7 +92,7 @@ void KMailPlugin::processDropEvent( TQDropEvent * de ) openComposer( KURL::fromPathOrURL( tmp.name() ) ); } else if ( KVCardDrag::decode( de, list ) ) { - KABC::Addressee::List::Iterator it; + TDEABC::Addressee::List::Iterator it; TQStringList to; for ( it = list.begin(); it != list.end(); ++it ) { to.append( ( *it ).fullEmail() ); diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp index 8628f412..b25016aa 100644 --- a/kontact/plugins/korganizer/korganizerplugin.cpp +++ b/kontact/plugins/korganizer/korganizerplugin.cpp @@ -169,10 +169,10 @@ bool KOrganizerPlugin::canDecodeDrag( TQMimeSource *mimeSource ) void KOrganizerPlugin::processDropEvent( TQDropEvent *event ) { - KABC::Addressee::List list; + TDEABC::Addressee::List list; if ( KVCardDrag::decode( event, list ) ) { TQStringList attendees; - KABC::Addressee::List::Iterator it; + TDEABC::Addressee::List::Iterator it; for ( it = list.begin(); it != list.end(); ++it ) { TQString email = (*it).fullEmail(); if ( email.isEmpty() ) { diff --git a/kontact/plugins/korganizer/todoplugin.cpp b/kontact/plugins/korganizer/todoplugin.cpp index b12772c6..885c835a 100644 --- a/kontact/plugins/korganizer/todoplugin.cpp +++ b/kontact/plugins/korganizer/todoplugin.cpp @@ -161,10 +161,10 @@ bool TodoPlugin::isRunningStandalone() void TodoPlugin::processDropEvent( TQDropEvent *event ) { - KABC::Addressee::List list; + TDEABC::Addressee::List list; if ( KVCardDrag::decode( event, list ) ) { TQStringList attendees; - KABC::Addressee::List::Iterator it; + TDEABC::Addressee::List::Iterator it; for ( it = list.begin(); it != list.end(); ++it ) { TQString email = (*it).fullEmail(); if ( email.isEmpty() ) { diff --git a/kontact/plugins/specialdates/sdsummarywidget.cpp b/kontact/plugins/specialdates/sdsummarywidget.cpp index 8918f8c1..376389f9 100644 --- a/kontact/plugins/specialdates/sdsummarywidget.cpp +++ b/kontact/plugins/specialdates/sdsummarywidget.cpp @@ -69,7 +69,7 @@ class SDEntry TQString summary; TQString desc; int span; // #days in the special occassion. - KABC::Addressee addressee; + TDEABC::Addressee addressee; bool operator<( const SDEntry &entry ) const { @@ -94,7 +94,7 @@ SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, mLayout->setRowStretch( 6, 1 ); // Setup the Addressbook - KABC::StdAddressBook *ab = KABC::StdAddressBook::self( true ); + TDEABC::StdAddressBook *ab = TDEABC::StdAddressBook::self( true ); connect( ab, TQT_SIGNAL( addressBookChanged( AddressBook* ) ), this, TQT_SLOT( updateView() ) ); connect( mPlugin->core(), TQT_SIGNAL( dayChanged( const TQDate& ) ), @@ -221,7 +221,7 @@ void SDSummaryWidget::updateView() TDEIconLoader loader( "tdepim" ); - KABC::StdAddressBook *ab = KABC::StdAddressBook::self( true ); + TDEABC::StdAddressBook *ab = TDEABC::StdAddressBook::self( true ); TQValueList dates; TQLabel *label = 0; @@ -231,7 +231,7 @@ void SDSummaryWidget::updateView() dateFormat().replace( 'Y', ' ' ) ); // Search for Birthdays and Anniversaries in the Addressbook - KABC::AddressBook::Iterator it; + TDEABC::AddressBook::Iterator it; for ( it = ab->begin(); it != ab->end(); ++it ) { TQDate birthday = (*it).birthday().date(); if ( birthday.isValid() && mShowBirthdaysFromKAB ) { @@ -391,7 +391,7 @@ void SDSummaryWidget::updateView() // Pixmap TQImage icon_img; TQString icon_name; - KABC::Picture pic; + TDEABC::Picture pic; switch( (*addrIt).category ) { case CategoryBirthday: icon_name = "calendarbirthday"; @@ -555,7 +555,7 @@ void SDSummaryWidget::updateView() void SDSummaryWidget::mailContact( const TQString &uid ) { - KABC::StdAddressBook *ab = KABC::StdAddressBook::self( true ); + TDEABC::StdAddressBook *ab = TDEABC::StdAddressBook::self( true ); TQString email = ab->findByUid( uid ).fullEmail(); kapp->invokeMailer( email, TQString() ); -- cgit v1.2.3