diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/secrecywidget.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kaddressbook/secrecywidget.cpp')
-rw-r--r-- | kaddressbook/secrecywidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/secrecywidget.cpp b/kaddressbook/secrecywidget.cpp index 62360196c..ae2b9c498 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; |