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/secrecywidget.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kaddressbook/secrecywidget.cpp') diff --git a/kaddressbook/secrecywidget.cpp b/kaddressbook/secrecywidget.cpp index 62360196..ae2b9c49 100644 --- a/kaddressbook/secrecywidget.cpp +++ b/kaddressbook/secrecywidget.cpp @@ -37,10 +37,10 @@ SecrecyWidget::SecrecyWidget( TQWidget *parent, const char *name ) mSecrecyCombo = new KComboBox( this ); layout->addWidget( mSecrecyCombo ); - const KABC::Secrecy::TypeList list = KABC::Secrecy::typeList(); - KABC::Secrecy::TypeList::ConstIterator it; + const TDEABC::Secrecy::TypeList list = TDEABC::Secrecy::typeList(); + TDEABC::Secrecy::TypeList::ConstIterator it; for ( it = list.begin(); it != list.end(); ++it ) - mSecrecyCombo->insertItem( KABC::Secrecy::typeLabel( *it ), *it ); + mSecrecyCombo->insertItem( TDEABC::Secrecy::typeLabel( *it ), *it ); connect( mSecrecyCombo, TQT_SIGNAL( activated( const TQString& ) ), TQT_SIGNAL( changed() ) ); @@ -55,15 +55,15 @@ void SecrecyWidget::setReadOnly( bool readOnly ) mSecrecyCombo->setEnabled( !readOnly ); } -void SecrecyWidget::setSecrecy( const KABC::Secrecy &secrecy ) +void SecrecyWidget::setSecrecy( const TDEABC::Secrecy &secrecy ) { - if ( secrecy.type() != KABC::Secrecy::Invalid ) + if ( secrecy.type() != TDEABC::Secrecy::Invalid ) mSecrecyCombo->setCurrentItem( secrecy.type() ); } -KABC::Secrecy SecrecyWidget::secrecy() const +TDEABC::Secrecy SecrecyWidget::secrecy() const { - KABC::Secrecy secrecy; + TDEABC::Secrecy secrecy; secrecy.setType( mSecrecyCombo->currentItem() ); return secrecy; -- cgit v1.2.3