diff options
Diffstat (limited to 'kuser/editDefaults.cpp')
-rw-r--r-- | kuser/editDefaults.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kuser/editDefaults.cpp b/kuser/editDefaults.cpp index 7b77f4f..b030c2b 100644 --- a/kuser/editDefaults.cpp +++ b/kuser/editDefaults.cpp @@ -58,17 +58,17 @@ editDefaults::editDefaults( TDEConfigSkeleton *config, TQWidget *parent, const c KTabWidget *page3 = new KTabWidget( this ); page3->setMargin( KDialog::marginHint() ); ldconf = - new KABC::LdapConfigWidget( - KABC::LdapConfigWidget::W_USER | - KABC::LdapConfigWidget::W_PASS | - KABC::LdapConfigWidget::W_BINDDN | - KABC::LdapConfigWidget::W_REALM | - KABC::LdapConfigWidget::W_HOST | - KABC::LdapConfigWidget::W_PORT | - KABC::LdapConfigWidget::W_VER | - KABC::LdapConfigWidget::W_DN | - KABC::LdapConfigWidget::W_SECBOX | - KABC::LdapConfigWidget::W_AUTHBOX, + new TDEABC::LdapConfigWidget( + TDEABC::LdapConfigWidget::W_USER | + TDEABC::LdapConfigWidget::W_PASS | + TDEABC::LdapConfigWidget::W_BINDDN | + TDEABC::LdapConfigWidget::W_REALM | + TDEABC::LdapConfigWidget::W_HOST | + TDEABC::LdapConfigWidget::W_PORT | + TDEABC::LdapConfigWidget::W_VER | + TDEABC::LdapConfigWidget::W_DN | + TDEABC::LdapConfigWidget::W_SECBOX | + TDEABC::LdapConfigWidget::W_AUTHBOX, page3 ); page3->addTab( ldconf, i18n("Connection") ); @@ -83,7 +83,7 @@ editDefaults::editDefaults( TDEConfigSkeleton *config, TQWidget *parent, const c void editDefaults::slotQueryClicked() { - KABC::LDAPUrl _url = ldconf->url(); + TDEABC::LDAPUrl _url = ldconf->url(); mResult.clear(); mCancelled = true; @@ -99,7 +99,7 @@ void editDefaults::slotQueryClicked() attrs.append("sambaSID"); attrs.append("sambaAlgorithmicRidBase"); _url.setAttributes( attrs ); - _url.setScope( KABC::LDAPUrl::One ); + _url.setScope( TDEABC::LDAPUrl::One ); _url.setExtension( "x-dir", "base" ); _url.setFilter( filter ); @@ -137,7 +137,7 @@ void editDefaults::slotQueryClicked() void editDefaults::loadData( TDEIO::Job*, const TQByteArray& d ) { - KABC::LDIF::ParseVal ret; + TDEABC::LDIF::ParseVal ret; if ( d.size() ) { mLdif.setLDIF( d ); @@ -147,7 +147,7 @@ void editDefaults::loadData( TDEIO::Job*, const TQByteArray& d ) do { ret = mLdif.nextItem(); switch ( ret ) { - case KABC::LDIF::Item: + case TDEABC::LDIF::Item: if ( mLdif.attr() == "sambaDomainName" ) mDomain.name = TQString::fromUtf8( mLdif.val(), mLdif.val().size() ); else if ( mLdif.attr() == "sambaSID" ) @@ -155,7 +155,7 @@ void editDefaults::loadData( TDEIO::Job*, const TQByteArray& d ) else if ( mLdif.attr() == "sambaAlgorithmicRidBase" ) mDomain.ridbase = TQString::fromUtf8( mLdif.val(), mLdif.val().size() ).toUInt(); break; - case KABC::LDIF::EndEntry: + case TDEABC::LDIF::EndEntry: mProg->progressBar()->advance( 1 ); if ( !mDomain.name.isEmpty() && !mDomain.sid.isEmpty() ) mResult.push_back( mDomain ); @@ -165,7 +165,7 @@ void editDefaults::loadData( TDEIO::Job*, const TQByteArray& d ) break; } - } while ( ret != KABC::LDIF::MoreData ); + } while ( ret != TDEABC::LDIF::MoreData ); } void editDefaults::loadResult( TDEIO::Job* job) |