summaryrefslogtreecommitdiffstats
path: root/kaddressbook/secrecywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/secrecywidget.cpp')
-rw-r--r--kaddressbook/secrecywidget.cpp14
1 files changed, 7 insertions, 7 deletions
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;