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