summaryrefslogtreecommitdiffstats
path: root/kuser/kgroupfiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/kgroupfiles.cpp')
-rw-r--r--kuser/kgroupfiles.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kuser/kgroupfiles.cpp b/kuser/kgroupfiles.cpp
index 1dacda2..4534ac5 100644
--- a/kuser/kgroupfiles.cpp
+++ b/kuser/kgroupfiles.cpp
@@ -271,12 +271,12 @@ bool KGroupFiles::save()
if ( gr == 0 ) break;
};
- if ( mDel.tqcontainsRef( gr ) ) {
+ if ( mDel.containsRef( gr ) ) {
++it;
gr = (*it);
continue;
}
- if ( mMod.tqcontains( gr ) ) gr = &( mMod[ gr ] );
+ if ( mMod.contains( gr ) ) gr = &( mMod[ gr ] );
#ifdef HAVE_SHADOW
if ( addok && !mCfg->gshadowsrc().isEmpty() )
@@ -284,8 +284,8 @@ bool KGroupFiles::save()
#endif
tmpGe = gr->getName();
- tmpGe.tqreplace( ',', "_" );
- tmpGe.tqreplace( ':', "_" );
+ tmpGe.replace( ',', "_" );
+ tmpGe.replace( ':', "_" );
gr->setName( tmpGe );
tmp_gid = gr->getGID();
@@ -298,8 +298,8 @@ bool KGroupFiles::save()
tmpGe += ',';
tmpSe += ',';
}
- gr->user( j ).tqreplace( ',', "_" );
- gr->user( j ).tqreplace( ':', "_" );
+ gr->user( j ).replace( ',', "_" );
+ gr->user( j ).replace( ':', "_" );
tmpGe += gr->user( j) ;
tmpSe += gr->user( j );
}