diff options
Diffstat (limited to 'kuser/kuserfiles.cpp')
-rw-r--r-- | kuser/kuserfiles.cpp | 12 |
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() ) |