void LDAPCompletionItem::save( CompletionOrderEditor* ) { KConfig *config = LdapSearch::config(); KConfigGroup group( config, "LDAP" ); group.writeEntry( QString( "SelectedCompletionWeight%1" ).arg( mLdapClient->clientNumber() ), mWeight ); group.sync(); }
void LDAPCompletionItem::save(CompletionOrderEditor *) { KConfig config("kabldaprc"); config.setGroup("LDAP"); config.writeEntry(QString("SelectedCompletionWeight%1").arg(mLdapClient->clientNumber()), mWeight); config.sync(); }