diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kontact/plugins | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kontact/plugins')
-rw-r--r-- | kontact/plugins/kmail/kmail_plugin.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/korganizer/todoplugin.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/specialdates/sdsummarywidget.cpp | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp index 1fa5fc9fc..faf9f5f1c 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 8628f4128..b25016aa0 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 b12772c61..885c835a0 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 8918f8c1a..376389f9c 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<SDEntry> 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() ); |