diff options
Diffstat (limited to 'kabc/frontend')
-rw-r--r-- | kabc/frontend/mainWindow.ui | 16 | ||||
-rw-r--r-- | kabc/frontend/mainWindow.ui.h | 18 |
2 files changed, 17 insertions, 17 deletions
diff --git a/kabc/frontend/mainWindow.ui b/kabc/frontend/mainWindow.ui index 1ca19b2ca..240114a6a 100644 --- a/kabc/frontend/mainWindow.ui +++ b/kabc/frontend/mainWindow.ui @@ -1359,9 +1359,9 @@ <forward>class AddresseeItem</forward> </forwards> <variables> - <variable>KABC::ResourceFile *mResourceFile</variable> + <variable>TDEABC::ResourceFile *mResourceFile</variable> <variable>AddresseeItem *mCurrentItem</variable> - <variable>KABC::AddressBook *mAddressBook</variable> + <variable>TDEABC::AddressBook *mAddressBook</variable> <variable>TQString mCurrentAddress</variable> <variable>TQString mCurrentPhone</variable> </variables> @@ -1372,19 +1372,19 @@ <slot>fileOpen()</slot> <slot>loadAddressBook( const TQString & fileName )</slot> <slot>updateAddressee( TQListViewItem * item )</slot> - <slot>readAddressee( const KABC::Addressee & a )</slot> - <slot returnType="KABC::Addressee">writeAddressee( const KABC::Addressee & addressee )</slot> + <slot>readAddressee( const TDEABC::Addressee & a )</slot> + <slot returnType="TDEABC::Addressee">writeAddressee( const TDEABC::Addressee & addressee )</slot> <slot>newEntry()</slot> <slot>removeEntry()</slot> <slot>updateAddress( int id )</slot> - <slot returnType="KABC::Address">writeAddress( const KABC::Address & address )</slot> + <slot returnType="TDEABC::Address">writeAddress( const TDEABC::Address & address )</slot> <slot>writeAddress( const TQString & id )</slot> - <slot>readAddress( const KABC::Address & a )</slot> + <slot>readAddress( const TDEABC::Address & a )</slot> <slot>readAddress( const TQString & id )</slot> <slot>updatePhone( int id )</slot> - <slot returnType="KABC::PhoneNumber">writePhone( const KABC::PhoneNumber & phoneNumber )</slot> + <slot returnType="TDEABC::PhoneNumber">writePhone( const TDEABC::PhoneNumber & phoneNumber )</slot> <slot>writePhone( const TQString & id )</slot> - <slot>readPhone( const KABC::PhoneNumber & p )</slot> + <slot>readPhone( const TDEABC::PhoneNumber & p )</slot> <slot>readPhone( const TQString & id )</slot> <slot>newAddress()</slot> <slot>removeAddress()</slot> 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() ); |