summaryrefslogtreecommitdiffstats
path: root/kabc/frontend
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /kabc/frontend
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'kabc/frontend')
-rw-r--r--kabc/frontend/mainWindow.ui16
-rw-r--r--kabc/frontend/mainWindow.ui.h18
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 &amp; fileName )</slot>
<slot>updateAddressee( TQListViewItem * item )</slot>
- <slot>readAddressee( const KABC::Addressee &amp; a )</slot>
- <slot returnType="KABC::Addressee">writeAddressee( const KABC::Addressee &amp; addressee )</slot>
+ <slot>readAddressee( const TDEABC::Addressee &amp; a )</slot>
+ <slot returnType="TDEABC::Addressee">writeAddressee( const TDEABC::Addressee &amp; addressee )</slot>
<slot>newEntry()</slot>
<slot>removeEntry()</slot>
<slot>updateAddress( int id )</slot>
- <slot returnType="KABC::Address">writeAddress( const KABC::Address &amp; address )</slot>
+ <slot returnType="TDEABC::Address">writeAddress( const TDEABC::Address &amp; address )</slot>
<slot>writeAddress( const TQString &amp; id )</slot>
- <slot>readAddress( const KABC::Address &amp; a )</slot>
+ <slot>readAddress( const TDEABC::Address &amp; a )</slot>
<slot>readAddress( const TQString &amp; id )</slot>
<slot>updatePhone( int id )</slot>
- <slot returnType="KABC::PhoneNumber">writePhone( const KABC::PhoneNumber &amp; phoneNumber )</slot>
+ <slot returnType="TDEABC::PhoneNumber">writePhone( const TDEABC::PhoneNumber &amp; phoneNumber )</slot>
<slot>writePhone( const TQString &amp; id )</slot>
- <slot>readPhone( const KABC::PhoneNumber &amp; p )</slot>
+ <slot>readPhone( const TDEABC::PhoneNumber &amp; p )</slot>
<slot>readPhone( const TQString &amp; 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() );