summaryrefslogtreecommitdiffstats
path: root/kuser/kuserfiles.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/kuserfiles.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/kuserfiles.cpp')
-rw-r--r--kuser/kuserfiles.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kuser/kuserfiles.cpp b/kuser/kuserfiles.cpp
index f76c2ac..868f100 100644
--- a/kuser/kuserfiles.cpp
+++ b/kuser/kuserfiles.cpp
@@ -286,8 +286,8 @@ bool KUserFiles::loadsdw()
// Save password file
#define escstr(a,b) tmp2 = user->a(); \
- tmp2.tqreplace(':',"_"); \
- tmp2.tqreplace(',',"_"); \
+ tmp2.replace(':',"_"); \
+ tmp2.replace(',',"_"); \
user->b( tmp2 );
@@ -364,12 +364,12 @@ bool KUserFiles::savepwd()
addok = true;
if ( user == 0 ) break;
};
- if ( mDel.tqcontainsRef( user ) ) {
+ if ( mDel.containsRef( user ) ) {
++it;
user = (*it);
continue;
}
- if ( mMod.tqcontains( user ) ) user = &( mMod[ user ] );
+ if ( mMod.contains( user ) ) user = &( mMod[ user ] );
tmp_uid = user->getUID();
if ( caps & Cap_Shadow )
@@ -542,12 +542,12 @@ bool KUserFiles::savesdw()
if ( up == 0 ) break;
};
- if ( mDel.tqcontainsRef( up ) ) {
+ if ( mDel.containsRef( up ) ) {
++it;
up = (*it);
continue;
}
- if ( mMod.tqcontains( up ) ) up = &( mMod[ up ] );
+ if ( mMod.contains( up ) ) up = &( mMod[ up ] );
strncpy( s.sp_namp, up->getName().local8Bit(), 200 );
if ( up->getDisabled() )