diff options
Diffstat (limited to 'kabc/frontend/mainWindow.ui.h')
-rw-r--r-- | kabc/frontend/mainWindow.ui.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kabc/frontend/mainWindow.ui.h b/kabc/frontend/mainWindow.ui.h index 1a88f1deb..8e678b932 100644 --- a/kabc/frontend/mainWindow.ui.h +++ b/kabc/frontend/mainWindow.ui.h @@ -15,7 +15,7 @@ #include <tdeabc/stdaddressbook.h> -using namespace KABC; +using namespace TDEABC; class AddresseeItem : public TQListViewItem { @@ -32,7 +32,7 @@ class AddresseeItem : public TQListViewItem void MainWindow::init() { - mAddressBook = KABC::StdAddressBook::self( true ); + mAddressBook = TDEABC::StdAddressBook::self( true ); mCurrentItem = 0; @@ -75,7 +75,7 @@ void MainWindow::loadAddressBook( const TQString &fileName ) mCurrentAddress = TQString(); readAddressee( Addressee() ); - KABC::AddressBook::Iterator it; + TDEABC::AddressBook::Iterator it; for( it = mAddressBook->begin(); it != mAddressBook->end(); ++it ) { new AddresseeItem( mAddresseeList, (*it) ); } @@ -101,7 +101,7 @@ void MainWindow::updateAddressee( TQListViewItem *item ) } -void MainWindow::readAddressee( const KABC::Addressee &a ) +void MainWindow::readAddressee( const TDEABC::Addressee &a ) { kdDebug() << "MainWindow::readAddressee(): " << a.name() << endl; @@ -169,7 +169,7 @@ void MainWindow::readAddressee( const KABC::Addressee &a ) readPhone( mCurrentPhone ); } -KABC::Addressee MainWindow::writeAddressee( const KABC::Addressee &addressee ) +TDEABC::Addressee MainWindow::writeAddressee( const TDEABC::Addressee &addressee ) { Addressee a( addressee ); a.setName( mNameEdit->text() ); @@ -237,7 +237,7 @@ void MainWindow::updateAddress( int id ) readAddress( mCurrentAddress ); } -KABC::Address MainWindow::writeAddress( const KABC::Address &address ) +TDEABC::Address MainWindow::writeAddress( const TDEABC::Address &address ) { Address a( address ); @@ -276,7 +276,7 @@ void MainWindow::writeAddress( const TQString &id ) mCurrentItem->addressee().insertAddress( address ); } -void MainWindow::readAddress( const KABC::Address &a ) +void MainWindow::readAddress( const TDEABC::Address &a ) { mAddressPostOfficeBoxEdit->setText( a.postOfficeBox() ); mAddressExtendedEdit->setText( a.extended() ); @@ -328,7 +328,7 @@ void MainWindow::updatePhone( int id ) readPhone( mCurrentPhone ); } -KABC::PhoneNumber MainWindow::writePhone( const KABC::PhoneNumber &phoneNumber ) +TDEABC::PhoneNumber MainWindow::writePhone( const TDEABC::PhoneNumber &phoneNumber ) { PhoneNumber p( phoneNumber ); @@ -367,7 +367,7 @@ void MainWindow::writePhone( const TQString &id ) mCurrentItem->addressee().insertPhoneNumber( p ); } -void MainWindow::readPhone( const KABC::PhoneNumber &p ) +void MainWindow::readPhone( const TDEABC::PhoneNumber &p ) { mPhoneNumberEdit->setText( p.number() ); |