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 --- kaddressbook/printing/stylepage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kaddressbook/printing/stylepage.cpp') diff --git a/kaddressbook/printing/stylepage.cpp b/kaddressbook/printing/stylepage.cpp index 0b67897d2..0df149315 100644 --- a/kaddressbook/printing/stylepage.cpp +++ b/kaddressbook/printing/stylepage.cpp @@ -34,7 +34,7 @@ #include "stylepage.h" -StylePage::StylePage( KABC::AddressBook *ab, TQWidget* parent, const char* name ) +StylePage::StylePage( TDEABC::AddressBook *ab, TQWidget* parent, const char* name ) : TQWidget( parent, name ), mAddressBook( ab ) { initGUI(); @@ -69,7 +69,7 @@ void StylePage::clearStyleNames() mStyleCombo->clear(); } -void StylePage::setSortField( KABC::Field *field ) +void StylePage::setSortField( TDEABC::Field *field ) { mFieldCombo->setCurrentText( field->label() ); } @@ -82,7 +82,7 @@ void StylePage::setSortAscending( bool value ) mSortTypeCombo->setCurrentItem( 1 ); } -KABC::Field* StylePage::sortField() +TDEABC::Field* StylePage::sortField() { if ( mFieldCombo->currentItem() == -1 ) return mFields[ 0 ]; @@ -102,8 +102,8 @@ void StylePage::initFieldCombo() mFieldCombo->clear(); - mFields = mAddressBook->fields( KABC::Field::All ); - KABC::Field::List::ConstIterator it; + mFields = mAddressBook->fields( TDEABC::Field::All ); + TDEABC::Field::List::ConstIterator it; for ( it = mFields.begin(); it != mFields.end(); ++it ) mFieldCombo->insertItem( (*it)->label() ); } -- cgit v1.2.1