summaryrefslogtreecommitdiffstats
path: root/kuser/kgroupldap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (patch)
tree8a1d1e893a80df8ad5233802c2b0e39220b86168 /kuser/kgroupldap.cpp
parent441266d591a9064dd619da0e1bd49b871d6a9c70 (diff)
downloadtdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.tar.gz
tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuser/kgroupldap.cpp')
-rw-r--r--kuser/kgroupldap.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kuser/kgroupldap.cpp b/kuser/kgroupldap.cpp
index d99475d..2f66b27 100644
--- a/kuser/kgroupldap.cpp
+++ b/kuser/kgroupldap.cpp
@@ -281,39 +281,39 @@ void KGroupLDAP::modData( KU::KGroup *group )
ldif += "dn: " + newrdn.utf8() + "," + mUrl.dn().utf8() + "\n" +
"changetype: modify\n" +
- "tqreplace: objectclass\n" +
+ "replace: objectclass\n" +
"objectclass: posixgroup\n";
if ( ( getCaps() & Cap_Samba ) && ( group->getCaps() & KU::KGroup::Cap_Samba ) ) {
ldif += "objectclass: sambagroupmapping\n";
}
ldif +=
- "-\ntqreplace: cn\n" +
+ "-\nreplace: cn\n" +
KABC::LDIF::assembleLine( "cn", group->getName() ) +
- "\n-\ntqreplace: gidnumber\n" +
+ "\n-\nreplace: gidnumber\n" +
KABC::LDIF::assembleLine( "gidnumber", TQString::number(group->getGID()) ) +
- "\n-\ntqreplace: userpassword\n" +
+ "\n-\nreplace: userpassword\n" +
KABC::LDIF::assembleLine( "userpassword", group->getPwd() ) +
- "\n-\ntqreplace: memberuid\n";
+ "\n-\nreplace: memberuid\n";
for ( uint i=0; i < group->count(); i++ ) {
ldif += KABC::LDIF::assembleLine( "memberuid", group->user(i)) + "\n";
}
if ( getCaps() & Cap_Samba ) {
if ( group->getCaps() & KU::KGroup::Cap_Samba ) {
ldif +=
- "-\ntqreplace: sambasid\n" +
+ "-\nreplace: sambasid\n" +
KABC::LDIF::assembleLine( "sambasid", group->getSID().getSID() ) +
- "\n-\ntqreplace: displayname\n" +
+ "\n-\nreplace: displayname\n" +
KABC::LDIF::assembleLine( "displayname", group->getDisplayName() ) +
- "\n-\ntqreplace: description\n" +
+ "\n-\nreplace: description\n" +
KABC::LDIF::assembleLine( "description", group->getDesc() ) +
- "\n-\ntqreplace: sambagrouptype\n" +
+ "\n-\nreplace: sambagrouptype\n" +
KABC::LDIF::assembleLine( "sambagrouptype", TQString::number( group->getType() ) ) + "\n";
} else {
- ldif += "-\ntqreplace: sambasid\n";
- ldif += "-\ntqreplace: displayname\n";
- ldif += "-\ntqreplace: description\n";
- ldif += "-\ntqreplace: sambagrouptype\n";
- ldif += "-\ntqreplace: sambasidlist\n";
+ ldif += "-\nreplace: sambasid\n";
+ ldif += "-\nreplace: displayname\n";
+ ldif += "-\nreplace: description\n";
+ ldif += "-\nreplace: sambagrouptype\n";
+ ldif += "-\nreplace: sambasidlist\n";
}
}